joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52e950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [esi + 0x5f4], 4
je 0x52eb59
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6f5cb8
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x52ea13
lea ecx, [ebp - 0x23c]
call fcn.004ac570
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004ac690
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.004ac680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x52ea48
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
push edi
mov dword [ebp - 0x24], eax
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x24], 0x60
je 0x52ea52
mov byte [ebp - 0x11], 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0x654]
xor edi, edi
mov dword [ebp - 0x1c], eax
cmp edi, 7
jge 0x52eaab
mov al, byte [ebp - 0x11]
mov edx, dword [esi + 0x520]
push 0
push edi
test al, al
push 0x101d
push edx
je 0x52ea9b
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x52ea63
call ebx
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x52ea63
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x654]
push 4
push eax
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.FileName
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x658]
push 4
push ecx
push 4
push 0
push str.FileType
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x65c]
push 4
push eax
push 4
push 0
push str.Size
push ecx
call edi
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x660]
push 4
push edx
push 4
push 0
push 0x6cdbe8
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x664]
push 4
push ecx
push 4
push 0
push 0x6cd490
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x668]
push 4
push eax
push 4
push 0
push 0x6c8cec
push ecx
call edi
mov edx, dword [ebp - 0x18]
add esi, 0x66c
push 4
push esi
push 4
push 0
push str.SaveTo
push edx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5331b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x6f6360]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x5331f1
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x6f6360]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x53321c
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret

Function at 0x533cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x629499
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f175c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6f175c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x10], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x28], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.00496ef0
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x65adb0
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x533cec
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x629499
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f175c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6f175c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x10], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6f175c]
mov dword [esi + 0x28], edx
mov eax, dword [0x6f175c]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6f175c]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.00496ef0
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x65adb0
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x533db0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x629529
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x65adb0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x10], 0xa
call fcn.00496f10
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call fcn.006018cc
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call fcn.006018cc
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call fcn.006018cc
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call fcn.006018cc
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call fcn.006018cc
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.006018cc
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call fcn.006018cc
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.006018cc
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call fcn.006018cc
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call fcn.006018cc
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x534640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.005341a0
mov edx, dword [0x6f6360]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov ebp, 4
push str.nProxyMode
push edx
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x53468f
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x53476e
mov eax, dword [0x6f6360]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5346be
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5346be
mov byte [esi + 8], 1
mov eax, dword [0x6f6360]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpsProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5346ed
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5346ed
mov byte [esi + 0xa], 1
mov eax, dword [0x6f6360]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseFtpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x53471c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53471c
mov byte [esi + 9], 1
mov eax, dword [0x6f6360]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.bUseSocks
push eax
mov dword [esp + 0x24], ebp
call edi
mov al, byte [esi + 8]
test al, al
jne 0x534757
mov al, byte [esi + 9]
test al, al
jne 0x534757
mov al, byte [esi + 0xa]
test al, al
jne 0x534757
mov al, byte [esi + 0xb]
test al, al
je 0x53475e
mov dword [esi + 4], 0x10
mov eax, dword [0x6f6858]
test eax, eax
je 0x53476e
mov dword [esi + 4], 8
test byte [esi + 4], 8
je 0x534798
mov edx, dword [0x6f6854]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x534798
push edx
mov ecx, 0x6f6848
call fcn.004b8440
mov dword [0x6f6858], eax
cmp dword [esi + 4], 2
jne 0x5347d1
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.005341a0
test byte [esi + 0x18], 8
je 0x5347d1
mov esi, dword [esi + 0x20]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5347d1
push esi
mov ecx, 0x6f6848
call fcn.004b8440
mov dword [0x6f6858], eax
pop edi
pop esi
pop ebp
add esp, 8
ret

