joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40bafc
push 9
call esi
test bl, al
je 0x40bafc
push 0x11
call esi
test bl, al
jne 0x40bafc
push 0x10
call esi
test bl, al
jne 0x40bafc
push 0x12
call esi
test bl, al
jne 0x40bafc
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40bafc
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x40bafc
xor eax, eax
jmp 0x40bb7e
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40bb25
push 0x11
call esi
test bl, al
jne 0x40bb1d
push 0x10
call esi
test bl, al
jne 0x40bb1d
push 0x12
call esi
test bl, al
je 0x40bb25
push 1
push ebp
call fcn.0040ba39
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x40bb3b
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x40bb7b
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40bb7b
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40bb7b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40bb7b
dec esi
push esi
push dword [0x413bc8]
call fcn.0040e9ba
test eax, eax
je 0x40bb7b
mov eax, dword [eax + 8]
jmp 0x40bb7d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40c9aa
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x40ca1a
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x40c9fc
mov dl, byte [eax - 1]
cmp dl, 0x20
je 0x40c9fb
cmp dl, 0x5c
je 0x40c9fb
cmp dl, 0x2f
jne 0x40ca06
dec eax
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x40c9e9
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x40ca1c
xor eax, eax
leave
ret 4

Function at 0x40caf0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
cmp dword [esi + 0x14], eax
jne 0x40cb25
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x1aa4104e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x47836d40
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x401046
mov eax, dword [ebp + 8]
push 1
push eax
call sub.gnwie.dll_WIgetvar
mov esi, eax
mov ecx, dword [esi + 0x10]
add esp, 8
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40103f
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
push 0x601
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
call dword [sym.imp.MSVCR100.dll_exit]
pop edi
pop ebp
ret

