joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a8d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1022ea18], 0
mov dword [0x1022ea1c], 0
mov dword [0x1022ea28], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1000aa33
jmp 0x1000a921
jmp 0x1000aa33
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1000a932
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov dword [0x1022ea10], 0x1e8a
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1022ea18], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1022ea1c], edx
mov dword [0x1022ea10], 0x40c5
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1022ea20], cl
mov dword [0x1022ea14], 0x471
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1022ea20]
mov edx, dword [0x1022ea1c]
mov byte [ebx + edx], cl
mov edx, dword [0x1022ea18]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1022ea1c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1022ea28], ecx
mov dword [0x1022ea10], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x1022ea14], 0xbad
mov dword [0x1022ea10], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x1000a91c
mov eax, dword [0x1022ea18]
mov ecx, dword [0x1022ea1c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x1000a932
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000aa40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1022ea10], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10009390
lea ecx, [0x10009100]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], 0x139600
mov edx, dword [0x1022e9fc]
mov dword [esp + 0x90], edx
mov edx, dword [0x1022ea00]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1022ea04]
mov dword [esp + 0x48], edx
mov edx, dword [0x1022ea08]
mov dword [esp + 0x70], edx
mov edx, dword [0x1022ea0c]
mov dword [esp + 0x40], edx
mov dword [0x1022ea10], 0x212d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1000aad1
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1000aaf8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
je 0x1000ab0c
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1000aad1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [0x1022ea14], 0x1fcc
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x88], eax
call fcn.1000a3d0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1000aac9
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10009ce0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1022ea10], 0x1ed4
mov dword [esp + 0x18], eax
jmp 0x1000aac9
Function at 0x444fa4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45f344]
cmp byte [eax + 0xc], 0
je 0x445111
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44510a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460b90], 0
jne 0x444ff8
push 0x445118
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445120
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b90], eax
cmp dword [0x45ece8], 0
jne 0x4450f3
push 0x445130
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ece8], eax
cmp dword [0x45ece8], 0
je 0x4450f3
push 0x44513c
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b94], eax
push 0x44514c
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b98], eax
push 0x445160
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b9c], eax
push 0x445178
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba0], eax
push 0x445190
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba4], eax
push 0x4451a4
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba8], eax
push 0x4451bc
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bac], eax
push 0x4451d4
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb0], eax
push 0x4451f0
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb4], eax
push 0x4451fc
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445111
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449454
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403f98
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4494a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404208
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a354
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x44a36f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0044a081
std
int3

