joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x472d30]
cmp byte [eax + 0xc], 0
je 0x4403bd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4403b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x473b9c], 0
jne 0x4402a4
push 0x4403c4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4403cc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b9c], eax
cmp dword [0x471bd8], 0
jne 0x44039f
push 0x4403dc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x471bd8], eax
cmp dword [0x471bd8], 0
je 0x44039f
push 0x4403e8
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473ba0], eax
push 0x4403f8
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473ba4], eax
push 0x44040c
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473ba8], eax
push 0x440424
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bac], eax
push 0x44043c
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bb0], eax
push 0x440450
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bb4], eax
push 0x440468
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bb8], eax
push 0x440480
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bbc], eax
push 0x44049c
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bc0], eax
push 0x4404a8
mov eax, dword [0x471bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4403bd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444248
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.00404074
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444297
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.004042e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b9ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b9fc]
test si, 4
je 0x44b9c0
or bl, 1
test si, 8
je 0x44b9ca
or bl, 4
test si, 1
je 0x44b9d4
or bl, 8
test si, 2
je 0x44b9de
or bl, 0x10
test si, 0x10
je 0x44b9e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b9f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ba00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ba38]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ba19
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ba28
or bl, 4
test esi, 0x20000000
je 0x44ba33
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4520e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4520f2
add esp, 0xfffffff0
call fcn.004035a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b4d8
mov eax, dword [0x4727b0]
mov dword [eax + 4], ebx
mov dword [eax], 0x452484
mov eax, dword [0x4727c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x452490
mov eax, ebx
call fcn.0045249c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
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, 0x44e8b8
push eax
push 0
push 0
mov eax, dword [0x472a0c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41cf3c]
call fcn.0041e6b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41cf3c]
call fcn.0041e6b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41cf3c]
call fcn.0041e6b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004528bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452798
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452798
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452798
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45222f
call fcn.004035fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45257c
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 0x452727
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452708
mov dl, 1
mov eax, dword [0x412864]
call fcn.00403250
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404074
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4526f7
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.004405b0
test al, al
je 0x4526ea
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, 0x452738
lea eax, [ebp - 0x254]
call fcn.004092a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4526ea
xor eax, eax
push ebp
push 0x4526e3
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 0x452770
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4526cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042e4
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 0x4526cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4526ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4525ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416f8c
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 0x45272e
lea eax, [ebp - 0x260]
call fcn.00404074
ret

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

Disassembly:
push ecx
mov eax, dword [0x473be8]
cmp byte [eax + 0xa5], 0
jne 0x4530cd
cmp dword [0x473c00], 0
jne 0x45308e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453018
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x473c00], eax
cmp dword [0x473bfc], 0
jne 0x4530a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x473bfc], eax
cmp dword [0x473c04], 0
jne 0x4530cd
push esp
push 0
push 0
push 0x452fbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x473c04], eax
pop edx
ret
Function at 0x4531c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4531db
add esp, 0xfffffff0
call fcn.004035a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b4d8
mov eax, dword [0x4729e4]
cmp word [eax + 2], 0
jne 0x453203
mov eax, dword [0x4729e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454944
mov eax, dword [0x472b1c]
cmp word [eax + 2], 0
jne 0x45321d
mov eax, dword [0x472b1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454b3c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412200]
call fcn.00403250
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 [0x41da1c]
call fcn.00424d94
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4533a4
mov eax, dword [0x47286c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425164
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4550ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47286c]
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.0040cbfc
test eax, eax
je 0x453312
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc24
test eax, eax
je 0x453326
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.004042e4
mov eax, dword [0x472640]
cmp byte [eax], 0
jne 0x45335a
mov eax, ebx
call fcn.004534cc
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.004552c8
mov eax, ebx
call fcn.00455c8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45339a
call fcn.004035fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45374c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473be8]
cmp dword [eax + 0x30], 0
je 0x4537f6
cmp dword [ebx + 0x94], 0
jne 0x4537f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4536dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4537f0
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 0x4537b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4537f0
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.004148b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4537c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454358
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 0x45438d
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.00404164
jmp 0x45439a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4554a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4554e5
mov eax, esi
call fcn.0043bc70
test al, al
je 0x4554e5
mov eax, dword [ebx + 0x84]
call fcn.0043b998
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4554e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b998
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x464188
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46437a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x464390
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004040c8
lea ecx, [ebp - 0x10]
mov edx, 0x4643a4
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004040c8
lea ecx, [ebp - 0x14]
mov edx, 0x4643bc
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004040c8
lea ecx, [ebp - 0x18]
mov edx, 0x4643d8
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004040c8
lea ecx, [ebp - 0x1c]
mov edx, 0x4643f4
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004040c8
lea ecx, [ebp - 0x24]
mov edx, 0x46440c
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408294
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408674
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x464424
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x28]
call fcn.0045b7c4
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x464434
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x2c]
call fcn.0045b7c4
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46444c
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408674
inc eax
je 0x46431d
lea ecx, [ebp - 0x34]
mov edx, 0x46444c
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x34]
call fcn.00408638
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409c34
fstp qword [ebp - 0x3c]
wait
call fcn.00409f98
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x464338
lea ecx, [ebp - 0x40]
mov edx, 0x46444c
mov eax, esi
call fcn.00461d78
mov eax, dword [ebp - 0x40]
call fcn.0045b7c4
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46445c
mov eax, esi
call fcn.00461d78
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004040c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464381
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404098
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404098
ret

