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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b76f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5b76d8
mov dl, 1
mov eax, dword [0x48e868]
call fcn.004b1da0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409320
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5b76c7
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.0052e940
test al, al
je 0x5b76ba
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5b7708
lea eax, [ebp - 0x394]
call fcn.00422618
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5b76ba
xor eax, eax
push ebp
push 0x5b76b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5b7778
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5b769c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f84
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5b769c
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b76ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5b75bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004b1cdc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b76fe
lea eax, [ebp - 0x3a0]
call fcn.00409320
ret

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

Disassembly:
push ecx
mov eax, dword [0x5e9324]
cmp byte [eax + 0xc1], 0
jne 0x5b832a
cmp dword [0x5e9344], 0
jne 0x5b82ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5e29fc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5e9344], eax
cmp dword [0x5e9340], 0
jne 0x5b8305
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5e9340], eax
cmp dword [0x5e9348], 0
jne 0x5b832a
push esp
push 0
push 0
mov eax, dword [0x5e29f8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5e9348], eax
pop edx
ret
Function at 0x5b8918
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b892f
add esp, 0xfffffff0
call fcn.00407c78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c4fe4
mov eax, dword [0x5e2ba4]
cmp byte [eax], 0
jne 0x5b895c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5e2ed8]
cmp word [eax + 2], 0
jne 0x5b8976
mov eax, dword [0x5e2ed8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bac30
mov eax, dword [0x5e3004]
cmp word [eax + 2], 0
jne 0x5b8990
mov eax, dword [0x5e3004]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bae34
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4fab40]
call fcn.00500f08
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5bb3ac
mov dl, 1
mov eax, dword [0x48b0ac]
call fcn.00407644
mov dword [ebx + 0xa4], eax
mov dl, 1
mov eax, dword [0x48b0ac]
call fcn.00407644
mov dword [ebx + 0xc4], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xb9], 1
mov byte [ebx + 0xd0], 1
mov dl, 1
mov eax, dword [0x4ff7e0]
call fcn.0050a9c4
mov esi, eax
mov dword [ebx + 0xb4], esi
push 0x5b8b78
mov eax, dword [0x5e2d94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0050ae54
mov eax, dword [ebx + 0xb4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5bb694
mov dl, 1
mov eax, dword [0x48b0ac]
call fcn.00407644
mov dword [ebx + 0xac], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5e2d94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042242c
test eax, eax
je 0x5b8aaa
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422268
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422410
test eax, eax
je 0x5b8ac2
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa0]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409f84
push ebx
push 0x5ba60c
call fcn.005ae0c0
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe4], 0
mov eax, dword [0x5e2ba4]
cmp byte [eax], 0
jne 0x5b8b13
mov eax, ebx
call fcn.005b8d40
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xe5], 0
mov byte [ebx + 0xf0], 0
xor eax, eax
mov dword [ebx + 0xe8], eax
mov byte [ebx + 0xe7], 0
xor eax, eax
mov dword [ebx + 0xbc], eax
mov eax, ebx
call fcn.005bb8dc
mov eax, ebx
call fcn.005bc534
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b8b70
call fcn.00407cd0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b9080
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5b912c
cmp dword [ebx + 0xa8], 0
jne 0x5b9126
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b8fb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 8], 0
je 0x5b9126
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5b90ec
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b9126
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa4]
call fcn.004ad680
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b90fb
inc dword [ebx + 0xa8]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5b934c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5e9324]
cmp dword [eax + 0x188], 0
je 0x5b94b1
test bl, bl
jne 0x5b93ff
cmp dword [esi + 0xb0], 0
jne 0x5b93f4
mov eax, esi
call fcn.005bc384
push eax
push 0x5b9258
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5b93c5
mov eax, dword [0x5e9324]
cmp byte [eax + 0xe7], 0
je 0x5b93c5
mov eax, dword [esi + 0xec]
call fcn.0040b1a4
mov edi, eax
cmp edi, 0
jl 0x5b93c5
push 0
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b93ae
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b93f4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004ad680
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b93d4
inc dword [esi + 0xb0]
jmp 0x5b94b1
cmp dword [esi + 0xb0], 0
jle 0x5b94b1
dec dword [esi + 0xb0]
cmp dword [esi + 0xb0], 0
jne 0x5b94b1
cmp dword [esi + 0x58], 0
je 0x5b945c
mov eax, dword [0x5e9324]
cmp byte [eax + 0xe7], 0
je 0x5b945c
mov eax, dword [esi + 0xec]
call fcn.0040b1a4
mov edi, eax
cmp edi, 0
jl 0x5b945c
push 5
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b9445
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b948b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004ad680
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b946b
mov eax, dword [esi + 0xac]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xec]
mov ecx, 1
mov edx, dword [0x5aaf38]
call fcn.0040b3b8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5ba10c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc0], 0
je 0x5ba169
cmp byte [ebx + 0xe7], 0
jne 0x5ba169
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004094a8
mov eax, dword [esi]
test eax, eax
je 0x5ba156
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ba176
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.00409700
jmp 0x5ba176
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.00409700
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bbac8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bbb39
mov eax, esi
call fcn.005286bc
test al, al
je 0x5bbb39
mov eax, dword [ebx + 0x98]
call fcn.005282e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bbb39
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5bbb2a
push 0
mov eax, dword [ebx + 0x98]
call fcn.005282e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.0051ef80
jmp 0x5bbb39
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005bb8fc
pop esi
pop ebx
ret
Function at 0x5c0330
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5c03aa
mov eax, dword [ebx + 8]
call fcn.005282e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x537b94]
call fcn.005225d8
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0054045c
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5bfc28
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005282e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005282e4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5c0420
mov eax, dword [ebx + 8]
call fcn.005282e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x537b94]
call fcn.005225d8
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0054045c
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5bfc74
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005282e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005282e4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5c048c
mov eax, dword [ebx + 8]
call fcn.005282e4
mov ecx, eax
mov dl, 1
mov eax, dword [0x538604]
call fcn.005225d8
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005282e4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005282e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5c7448
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5c7460
add esp, 0xfffffff0
call fcn.00407c78
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5c757a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004066f0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5c7564
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0050ef74
xor eax, eax
push ebp
push 0x5c7551
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0050ef74
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00409fc0
jmp 0x5c7522
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.0040a2ec
mov eax, dword [ebx + 4]
call fcn.004097e4
dec eax
jle 0x5c7536
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5c7510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7558
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7581
lea eax, [ebp - 4]
call fcn.00409368
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
mov ecx, 0xaa43c08
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
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
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x26f16beb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40111e
Capabilities:
Terminate process

