joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0xc]
push edi
xor ecx, ecx
mov ebx, 0x80000001
push ecx
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push 0x435dd0
push ebx
call esi
push dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
push 2
push 1
push ecx
push ecx
push 0x435e10
push ebx
call esi
test eax, eax
jne 0x403de2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x435e70
push dword [esp + 0x24]
call esi
push ebx
push ebx
push ebx
push ebx
push 0x435e84
push dword [esp + 0x24]
call esi
push ebx
push ebx
push ebx
push ebx
push 0x435e9c
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call edi
mov esi, dword [0x43ae64]
mov eax, esi
shl eax, 2
push eax
call fcn.004111b2
xor edi, edi
mov ebx, eax
pop ecx
test esi, esi
jle 0x403e5b
mov ecx, dword [0x43ae6c]
push dword [ecx + edi*4]
lea ecx, [esp + 0x30]
call fcn.0040784b
push ecx
push ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00406589
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
jae 0x403e2e
lea eax, [esp + 0x14]
push eax
call fcn.0042af9a
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [ebx + edi*4], eax
call fcn.004094bf
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004098d4
inc edi
cmp edi, dword [0x43ae64]
jl 0x403dfc
mov edx, ebx
call fcn.0040326e
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410549
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4040e6
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], edx
push eax
push 2
push 0
mov edi, ecx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x404124
push 0x435f14
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call esi
lea eax, [ebp - 4]
push eax
push 2
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40414f
push 0x435f14
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404187
cmp byte [ebp + 8], al
push 4
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404662
Capabilities:
Set registry value

Disassembly:
sub esp, 0x82c
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
push 0x400
lea eax, [esp + 0x34]
mov dword [esp + 0x18], edx
push eax
mov ebx, ecx
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040784b
cmp dword [0x43bb80], 8
mov esi, 0x43bb6c
mov eax, dword [0x43bb6c]
jae 0x4046b9
mov eax, esi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404707
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x4046dd
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x43603c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.004098d4
cmp dword [0x43bb80], 8
mov edi, dword [0x43bb6c]
jae 0x404725
mov edi, esi
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f2
push ebx
call ebp
test eax, eax
mov edx, 0x436048
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.004040e6
cmp dword [0x43bb80], 8
mov edi, dword [0x43bb6c]
pop ecx
jae 0x40475a
mov edi, esi
push 0x3f0
push ebx
call ebp
test eax, eax
mov edx, 0x436060
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.004040e6
cmp dword [0x43bb80], 8
pop ecx
jb 0x404787
mov esi, dword [0x43bb6c]
push 0x3ef
push ebx
call ebp
test eax, eax
mov edx, 0x436070
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004040e6
pop ecx
push dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x82c
ret
Function at 0x404966
Capabilities:
Create thread

Disassembly:
sub esp, 0x24
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x3ef
mov edi, ecx
push esi
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x404999
xor edx, edx
mov ecx, edi
call fcn.00404662
jmp 0x404ad2
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebp, ebp
push ebp
push esi
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push ebp
push 0x3ee
push edi
call ebx
push eax
call esi
push ebp
push 0x3f3
push edi
call ebx
push eax
call esi
push ebp
push 0x3f2
push edi
call ebx
push eax
call esi
push ebp
push 0x3f0
push edi
call ebx
push eax
call esi
push ebp
push 0x3f1
push edi
call ebx
push eax
call esi
push ebp
push 0x3ed
push edi
call ebx
push eax
call esi
push ebp
push 0x3f4
push edi
call ebx
push eax
call esi
mov edx, 0x436094
lea ecx, [esp + 0x14]
call fcn.00403ff1
cmp dword [eax + 0x14], 8
jb 0x404a19
mov eax, dword [eax]
push eax
push 0x3f6
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004098d4
mov ecx, edi
call fcn.004047c9
push 0xffff0000
push 0xffffffffffffffff
push 0x465
mov esi, 0x3f7
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
mov dword [0x43bb28], edi
mov esi, 0x43bb2c
mov dword [0x43bba0], ebx
cmp esi, 0x43bb84
je 0x404ab9
mov eax, dword [0x43bb2c]
mov ecx, esi
push dword [eax + 4]
call fcn.0040ca10
mov eax, dword [0x43bb2c]
mov byte [esp + 0x10], bl
push dword [esp + 0x10]
mov dword [eax + 4], eax
mov eax, dword [0x43bb2c]
push ecx
mov ecx, esi
mov dword [eax], eax
mov eax, dword [0x43bb2c]
mov dword [eax + 8], eax
mov dword [0x43bb30], ebx
call fcn.0040d164
push ebx
push ebx
push 0x43bb28
push 0x40451c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43bba0], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x24
ret
Function at 0x406c16
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x250
mov eax, dword [0x439740]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x50]
xor ebp, ebp
push eax
push ebp
push ebp
push 0x1a
push ebp
mov ebx, edx
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x406cb1
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebp
push 0x436350
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406c6e
xor al, al
jmp 0x406d62
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push 0x4363d4
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x406c67
cmp dword [esp + 0x1c], 1
jne 0x406c67
cmp dword [esp + 0x18], ebp
je 0x406c67
test byte [esp + 0x18], 1
jne 0x406c67
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi + 0x10], ebp
je 0x406ce5
push ecx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004064ca
pop ecx
cmp dword [eax + 0x14], 8
jb 0x406cd1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x54]
push eax
call esi
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.004098d4
push ecx
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.004064ca
pop ecx
cmp dword [eax + 0x14], 8
jb 0x406cfa
mov eax, dword [eax]
push eax
lea eax, [esp + 0x54]
push eax
call esi
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.004098d4
push 0x4363e4
lea eax, [esp + 0x54]
push eax
call esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
call fcn.0040784b
push ecx
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x40]
call fcn.00406589
pop ecx
pop ecx
lea eax, [esp + 0x38]
mov ecx, 0x43a624
push eax
call fcn.004072e2
push ebp
push 1
lea ecx, [esp + 0x40]
call fcn.004094bf
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.004098d4
mov al, 1
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410549
add esp, 0x250
ret