Function at 0x46eebc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00406dd0
ret
Function at 0x46f7b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404524
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x46f8c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 2
call fcn.0046f4d8
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0046f4f8
jmp 0x46f894
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004042e4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408b00
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408044
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408044
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404480
jne 0x46f88b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0046f518
test eax, eax
jne 0x46f81e
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f8cb
lea eax, [ebp - 0x13c]
mov edx, 4
call fcn.00404098
lea eax, [ebp - 4]
call fcn.00404074
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x4fe3383e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x67442063
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402300
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x402320
mov eax, dword [ebp + 8]
mov byte [eax], 0
test ebx, ebx
je 0x402329
cmp byte [ebx], 0
jne 0x402330
xor eax, eax
jmp 0x4023b0
xor esi, esi
jmp 0x402373
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x40235a
cmp dword [ebp - 4], 0
je 0x40235a
test esi, esi
jne 0x40235a
cmp dword [ebp + 8], 0
je 0x402356
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov esi, edx
jmp 0x402373
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x402368
cmp ecx, 0xa
jne 0x402370
cmp ecx, 0xd
jne 0x402378
inc ebx
jmp 0x402378
mov byte [edx], al
inc edx
cmp byte [ebx], 0
jne 0x402334
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x4023ae
mov eax, dword [ebp - 4]
test esi, esi
mov byte [eax], 0
je 0x4023ae
push 0x1000
lea edx, [ebp - 0x1004]
push edx
push esi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0x1004]
mov eax, dword [ebp - 4]
call fcn.00406b00
mov byte [esi], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4023b8
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov al, byte [0x40d968]
test al, al
mov byte [esp], dl
lea esi, [esp + 4]
je 0x4023f4
xor edx, edx
mov dl, al
cmp edx, 0x20
je 0x4023e8
mov edx, 0x40c116
mov eax, ebx
call fcn.00406bd4
mov edx, 0x40d968
mov eax, ebx
call fcn.00406bd4
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.00406a24
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x40241d
lea edx, [ebx + 1]
jmp 0x40241f
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x402470
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x402448
jmp 0x402441
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402441
mov byte [ebx + eax], 0x20
jmp 0x402448
inc eax
cmp byte [ebx + eax], 0
jne 0x402431
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x40245d
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x40246f
cmp edx, 0x20
jne 0x402466
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x402477
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x402426
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.004057c4
mov edi, eax
test edi, edi
je 0x4024a3
mov edx, str..inf
mov eax, edi
call fcn.00406b88
test eax, eax
jne 0x4024a3
mov dword [esi + 0xc], str.Install
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.00405cb0
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x4024cb
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.00405d44
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x40250e
cmp byte [esp + 1], 0
jne 0x40250e
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.00406b00
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.00406bd4
lea eax, [esp + 0x440]
xor edx, edx
call fcn.00405cb0
test al, al
je 0x4025f6
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x402538
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x4025f6
cmp byte [0x40c044], 0
jne 0x40254f
cmp byte [esp], 0
je 0x4025a7
mov ebx, dword [0x40cc90]
test ebx, ebx
je 0x402563
push ebx
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x402567
xor eax, eax
jmp 0x40256c
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x40257f
push 0
push dword [0x40cc90]
call sub.USER32.DLL_ShowWindow
push 0x7d0
push dword [esi + 0x38]
call sub.USER32.DLL_WaitForInputIdle
push 0xffffffffffffffff
push dword [esi + 0x38]
call sub.KERNEL32.DLL_WaitForSingleObject
test ebx, ebx
je 0x4025a7
push 1
push dword [0x40cc90]
call sub.USER32.DLL_ShowWindow
push dword [esi + 0x38]
call sub.KERNEL32.DLL_CloseHandle
test edi, edi
je 0x4025c3
mov edx, str..exe
mov eax, edi
call fcn.00406b88
test eax, eax
je 0x4025f6
cmp byte [0x40c044], 0
je 0x4025de
cmp byte [esp], 0
jne 0x4025de
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x4025f6
cmp byte [esp], 0
je 0x4025eb
mov edx, 0xc8
jmp 0x4025f0
mov edx, 0x3e8
push edx
call sub.KERNEL32.DLL_Sleep
add esp, 0x840
pop edi
pop esi
pop ebx
ret