Function at 0x5349f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6f6360]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x534a58
mov eax, dword [esi + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x534a58
mov ecx, 0x6f6848
call fcn.004b80f0
mov ecx, esi
call fcn.00534640
cmp dword [esi + 4], 2
jne 0x534a58
push 0
push 0
push 0
push 0
push 0
push 0x5348f0
call fcn.00601eca
pop esi
add esp, 8
ret
Function at 0x534b30
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x629628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6f175c]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareDownloadManagerProxyServers_s
push edx
mov dword [esp + 0x2c], esi
call fcn.005fa6fb
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x6f5cb8
push esi
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
cmp edx, esi
mov esi, dword [esp + 0x2c]
je 0x534be9
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push eax
push eax
push 0x6cde04
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005b10e0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov ecx, ebp
call fcn.00534c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x536780
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x536916
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x65b570
push 2
call fcn.005366a0
cmp eax, ebx
je 0x5367fc
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x536815
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x537570
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x5375e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5375bf
mov eax, dword [0x6f6878]
test eax, eax
jne 0x5375c1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x6f6878]
test eax, eax
je 0x53759f
mov dword [edi + 0x24], eax
pop esi
mov dword [0x6f6878], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x6f6878], 0
pop edi
pop ecx
ret

Function at 0x537920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6299b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x65be1c
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x65be18
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.0060ba01
call fcn.0060ba01
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5387f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x629b10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x53884a
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x6c5da8
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x538860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 4]
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x53896b
push 0x6e16d4
lea ecx, [ebp - 0x14]
call fcn.0060193a
mov eax, dword [0x6f175c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 1
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.00580150
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.00601c0a
cmp dword [esi + 0x38], ebx
je 0x5388eb
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00601bce
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x14]
push eax
call fcn.00601bce
cmp dword [esi + 0x3c], ebx
je 0x538909
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00601bce
mov ecx, dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00601bce
mov edx, dword [esi + 0x194]
add esi, 0x194
cmp dword [edx - 8], ebx
je 0x538930
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00601bce
push esi
lea ecx, [ebp - 0x14]
call fcn.00601c0a
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00601bce
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.006018cc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53b050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x629d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
push ebx
mov edx, dword [0x6f6360]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x7e8]
push eax
push ecx
push 0
push 0
mov esi, 0x7d0
push str.Extensions
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x53b0ac
xor eax, eax
jmp 0x53b1aa
mov ebx, dword [esp + 0xfcc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x53b1aa
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x30000000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x7e8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0053af20
mov ebp, eax
test ebp, ebp
jne 0x53b1a8
push 0x3f
push ebx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x53b1a8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30000000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
and ecx, 3
mov dword [esp + 0x14], 0x7d0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x18]
push 0x3f
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x53b1a8
mov ecx, dword [esp + 0x14]
mov byte [eax], 0
lea edx, [esp + 0x7e8]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0053af20
mov ebp, eax
mov eax, ebp
mov ecx, dword [esp + 0xfbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfb8
ret 4
Function at 0x53b1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
mov edx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], esp
cmp ecx, 0x7d0
mov dword [ebp - 4], 0
jb 0x53b228
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e8]
lea ebx, [ebp - 0x7e8]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x25
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x53b2fb
lea edx, [ebp - 0x7e8]
push edx
call fcn.00539610
add esp, 4
mov bl, al
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x53b2c0
push str.UrlUnescapeA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b2b7
push 0x2100000
push 0
lea ecx, [ebp - 0x7e8]
push 0
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x53b2e4
lea edx, [ebp + 8]
push 0x30000000
lea eax, [ebp - 0x7e8]
push edx
lea ecx, [ebp - 0x7e8]
push eax
push ecx
mov dword [ebp + 8], 0x7d0
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test bl, bl
je 0x53b2fb
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.005b3bb0
add esp, 8
lea ecx, [ebp - 0x7e8]
push 0x3f
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x53b32b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x6f6360]
test eax, eax
jne 0x53b371
push 0
push 0x6f6360
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x53b371
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xfb8]
push edx
push eax
push 0
push 0
push str.Extensions
push ecx
mov dword [ebp - 0x18], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x53b3b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xfb8]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.0053af20
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x53b420
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7d4
mov edx, dword [0x6f6360]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.Extensions
push edx
mov dword [esp + 0x1c], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x53b461
xor eax, eax
pop esi
add esp, 0x7d4
ret 4
mov ecx, dword [esp + 0x7dc]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0053af20
pop esi
add esp, 0x7d4
ret 4