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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4622c4]
cmp byte [eax + 0xc], 0
je 0x446891
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44688a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x463b78], 0
jne 0x446778
push 0x446898
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4468a0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b78], eax
cmp dword [0x461c28], 0
jne 0x446873
push 0x4468b0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x461c28], eax
cmp dword [0x461c28], 0
je 0x446873
push 0x4468bc
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b7c], eax
push 0x4468cc
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b80], eax
push 0x4468e0
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b84], eax
push 0x4468f8
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b88], eax
push 0x446910
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b8c], eax
push 0x446924
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b90], eax
push 0x44693c
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b94], eax
push 0x446954
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b98], eax
push 0x446970
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463b9c], eax
push 0x44697c
mov eax, dword [0x461c28]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x463ba0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446891
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44b86c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b8bc]
test si, 4
je 0x44b880
or bl, 1
test si, 8
je 0x44b88a
or bl, 4
test si, 1
je 0x44b894
or bl, 8
test si, 2
je 0x44b89e
or bl, 0x10
test si, 0x10
je 0x44b8a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44b8c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b8f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8d9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8e8
or bl, 4
test esi, 0x20000000
je 0x44b8f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4520c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4520d2
add esp, 0xfffffff0
call fcn.00403b64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d4ac
mov eax, dword [0x461f5c]
mov dword [eax + 4], ebx
mov dword [eax], 0x452464
mov eax, dword [0x461f68]
mov dword [eax + 4], ebx
mov dword [eax], 0x452470
mov eax, ebx
call fcn.0045247c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
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, 0x44e778
push eax
push 0
push 0
mov eax, dword [0x4620b8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420a74]
call fcn.004221b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420a74]
call fcn.004221b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420a74]
call fcn.004221b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045289c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452778
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452778
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452778
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45220f
call fcn.00403bbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45255c
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 0x452707
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4526e8
mov dl, 1
mov eax, dword [0x415b50]
call fcn.00403810
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4526d7
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.00446a84
test al, al
je 0x4526ca
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, 0x452718
lea eax, [ebp - 0x254]
call fcn.00409520
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4526ca
xor eax, eax
push ebp
push 0x4526c3
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 0x452750
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4526ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404820
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 0x4526ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4526ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4525cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041962c
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 0x45270e
lea eax, [ebp - 0x260]
call fcn.004045b0
ret

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