Disassembly:
call section..text
push 0x5c
push 0x406428
call fcn.00401556
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x409050
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x4044f8
xor esi, esi
inc esi
mov eax, dword [0x40904c]
cmp eax, esi
je 0x404517
mov eax, dword [0x40904c]
test eax, eax
jne 0x401226
mov dword [0x40904c], esi
push 0x4062c4
push 0x4062bc
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x4045b2
mov eax, dword [0x40904c]
cmp eax, esi
jne 0x4011d1
push 0x4062b8
push 0x406298
call fcn.00580000
pop ecx
pop ecx
mov dword [0x40904c], 2
cmp dword [ebp - 0x20], ebx
jne 0x4011de
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x409054], ebx
jne 0x404524
mov eax, dword [sym.imp.MSVCR80.dll__wcmdln]
cmp dword [eax], ebx
je 0x4045b2
mov eax, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x40121a
cmp cx, 0x22
je 0x40454f
inc eax
inc eax
jmp 0x401200
cmp cx, bx
je 0x401231
cmp dword [ebp - 0x1c], ebx
je 0x401231
jmp 0x40120c
mov dword [0x409144], esi
jmp 0x4011ad
movzx ecx, word [eax]
cmp cx, bx
je 0x401df0
cmp cx, 0x20
ja 0x401df0
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x401231
test byte [ebp - 0x40], 1
jne 0x404546
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call 0x401e22
mov dword [0x409118], eax
cmp dword [0x409060], ebx
jne 0x40458f
push eax
call dword [sym.imp.MSVCR80.dll_exit]
call fcn.00402273
ret 0x10
cmp eax, esi
jne 0x404507
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401174
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401160
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x4011ad
push 0x409054
call fcn.00404f3d
pop ecx
test eax, eax
je 0x4011ea
push ebx
push 2
push ebx
call dword [0x409054]
jmp 0x4011ea
movzx ecx, word [ebp - 0x3c]
jmp 0x401dfd
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x401216
cmp dword [0x409144], ebx
jne 0x40459d
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x409118]
jmp 0x4045be
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401457
ret
Function at 0x405eba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ede
xor eax, eax
test eax, eax
je 0x405ef0
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ef0
xor ecx, ecx
jmp 0x405ef3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405f97
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422acc], 0
push esi
jne 0x405fce
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fa8
mov dword [ecx*4 + 0x422ac8], eax
inc ecx
cmp ecx, 0x100
jl 0x405fa3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fff
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ac8]
xor eax, esi
inc ecx
dec edx
jne 0x405fe1
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401533
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401dc7
sub eax, fcn.00401592
push eax
push fcn.00401592
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107a
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401461
mov eax, ebx
lea ecx, [ebx + 0x1b600]
call fcn.004014b3
mov esi, ecx
mov eax, ebx
or si, 1
cdq
idiv esi
lea edx, [eax + ecx]
mov eax, ebx
lea ebx, [ebp - 2]
or eax, 0x402054
call fcn.00401592
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401533
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
enter 0x11c, 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x10008610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 1
jne 0x1000866b
mov dword [ebp - 4], 0
xor eax, eax
lea ecx, [sym.proxy.dll_DllEntry]
lea eax, [ebp - 4]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov eax, 1
add esp, 0x1c
pop ebp
ret 0xc

Function at 0x10008860
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x13
mov dword [esp + 0x10], eax
mov ecx, dword [0x100202fc]
xor eax, eax
cmp dword [ecx + 0x389e3dbc], 1
mov dword [esp + 0x14], eax
je 0x100088e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x13
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x41
mov dword [esp + 0x14], eax
jne 0x10008895
mov eax, dword [0x100202fc]
mov dword [eax + 0x389e3dbc], 1
add esp, 0x18
pop esi
pop edi
ret

Function at 0x10008cb0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [0x10021cc8]
mov ecx, dword [0x10021cc4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008cf6
jmp 0x10008db4
mov eax, dword [esp + 0x14]
add eax, 0x1d
mov dword [esp + 0xc], eax
mov eax, dword [0x1002030c]
cmp dword [eax - 0x1524bb82], 1
sete al
mov byte [esp + 0x13], al
mov eax, dword [0x10021cc8]
mov ecx, dword [0x10021cc4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008d45
jmp 0x10008db4
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x10008dae
jmp 0x10008d5d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1d
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0xb
mov dword [esp + 8], eax
jne 0x10008d5d
mov eax, dword [0x1002030c]
mov dword [eax - 0x1524bb82], 1
add esp, 0x1c
pop esi
pop edi
ret
jmp 0x10008cf6