Function at 0x406d7b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x439740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push ecx
mov edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004064ca
pop ecx
cmp dword [eax + 0x14], 8
jb 0x406da0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea ecx, [ebp - 0x1c]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.004098d4
inc bl
je 0x406dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406dd0
xor al, al
jmp 0x406dd2
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00410549
mov esp, ebp
pop ebp
ret
Function at 0x424e34
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00415c8b
mov dword [ebp - 0x14], eax
cmp dword [0x43ba68], esi
jne 0x424f27
push 0x800
push esi
push 0x4343c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x424eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x425007
push esi
push esi
push 0x4343c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x425007
push 0x4343dc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425007
push eax
call ebx
push 0x4343e8
push edi
mov dword [0x43ba68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4343f8
push edi
mov dword [0x43ba6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x43440c
push edi
mov dword [0x43ba70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ba78], eax
test eax, eax
je 0x424f24
push 0x434428
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ba74], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x424f4c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x424f3f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x424f61
push 4
pop eax
jmp 0x425009
cmp dword [ebp - 0x14], esi
je 0x424f61
push dword [0x43ba68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424f46
mov eax, dword [0x43ba74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x424fbf
cmp dword [0x43ba78], edi
je 0x424fbf
push eax
call ebx
push dword [0x43ba78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x424fbf
test eax, eax
je 0x424fbf
call ecx
test eax, eax
je 0x424fb4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x424fb4
test byte [ebp - 8], 1
jne 0x424fbf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x424fef
mov eax, dword [0x43ba6c]
cmp eax, edi
je 0x424fec
push eax
call ebx
test eax, eax
je 0x424fec
call eax
mov esi, eax
test esi, esi
je 0x424fec
mov eax, dword [0x43ba70]
cmp eax, edi
je 0x424fec
push eax
call ebx
test eax, eax
je 0x424fec
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43ba68]
call ebx
test eax, eax
je 0x425007
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x425009
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410549
mov esp, ebp
pop ebp
ret
Function at 0x401550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x47c7a0]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4015b7
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00401741
lea ecx, [esp + 0x1c]
call fcn.0040131c
cmp eax, dword [esp + 0x14]
je 0x4015cf
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.0040171e
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401587
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401a79
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.0040171e
jmp 0x4015b9

Function at 0x401652
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
movsd xmm0, qword [0x4198a8]
push esi
push edi
push ecx
push ecx
movsd qword [esp], xmm0
push 0x419890
call fcn.00401006
add esp, 0xc
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47c7a0], eax
push 0x27
mov esi, 0x47b730
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00401550
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4016c8
call fcn.004015ed
push 0x1000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4016e0
or eax, 0xffffffff
jmp 0x4016f6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call dword [sym.imp.KERNEL32.dll_GetSystemFileCacheSize]
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x402327
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402366
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402366
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402366
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402366
cmp dword [ecx + 0x74], 0xe
jbe 0x402366
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408324
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155b8
push 0x4155b0
push str.FlsAlloc
push 0x1e
call fcn.00408242
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408358
push dword [ebp + 8]
mov ecx, esi
call dword [0x414118]
call esi
jmp 0x40835e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x412402
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41242e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4124cb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4124f5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412470
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4124fa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4124f5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6f8907a4
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xfc155de
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
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 [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
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
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xd9474f5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x74eb7de1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10541058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105411a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1054107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1054106a
add dl, dl
jne 0x10541089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105410dc
xor eax, eax
add dl, dl
jne 0x10541096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1054117d
add dl, dl
jne 0x105410a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105410b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105410bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105410c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105410d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10541075
mov eax, 1
add dl, dl
jne 0x105410ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105410f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105410e1
sub eax, ebx
mov ebx, 1
jne 0x10541128
mov ecx, 1
add dl, dl
jne 0x1054110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10541119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10541105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10541075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1054113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1054114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10541136
cmp eax, 0x7d00
jae 0x1054116d
cmp eax, 0x500
jb 0x10541168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10541075
cmp eax, 0x7f
ja 0x10541170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10541075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1054119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10541075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10