Disassembly:
push ecx
mov eax, dword [0x463bb4]
cmp byte [eax + 0xa5], 0
jne 0x4530ad
cmp dword [0x463bcc], 0
jne 0x45306e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x452ff8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x463bcc], eax
cmp dword [0x463bc8], 0
jne 0x453089
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x463bc8], eax
cmp dword [0x463bd0], 0
jne 0x4530ad
push esp
push 0
push 0
push 0x452f9c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x463bd0], eax
pop edx
ret
Function at 0x4531a4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4531bb
add esp, 0xfffffff0
call fcn.00403b64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d4ac
mov eax, dword [0x4620a4]
cmp word [eax + 2], 0
jne 0x4531e3
mov eax, dword [0x4620a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454894
mov eax, dword [0x46215c]
cmp word [eax + 2], 0
jne 0x4531fd
mov eax, dword [0x46215c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454a8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415734]
call fcn.00403810
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 [0x42151c]
call fcn.00428e20
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453384
mov eax, dword [0x461fc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004291f0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45502c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x461fc0]
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.0040ccb4
test eax, eax
je 0x4532f2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f00
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ccdc
test eax, eax
je 0x453306
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.00404820
mov eax, dword [0x461e8c]
cmp byte [eax], 0
jne 0x45333a
mov eax, ebx
call fcn.004534ac
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.00455208
mov eax, ebx
call fcn.00455bcc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45337a
call fcn.00403bbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45372c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x463bb4]
cmp dword [eax + 0x30], 0
je 0x4537d6
cmp dword [ebx + 0x94], 0
jne 0x4537d0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4536bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4537d0
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 0x453796
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4537d0
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.00417a9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4537a5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454338
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 0x45436d
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.004046a0
jmp 0x45437a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404604
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4553e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455425
mov eax, esi
call fcn.00442144
test al, al
je 0x455425
mov eax, dword [ebx + 0x84]
call fcn.00441e40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455425
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441e40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45611c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414ce4]
call fcn.00404f44
xor eax, eax
push ebp
push 0x456260
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x461d70], 0
jne 0x45616f
mov ecx, dword [0x461e9c]
mov dl, 1
mov eax, dword [0x4077c8]
call fcn.0040bf1c
call fcn.00403fcc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030dc
mov eax, ebx
call fcn.00404e14
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x456270
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ec8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e24
test eax, eax
jle 0x456207
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x456200
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404838
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404820
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004085d4
test eax, eax
jne 0x456200
mov ebx, 0x15
jmp 0x45620c
mov ebx, 0x10
jmp 0x45620c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x461d70]
call fcn.00456074
mov eax, dword [ebp - 8]
call fcn.00456074
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456267
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045d4
lea eax, [ebp - 0x10]
mov edx, dword [0x414ce4]
call fcn.00405014
ret
Function at 0x45def4
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
xor eax, eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e0c0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x45df41
lea edx, [ebp - 0x1d4]
xor eax, eax
call fcn.00402b1c
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 4]
mov edx, 0x45e0d8
call fcn.00408cac
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402eac
lea eax, [ebp - 0x1d0]
call fcn.00402c48
call fcn.004028fc
mov edx, 0x45e0e8
lea eax, [ebp - 0x1d0]
call fcn.00404c60
call fcn.00403300
call fcn.004028fc
mov edx, 0x45e0fc
lea eax, [ebp - 0x1d0]
call fcn.00404c60
call fcn.00403300
call fcn.004028fc
push 0x45e108
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.00402b1c
push dword [ebp - 0x1dc]
push 0x45e118
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404930
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
call fcn.00404c60
call fcn.00403300
call fcn.004028fc
push 0x45e124
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.00402b1c
push dword [ebp - 0x1e4]
push 0x45e138
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404930
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d0]
call fcn.00404c60
call fcn.00403300
call fcn.004028fc
mov edx, 0x45e14c
lea eax, [ebp - 0x1d0]
call fcn.00404c60
call fcn.00403300
call fcn.004028fc
lea eax, [ebp - 0x1d0]
call fcn.00402f74
call fcn.004028fc
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a70
push eax
push 0
mov eax, dword [0x463c30]
call fcn.00441e40
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x462140]
mov eax, dword [eax]
call fcn.00454880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e0c7
lea eax, [ebp - 0x1e4]
mov edx, 5
call fcn.004045d4
lea eax, [ebp - 4]
call fcn.004045b0
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3f1f55ab
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x21a73b09
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4034c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [0x4064cc]
push ebx
push ebp
push esi
push edi
push eax
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [section..data]
mov edx, dword [0x4064cc]
mov eax, ecx
push 0x8e
shl eax, 4
add eax, ecx
push 0x3be7
push 0x232b
push 0x50a5
lea eax, [eax + eax*2]
push 0x1bb9
shl eax, 4
add eax, ecx
push edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
lea ecx, [eax + eax*2]
mov eax, dword [0x4064d0]
push eax
mov dword [section..data], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x14]
xor ebx, ebx
xor eax, eax
mov ecx, 0x349c
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
mov dword [section..data], ecx
jl 0x40352e
mov byte [edi + 0x100], bl
mov byte [edi + 0x101], bl
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, dword [esp + 0x1c]
xor esi, esi
mov eax, esi
xor ecx, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x18]
push 0xac0
push 0x6079
push 0x17a7
mov cl, byte [edx + eax]
mov eax, dword [0x4064cc]
xor edx, edx
push eax
mov dl, byte [esi + edi]
add edx, ebx
lea ebx, [edx + ecx]
call dword [sym.imp.USER32.dll_SendMessageA]
and ebx, 0xff
xor eax, eax
mov al, byte [esi + edi]
inc esi
mov cl, byte [ebx + edi]
cmp esi, 0x100
mov byte [esi + edi - 1], cl
mov byte [ebx + edi], al
mov dword [0x406004], 0x1720
jl 0x403557
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4035c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov dword [section..data], 0x5053
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x406008]
xor eax, eax
push 0x78d1
mov al, byte [esi + 0x101]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, 0x288df0cb
imul ecx
mov ecx, dword [0x4064d4]
mov bl, byte [esi + 0x100]
sar edx, 4
mov eax, edx
push 0x3cf1
shr eax, 0x1f
add edx, eax
push 0x131e
push ecx
mov dword [0x406008], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x4036df
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [0x4064e4]
push 0x2698
push 0x6358
push 0x1709
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x406014]
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
inc ebx
sar edx, 5
mov eax, edx
and ebx, 0xff
shr eax, 0x1f
add edx, eax
xor ecx, ecx
mov dword [0x406014], edx
mov cl, byte [ebx + esi]
add dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x4064f0]
mov eax, dword [0x4064d8]
and ecx, 0xff
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ebx + esi]
mov dl, byte [ecx + esi]
mov byte [ebx + esi], dl
mov byte [ecx + esi], al
mov cl, byte [ebx + esi]
add ecx, eax
mov al, byte [edi + ebp]
and ecx, 0xff
mov dl, byte [ecx + esi]
xor al, dl
mov byte [edi + ebp], al
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x403637
pop ebp
mov al, byte [esp + 0x10]
mov byte [esi + 0x101], al
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov byte [esi + 0x100], bl
mov ecx, dword [section..data]
add ecx, 0x6745
pop edi
pop esi
mov dword [0x40600c], ecx
pop ebx
ret