Function at 0x4011a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4083a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x108], ecx
cmp eax, esi
jle 0x401245
mov ecx, dword [edi + esi*4]
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4011e0
sub eax, ebx
cmp eax, 3
jbe 0x40123c
cmp byte [ecx], 0x2d
jne 0x40123c
cmp byte [ecx + 2], 0x3d
jne 0x40123c
movsx eax, byte [ecx + 1]
push eax
call dword [sym.imp.MSVCR100.dll_toupper]
add esp, 4
cmp eax, 0x49
je 0x401226
cmp eax, 0x50
jne 0x40123c
mov ecx, dword [edi + esi*4]
add ecx, 3
push ecx
call dword [sym.imp.MSVCR100.dll_atol]
mov dword [ebp - 0x110], eax
jmp 0x401239
mov edx, dword [edi + esi*4]
add edx, 3
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
mov dword [ebp - 0x108], eax
add esp, 4
inc esi
cmp esi, dword [ebp - 0x10c]
jl 0x4011d7
push 0x100
lea ebx, [ebp - 0x104]
call fcn.00401050
add esp, 4
test eax, eax
je 0x40129c
push 0x10
push str.SAP_Graphics_Fatal_Error
mov eax, ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x110]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401294
mov ecx, dword [ebp - 0x108]
push 0
push ecx
push 0x601
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x6f
call dword [sym.imp.MSVCR100.dll_exit]
mov ebx, dword [ebp - 0x10c]
lea edx, [ebx*4]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
test eax, eax
jne 0x4012ca
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004050b8
mov esp, ebp
pop ebp
ret
test ebx, ebx
jle 0x4012e1
mov edx, edi
mov ecx, eax
sub edx, eax
mov esi, ebx
mov edi, dword [edx + ecx]
mov dword [ecx], edi
add ecx, 4
dec esi
jne 0x4012d6
push 1
push eax
push ebx
call sub.gnwie.dll_WIinitialise
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4012b7
push 1
push esi
call sub.gnwie.dll_WIgetvar
mov edx, dword [0x4083bc]
mov ecx, dword [0x4083b8]
push edx
push ecx
push str.hInst__X__hPrev__X_n
push esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call sub.gnwie.dll_Wtrace
push sym.gnmsx.exe_cbexit
push esi
call sub.gnwie.dll_Wregexitproc
mov ecx, dword [ebp - 4]
add esp, 0x20
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004050b8
mov esp, ebp
pop ebp
ret
Function at 0x401510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4083a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x8c], eax
mov al, byte [ebx]
xor esi, esi
push edi
mov ecx, ebx
lea edi, [esi + 1]
test al, al
je 0x401564
nop
cmp al, 0x22
jne 0x40154f
xor edx, edx
test esi, esi
sete dl
mov esi, edx
jmp 0x40155c
cmp al, 0x20
je 0x401557
test al, al
jne 0x40155c
test esi, esi
jne 0x40155c
inc edi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x401540
lea eax, [edi*4 + 4]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov edx, dword [ebp - 0x8c]
add esp, 4
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push edx
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4015a0
lea ecx, [ebp - 0x84]
sub eax, edx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4015b2
sub ecx, esi
mov esi, ecx
add eax, esi
je 0x4016ab
add eax, 2
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4015e0
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
inc esi
push esi
lea eax, [ebp - 0x84]
push eax
push edi
call sub.MSVCR100.dll_memcpy
lea eax, [ebp - 0x84]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x401600
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401600
mov ecx, dword [ebp - 0x88]
sub eax, edx
lea esi, [eax + edi + 1]
mov dword [ecx], edi
mov eax, ebx
mov edi, 1
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401620
sub eax, ecx
inc eax
push eax
push ebx
push esi
call sub.MSVCR100.dll_memcpy
mov eax, esi
add esp, 0xc
xor ebx, ebx
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401640
mov edx, dword [ebp - 0x88]
sub eax, ecx
inc eax
mov dword [edx + 4], esi
test eax, eax
jle 0x4016ab
lea ecx, [esi + 1]
mov edx, eax
lea esp, [esp]
movsx eax, byte [esi]
sub eax, 0
je 0x4016a7
sub eax, 0x20
je 0x401693
sub eax, 2
je 0x401676
inc esi
inc ecx
jmp 0x4016a8
xor eax, eax
test ebx, ebx
sete al
mov byte [esi], 0
mov ebx, eax
test ebx, ebx
je 0x40168f
mov eax, dword [ebp - 0x88]
mov dword [eax + edi*4], ecx
inc esi
inc ecx
jmp 0x4016a8
test ebx, ebx
jne 0x4016a3
mov eax, dword [ebp - 0x88]
inc edi
mov byte [esi], bl
mov dword [eax + edi*4], ecx
inc esi
inc ecx
jmp 0x4016a8
inc edi
dec edx
jne 0x401660
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp + 0xc]
push eax
push edi
mov dword [0x4083b8], ecx
mov dword [0x4083bc], edx
call fcn.00401910
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004050b8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40493e
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push edi
mov edi, dword [0x408270]
cmp dword [0x4099c8], ebx
jne 0x40495b
push 0x40
call fcn.00404900
pop ecx
cmp edi, dword [0x4099c8]
jle 0x40496a
xor eax, eax
jmp 0x4049f1
push esi
cmp byte [ebp + 0x10], bl
je 0x40499f
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [0x4099c4]
push ebx
push ebx
push ebx
push 2
push eax
mov dword [ecx + edi*8], eax
lea esi, [ecx + edi*8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
jmp 0x4049b4
push dword [ebp + 0xc]
mov eax, dword [0x4099c4]
push 2
lea esi, [eax + edi*8]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
mov ecx, dword [0x408270]
mov eax, dword [0x408274]
jmp 0x4049cd
mov edx, dword [0x4099c4]
cmp dword [edx + ecx*8], ebx
je 0x4049d3
inc ecx
cmp ecx, eax
jl 0x4049c1
jmp 0x4049dd
mov dword [0x408270], ecx
cmp ecx, eax
jne 0x4049e8
inc eax
mov dword [0x408274], eax
mov dword [0x408270], eax
mov eax, dword [esi]
neg eax
sbb eax, eax
and eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4050b8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4083a0]
jne 0x4050c2
repz ret
jmp fcn.004053c8
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
lea edx, [0x4813cc]
mov ebx, 0x8768
mov edi, 0x8926
lea ecx, [0x4811e8]
xor edi, 0xc6798d12
inc edi
xor edi, 0xc67991b8
push ebx
push ebx
push edi
call sub.user32.dll_GetInputDesktop
pop edi
pop ebx
pop ebx
push 0x40
push 0x3000
push 0xfc00
push 0
call sub.kernel32.dll_VirtualAlloc
call fcn.00479044
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
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
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x16f20a81
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2c453053
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
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
mov ebx, 0x408f6c
nop
mov ecx, 0x4c8c3b50
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x36ae7bf0
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402798
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027a6
call dword [0x4c501c]
or eax, eax
je 0x4027a7
ret
mov al, 1
jmp fcn.00402870

Function at 0x4027b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027be
call dword [0x4c5020]
or eax, eax
jne 0x4027bf
ret
mov al, 2
jmp fcn.00402870

Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402800
test edx, edx
je 0x4027ea
push eax
mov eax, ecx
call dword [0x4c5024]
pop ecx
or eax, eax
je 0x4027f9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402870
mov dword [eax], edx
mov eax, ecx
call dword [0x4c5020]
or eax, eax
jne 0x4027e3
ret
mov al, 1
jmp fcn.00402870
test edx, edx
je 0x402814
push eax
mov eax, edx
call dword [0x4c501c]
pop ecx
or eax, eax
je 0x4027f9
mov dword [ecx], eax
ret

Function at 0x402870
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x4c8004]
test ecx, ecx
je 0x402880
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402899]
jns 0x402894
call fcn.00406c68
mov eax, dword [eax + 4]
jmp fcn.00403c8c

Function at 0x4029f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a27
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d7c
jmp 0x402a45
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402980
mov edi, eax
test ebx, ebx
je 0x402a45
cmp dword [esi], 0
je 0x402a45
dec ebx
jmp 0x402a2e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f94
xor eax, eax
push ebp
push 0x402f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402fd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f94
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403234
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40324e
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x40324e
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x40323a
mov al, 0xa
jmp fcn.00402870
ret

Function at 0x403280
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4c801c], 0
je 0x402b1f
call dword [0x4c801c]
mov eax, 0xd2
jmp fcn.00403c8c
push eax
push ecx
mov eax, dword [eax]
call fcn.00403250
pop ecx
pop eax
je 0x40328f
jmp ebx
pop ecx
jmp 0x402b10