Function at 0x450be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450c30]
test si, 4
je 0x450bf4
or bl, 1
test si, 8
je 0x450bfe
or bl, 4
test si, 1
je 0x450c08
or bl, 8
test si, 2
je 0x450c12
or bl, 0x10
test si, 0x10
je 0x450c1c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c2b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450c34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450c6c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c4d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c5c
or bl, 4
test esi, 0x20000000
je 0x450c67
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457314
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457326
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419968
mov eax, dword [0x45eff8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4576b8
mov eax, dword [0x45f004]
mov dword [eax + 4], ebx
mov dword [eax], 0x4576c4
mov eax, ebx
call fcn.004576d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x453aec
push eax
push 0
push 0
mov eax, dword [0x45f154]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457af0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457463
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4577b0
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 0x45795b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45793c
mov dl, 1
mov eax, dword [0x411fd0]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45792b
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.00445304
test al, al
je 0x45791e
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, 0x45796c
lea eax, [ebp - 0x254]
call fcn.00408c9c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45791e
xor eax, eax
push ebp
push 0x457917
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 0x4579a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457900
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x457900
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45791e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457821
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415ac4
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 0x457962
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x460bdc]
cmp byte [eax + 0xa5], 0
jne 0x458301
cmp dword [0x460bf4], 0
jne 0x4582c2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45824c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x460bf4], eax
cmp dword [0x460bf0], 0
jne 0x4582dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x460bf0], eax
cmp dword [0x460bf8], 0
jne 0x458301
push esp
push 0
push 0
push 0x4581f0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x460bf8], eax
pop edx
ret
Function at 0x4583f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45840f
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419968
mov eax, dword [0x45f140]
cmp word [eax + 2], 0
jne 0x458437
mov eax, dword [0x45f140]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459b60
mov eax, dword [0x45f1f0]
cmp word [eax + 2], 0
jne 0x458451
mov eax, dword [0x45f1f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459d58
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
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], 0xff000018
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 [0x41bea4]
call fcn.00423308
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4585d8
mov eax, dword [0x45f05c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004236d8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a308
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45f05c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040c5f4
test eax, eax
je 0x458546
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040867c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c61c
test eax, eax
je 0x45855a
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.00404208
mov eax, dword [0x45ef40]
cmp byte [eax], 0
jne 0x45858e
mov eax, ebx
call fcn.00458700
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.0045a4e4
mov eax, ebx
call fcn.0045aea8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4585ce
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458980
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460bdc]
cmp dword [eax + 0x30], 0
je 0x458a2a
cmp dword [ebx + 0x94], 0
jne 0x458a24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458910
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458a24
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 0x4589ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458a24
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.00413f1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4589f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45958c
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 0x4595c1
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.00404088
jmp 0x4595ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a6c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a701
mov eax, esi
call fcn.004408a8
test al, al
je 0x45a701
mov eax, dword [ebx + 0x84]
call fcn.004405a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a701
push 0
mov eax, dword [ebx + 0x84]
call fcn.004405a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404448
mov eax, dword [ebp - 8]
call fcn.00404448
mov eax, dword [ebp + 8]
call fcn.00404448
xor eax, eax
push ebp
push 0x45b8e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x45b8fc
call fcn.00404260
lea eax, [ebp - 8]
mov edx, 0x45b8fc
call fcn.00404260
lea eax, [ebp + 8]
mov edx, 0x45b8fc
call fcn.00404260
mov bl, 1
push 1
lea eax, [ebp + 8]
call fcn.004044b0
push eax
lea eax, [ebp - 8]
call fcn.004044b0
push eax
lea eax, [ebp - 4]
call fcn.004044b0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x45b8c1
xor ebx, ebx
push 0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x45b908
call fcn.004042a4
mov eax, dword [ebp - 0xc]
mov cx, word [0x45b91c]
mov dl, 1
call fcn.00428ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8eb
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403fbc
lea eax, [ebp + 8]
call fcn.00403f98
ret
Function at 0x406621
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
call fcn.0040659d
mov ebx, eax
cmp ebx, esi
je 0x40668d
cmp dword [ebp - 0x118], esi
je 0x406686
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x406725
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4066b5
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x118]
call fcn.00406621
mov dword [ebp - 0x124], eax
cmp eax, esi
jne 0x406736
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], pe_nt_image_headers32
call ebx
test eax, eax
je 0x406695
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], esi
je 0x406700
push dword [ebp - 0x118]
call ebx
mov dword [ebp - 0x118], esi
push dword [ebp - 0x120]
mov dword [ebp - 0x114], esi
call fcn.004064c2
mov edi, eax
cmp dword [ebp - 0x118], esi
je 0x406723
push dword [ebp - 0x118]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a659
leave
ret 4
cmp dword [ebp - 0x118], esi
je 0x40674a
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
jmp 0x406725
Function at 0x40a962
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
xor edi, edi
push 0x3c
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0044c700
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [0x49c174], 2
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x140
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], str.runas
jge 0x40a9b1
mov dword [ebp - 0x34], str.open
push 6
push edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40aa03
cmp dword [ebp + 0x10], edi
je 0x40a9f5
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 4], 0x669
jne 0x40a9f8
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40aa0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc
Function at 0x40aec9
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x49afc4]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.0040f532
mov dword [esi + 0x3c], eax
xor eax, eax
mov byte [ebp - 0x7c], bl
lea edi, [ebp - 0x7b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0xc
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0x40b4b9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40afb1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x54]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x5c]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0040b19d
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044a659
add ebp, 0xac
leave
ret 4