joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4499a8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449b53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449b34
mov dl, 1
mov eax, dword [0x411810]
call fcn.004035dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404360
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449b23
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004375cc
test al, al
je 0x449b16
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449b64
lea eax, [ebp - 0x254]
call fcn.00408e50
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x449b16
xor eax, eax
push ebp
push 0x449b0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449b9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x449af8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045c8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449af8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449b16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449a19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415958
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449b5a
lea eax, [ebp - 0x260]
call fcn.00404360
ret

Function at 0x44a488
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x44fbfc]
cmp byte [eax + 0xa5], 0
jne 0x44a4f9
cmp dword [0x44fc14], 0
jne 0x44a4ba
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44a444
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fc14], eax
cmp dword [0x44fc10], 0
jne 0x44a4d5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x44fc10], eax
cmp dword [0x44fc18], 0
jne 0x44a4f9
push esp
push 0
push 0
push 0x44a3e8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x44fc18], eax
pop edx
ret
Function at 0x44a5f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a607
add esp, 0xfffffff0
call fcn.00403958
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b2c0
mov eax, dword [0x44ed78]
cmp word [eax + 2], 0
jne 0x44a62f
mov eax, dword [0x44ed78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bc24
mov eax, dword [0x44ee00]
cmp word [eax + 2], 0
jne 0x44a649
mov eax, dword [0x44ee00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044be1c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411320]
call fcn.004035dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411320]
call fcn.004035dc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d400]
call fcn.0042300c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44a7d0
mov eax, dword [0x44ecbc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004233dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c39c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44ecbc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a6cc
test eax, eax
je 0x44a73e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004087ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a6f4
test eax, eax
je 0x44a752
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004045c8
mov eax, dword [0x44ebe8]
cmp byte [eax], 0
jne 0x44a786
mov eax, ebx
call fcn.0044a8f8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044c578
mov eax, ebx
call fcn.0044ceb8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a7c6
call fcn.004039b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ab6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbfc]
cmp dword [eax + 0x30], 0
je 0x44ac16
cmp dword [ebx + 0x94], 0
jne 0x44ac10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44aafc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ac10
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44abd6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ac10
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004139c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44abe5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b6f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b729
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404450
jmp 0x44b736
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043b4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c754
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c795
mov eax, esi
call fcn.00432e90
test al, al
je 0x44c795
mov eax, dword [ebx + 0x84]
call fcn.00432b8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c795
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432b8c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0044d0cc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404810
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44d3ae
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x44ed8c]
mov dl, 1
mov eax, dword [0x44cff0]
call fcn.00409dd8
call fcn.00403dc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44d5c4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404800
xor eax, eax
push ebp
push 0x44d670
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x44d050]
call fcn.0044d0fc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44d653
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0044d19c
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.0044d19c
xor ecx, ecx
mov edx, 0x44d684
mov eax, dword [ebp - 8]
call fcn.0044d200
test al, al
je 0x44d63d
mov ecx, dword [ebp - 4]
mov edx, 0x44d6bc
mov eax, dword [ebp - 8]
call fcn.0044d324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d65a
mov eax, dword [ebp - 8]
call fcn.0040360c
ret
Function at 0x4013e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4013f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401434
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401430
lea ebx, [ebx]
cmp esi, eax
jae 0x401434
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401420
cmp esi, eax
jb 0x40143a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4018f0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
jmp fcn.004a5bd0
Function at 0x403280
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebp
push esi
push 0
push 0
push str.TEMP
call ebx
mov esi, eax
xor ebp, ebp
test esi, esi
jne 0x4032a9
mov ecx, edi
call fcn.00402370
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x4032c7
push esi
mov ecx, edi
call fcn.004015b0
mov eax, dword [edi]
push esi
push eax
push str.TEMP
call ebx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x4032ec
push eax
mov ecx, edi
call fcn.004016d0
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push ecx
push eax
call fcn.00477fc0
add esp, 8
push eax
mov ecx, edi
call fcn.004016d0
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x416410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
movzx eax, word [esp + 0x1c]
push 0x4cc8f8
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, dword [esp + 0x18]
mov dword [edi + 0x30], eax
test eax, eax
je 0x4164d7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [edi + 0x30]
push ecx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4164d7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4164d7
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416494
test ebp, ebp
je 0x416494
push ebx
push eax
push ebp
call fcn.00485650
add esp, 0xc
test edi, edi
je 0x4164d7
lea edx, [esp + 0x10]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x34], eax
test eax, eax
jne 0x4164d0
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00417a90
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x18]
pop edi
xor eax, eax
cmp dword [ecx + 4], eax
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret 8
Function at 0x41d650
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad858
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4dc8d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41d6a8
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x50], 0
jne 0x41d6a8
push pe_nt_image_headers32
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.0042f900
test eax, eax
je 0x41d6a8
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x50], 0
jne 0x41d6ca
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41d72d
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00401950
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041c940
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x421a90
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x421ac0
push 0x45d
push 0x4b67f0
call fcn.0042f900
test eax, eax
je 0x421ac0
int3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x50], 0
jne 0x421b06
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d110
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00403310
jmp 0x421b20
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
mov esp, ebp
pop ebp
ret 4
Function at 0x421b30
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x421b60
push 0x472
push 0x4b67f0
call fcn.0042f900
test eax, eax
je 0x421b60
int3
push 0x4cc09c
mov ecx, dword [ebp + 0xc]
call fcn.00403420
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
jne 0x421bc7
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x421bc5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041d110
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00403310
jmp 0x421be8
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0041d200
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x421be8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00421a90
mov ecx, dword [ebp + 0xc]
call fcn.004025e0
mov esp, ebp
pop ebp
ret 8

Function at 0x428010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x428095
call fcn.0042d090
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x428095
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42806e
xor eax, eax
jmp 0x4280c6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x428095
push 0x1047
push 0x4b67f0
call fcn.0042f900
test eax, eax
je 0x428095
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004280d0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4280c3
cmp dword [ebp - 0xc], 0
je 0x4280c3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0045ff50
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x436afb
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab89e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x244
mov eax, dword [0x4dc8d0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402320
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x436a1d
call fcn.00438660
cmp eax, 1
jne 0x436a1d
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x238]
push edx
call fcn.00436c10
add esp, 0xc
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.004018a0
mov dword [ebp + 8], SysReAllocString
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401950
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x436b3d
push 0x104
lea ecx, [ebp - 0x230]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x436b0b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x240]
call fcn.004161e0
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00436970
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
setne cl
mov byte [ebp - 0x239], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.004018a0
movzx edx, byte [ebp - 0x239]
test edx, edx
je 0x436ad4
mov byte [ebp - 4], 0
jmp 0x436b0b
jmp 0x436afb
mov dword [ebp - 4], 0
jmp 0x436b06
jmp 0x436a41
cmp dword [ebp - 0x1c], 0x103
je 0x436b1d
cmp dword [ebp - 0x1c], 0x3f2
jne 0x436b33
lea ecx, [ebp - 0x14]
call fcn.00401950
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00477740
mov esp, ebp
pop ebp
ret 8
Function at 0x441620
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac988
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4dc8d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042ac90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetSession.0
mov ecx, dword [ebp + 0x1c]
and ecx, 0x10000000
je 0x44167f
push 0x1c2
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0042f900
test eax, eax
je 0x44167f
int3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
cmp dword [ebp + 8], 0
jne 0x4416aa
call fcn.0042d0f0
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4416e3
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.004438a0
jmp 0x4416f8
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x4e0150
call fcn.00441720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18