joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4217a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0046bfca
push 0x10
mov esi, eax
call fcn.004675e1
mov edx, dword [ebx + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [edi + 4], 5
mov edx, dword [esp + 0x18]
mov dword [edi], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
xor edx, edx
sub eax, ecx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov dword [edi + 8], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], vtable.CFont.0
mov eax, dword [0x4b4284]
mov ecx, dword [0x4b4288]
push eax
push 0x10
push edx
push edx
push edx
push 1
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push ecx
mov dword [esp + 0x78], edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call fcn.0046d2c6
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 1
mov ecx, esi
mov ebx, eax
call fcn.0046c313
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [0x4b428c]
mov ecx, esi
push eax
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.0046c313
mov eax, dword [0x4b4280]
mov ecx, dword [eax - 8]
mov edx, dword [esi]
push 1
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
push ebp
mov ecx, esi
call fcn.0046c313
test edi, edi
je 0x4218bc
push edi
call fcn.0046760a
add esp, 4
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 1
call fcn.0046d31d
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x423236
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489d86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.00422740
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
call fcn.00422d30
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00422d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0x64
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4255c0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0
push 3
push 0
push 7
push 0
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4255ed
xor eax, eax
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x42ab10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48aa24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4aedc0]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
or eax, 0xffffffff
mov dword [esi + 4], eax
mov ecx, dword [0x4ae898]
mov dword [esi + 8], ecx
mov edx, dword [0x4aedc0]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x4ae898]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x14], eax
push 0x42aa40
push 0x42aa20
push 0x1f4
lea ecx, [esi + 0x1c]
push 0x14
push ecx
mov byte [esp + 0x30], 1
call fcn.0043fc68
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.0042ad00
mov edx, dword [esp + 0x24]
lea ecx, [esp + 8]
push edx
call fcn.0042ed60
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.0042f430
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.0042ee30
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x42bcf0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48acab
push eax
mov eax, 0x3c94
mov dword fs:[0], esp
call fcn.0043f630
push ebx
push ebp
mov ebx, ecx
push 1
call fcn.00465ee8
lea ecx, [esp + 0xb4]
call fcn.0040b2b0
mov eax, dword [ebx + 0x1478]
xor ebp, ebp
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x3ca8], ebp
call fcn.0040b7a0
mov eax, dword [ebx + 0x1478]
cmp dword [eax - 8], ebp
jne 0x42bd5e
push ebp
push ebp
push 0x4ae264
call fcn.00470095
jmp 0x42be94
push eax
call fcn.00425610
add esp, 4
test eax, eax
je 0x42bd8e
push ebp
push 1
push 0x4ae31c
call fcn.00470095
cmp eax, 2
je 0x42be94
mov eax, dword [ebx + 0x1478]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebx + 0x1464]
mov ecx, dword [ebx + 0x1460]
mov edx, dword [ebx + 0x146c]
push esi
mov esi, dword [ebx + 0x1468]
push edi
push eax
push ecx
push edx
push esi
lea ecx, [esp + 0xcc]
call fcn.0040b7f0
push 0xff
push 5
lea ecx, [esp + 0xc4]
call fcn.0040ba60
mov ecx, 0x11
mov esi, str.X5O_P__AP_4PZX54_P_7CC_7_EICAR_STANDARD_ANTIVIRUS_TEST_FILE__HH
lea edi, [esp + 0x74]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4ae2c8
mov dword [esp + 0x20], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], ebp
shr ecx, 2
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.TXT_INI_BAT_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x78]
push ecx
push edx
push ebp
lea ecx, [esp + 0xcc]
call fcn.0040ea70
push ebp
lea ecx, [esp + 0xc0]
call fcn.0040d2d0
pop edi
pop esi
test eax, eax
je 0x42be94
push ebp
push ebp
push 0x4ae27c
call fcn.00470095
mov ecx, ebx
call fcn.0042b800
lea ecx, [esp + 0xb4]
mov dword [esp + 0x3ca4], 0xffffffff
call fcn.0040b6a0
mov ecx, dword [esp + 0x3c9c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ca0
ret
Function at 0x42f200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b4af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 8], 0
jge 0x42f230
xor esi, esi
jmp 0x42f24e
mov eax, dword [edi + 8]
push eax
call fcn.0043f6ae
add esp, 4
cmp esi, eax
jle 0x42f24e
mov ecx, dword [edi + 8]
push ecx
call fcn.0043f6ae
add esp, 4
mov esi, eax
mov edx, dword [0x4aedc0]
mov eax, dword [0x4ae898]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], eax
push 0
push 0
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.0042f590
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00467a56
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042ec40
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0042ee30
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x44084d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44086d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00443d12
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x440890
test byte [esp + 8], 2
je 0x440890
call fcn.00443d85
mov dword [eax], 0xd
call fcn.00443d8e
mov dword [eax], 5
jmp 0x440869
xor eax, eax
ret
Function at 0x45a680
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0043f630
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45a74b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x45a74b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45a6fe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45a709
or bh, 8
and edi, 0x8000000
je 0x45a724
mov eax, dword [0x4b807c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x45a74b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ab20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x45ab4b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x45ab6f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x45ab8a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x464357
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46438f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00467d4d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00467d25
jmp 0x46439b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x466159
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46619b
call fcn.0047dab2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46619b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466192
xor eax, eax
jmp 0x4661a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004661a9
pop edi
pop esi
pop ebx
ret 4

Function at 0x468131
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x468153
cmp dword [edi + 0x3c], 0
jne 0x468153
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0047dab2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00468192
pop edi
pop esi
pop ebx
ret 8

Function at 0x47d345
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0047dab2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47d382
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47d382
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x47d386
xor eax, eax
jmp 0x47d404
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004675e1
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x47d3be
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x47d3a8
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0047d509
push ebx
mov edi, eax
call fcn.0046760a
test edi, edi
pop ecx
je 0x47d400
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0047d25b
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0047d409
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x42910b23
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x73797
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40380b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403834
cmp al, 0x22
je 0x40382c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403820
cmp byte [esi], 0x22
jne 0x40383e
inc esi
jmp 0x40383e
cmp al, 0x20
jle 0x40383e
inc esi
cmp byte [esi], 0x20
jg 0x403838
mov al, byte [esi]
test al, al
je 0x403848
cmp al, 0x20
jle 0x403831
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004038b6
push 0x405004
push section..data
call fcn.0040389c
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403878
movzx eax, word [ebp - 0x14]
jmp 0x40387b
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004038ce
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1078df20
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1078e070
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 0x1078df46
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1078df32
add dl, dl
jne 0x1078df51
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1078dfa4
xor eax, eax
add dl, dl
jne 0x1078df5e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1078e045
add dl, dl
jne 0x1078df6d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1078df78
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1078df83
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1078df8e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1078df9a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1078df3d
mov eax, 1
add dl, dl
jne 0x1078dfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1078dfbd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1078dfa9
sub eax, ebx
mov ebx, 1
jne 0x1078dff0
mov ecx, 1
add dl, dl
jne 0x1078dfd6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1078dfe1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1078dfcd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1078df3d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1078e007
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1078e012
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1078dffe
cmp eax, 0x7d00
jae 0x1078e035
cmp eax, 0x500
jb 0x1078e030
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1078df3d
cmp eax, 0x7f
ja 0x1078e038
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1078df3d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1078e066
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 0x1078df3d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4df420fa
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
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
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x191a02e6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4026d8
Capabilities:
Get common file path

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x1d803
jg 0x40270e
inc edi
cmp edi, 0x1e70dee2
jl 0x4026e4
cmp dword [0x44281c], 0x400
jne 0x402736
push esi
call fcn.00402791
push esi
push esi
call fcn.00402c32
push esi
call fcn.00402a52
push esi
call fcn.00402cdf
add esp, 0x14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bba6
jg 0x402755
inc edi
cmp edi, 0xe147
jl 0x402738
mov eax, dword [0x43a814]
mov dword [0x44281c], eax
call fcn.00402478
mov edi, 0x3078f
cmp dword [0x44281c], 0x51f
jne 0x402781
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x402769
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x4055d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b570]
jne 0x4055e3
repz ret
jmp fcn.00407030