Function at 0x4038e0
Capabilities:
Enumerate pe sections
Link many functions at runtime
Parse pe header

Disassembly:
mov eax, dword [0x40c74c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
mov ecx, dword [0x40c744]
mov dword [0x40c7f8], eax
push ecx
mov dword [0x4060c8], 0x53dc
call esi
mov edx, dword [str.X9_nO__iIm]
mov ecx, eax
mov eax, 0x2e8ba2e9
mov dword [0x40c7fc], ecx
imul edx
sar edx, 4
mov eax, edx
pop esi
shr eax, 0x1f
add edx, eax
mov eax, dword [0x40c7f8]
cmp eax, ecx
mov dword [str.X9_nO__iIm], edx
je 0x40393b
jmp fcn.00403990
ret
Function at 0x42acb7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448138]
jne 0x42acc1
repz ret
jmp fcn.004323fa

Function at 0x43b3a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00431be8
xor ebx, ebx
cmp dword [0x44a2f4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43b475
push 0x402f3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43b3e0
xor eax, eax
jmp 0x43b539
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402f30
push edi
call esi
cmp eax, ebx
je 0x43b3d9
push eax
call fcn.00431b85
mov dword [esp], 0x402f20
push edi
mov dword [0x44a2f4], eax
call esi
push eax
call fcn.00431b85
mov dword [esp], 0x402f0c
push edi
mov dword [0x44a2f8], eax
call esi
push eax
call fcn.00431b85
mov dword [0x44a2fc], eax
lea eax, [ebp - 8]
push eax
call fcn.0042e1ce
test eax, eax
pop ecx
pop ecx
je 0x43b443
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042af84
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43b475
push 0x402ef0
push edi
call esi
push eax
call fcn.00431b85
cmp eax, ebx
pop ecx
mov dword [0x44a304], eax
je 0x43b475
push 0x402ed8
push edi
call esi
push eax
call fcn.00431b85
pop ecx
mov dword [0x44a300], eax
mov eax, dword [0x44a300]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43b4ee
cmp dword [0x44a304], esi
je 0x43b4ee
push eax
call fcn.00431bf1
pop ecx
call eax
cmp eax, ebx
je 0x43b4bb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44a304]
call fcn.00431bf1
pop ecx
call eax
test eax, eax
je 0x43b4bb
test byte [ebp - 0x18], 1
jne 0x43b4ee
lea eax, [ebp - 0xc]
push eax
call fcn.0042e205
test eax, eax
pop ecx
je 0x43b4d6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042af84
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43b4e5
or dword [ebp + 0x10], 0x200000
jmp 0x43b51f
or dword [ebp + 0x10], 0x40000
jmp 0x43b51f
mov eax, dword [0x44a2f8]
cmp eax, esi
je 0x43b51f
push eax
call fcn.00431bf1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b51f
mov eax, dword [0x44a2fc]
cmp eax, esi
je 0x43b51f
push dword [ebp - 4]
push eax
call fcn.00431bf1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44a2f4]
call fcn.00431bf1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45e728
Capabilities:
Get disk size

Disassembly:
cmp ecx, dword [0x40d1cc]
jne 0x45e732
repz ret
jmp fcn.004609d2