joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42802b
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x452658]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x424]
push ecx
push 0x104
mov dword [ebp - 0x448], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40d324
lea edx, [ebp - 0x21c]
push edx
xor ebx, ebx
push ebx
push str.qJWCkQ
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40d324
push str..exe
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp + eax*2 - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x444], ebx
call fcn.00404ba0
mov edi, eax
cmp edi, ebx
je 0x40d324
cmp dword [esi + 0x14], 8
jb 0x40d2a6
mov ecx, dword [esi]
jmp 0x40d2a8
mov ecx, esi
call fcn.00404ce0
mov esi, eax
test esi, esi
je 0x40d2cb
push esi
lea ecx, [ebp - 0x444]
call fcn.00404d80
mov ebx, eax
add esp, 4
mov eax, esi
call fcn.00404c40
mov eax, edi
call fcn.00404c40
test ebx, ebx
je 0x40d324
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x4f4]
push ecx
call fcn.004108c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x49c], 0
jne 0x40d32b
lea ecx, [ebp - 0x494]
mov dword [ebp - 4], 0xffffffff
call fcn.00410a20
lea edx, [ebp - 0x494]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041334e
add esp, 4
xor al, al
jmp 0x40d418
mov eax, dword [ebp - 0x444]
cdq
push edx
push eax
push ebx
lea eax, [ebp - 0x4f4]
push eax
call fcn.004050e0
lea ecx, [ebp - 0x4f4]
call fcn.00407f20
lea ecx, [ebp - 0x4f0]
call fcn.00411620
test eax, eax
jne 0x40d386
mov ecx, dword [ebp - 0x4f4]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x4e8]
lea ecx, [ebp + ecx - 0x4f4]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x40d37e
or eax, 4
push 0
push eax
call fcn.00407e20
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x42c240
lea edx, [ebp - 0x21c]
push edx
call esi
mov eax, dword [ebp - 0x448]
push eax
lea ecx, [ebp - 0x440]
call fcn.00408840
cmp dword [eax + 0x14], 8
jb 0x40d3b4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call esi
lea esi, [ebp - 0x440]
call fcn.00401a40
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d3d2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
mov esi, 0x4531f0
call fcn.00401e70
call fcn.0040c650
test al, al
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4f4]
jne 0x40d411
call fcn.0040d440
xor al, al
jmp 0x40d418
call fcn.0040d440
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413810
mov esp, ebp
pop ebp
ret
Function at 0x40d460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
push eax
push 0
push 0
push 0x78
push 0xf0
push 0x80000000
push 0x80000000
push 0xcf0000
push str.DQLDRX
push 0x42c244
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40d4a6
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jle 0x40d4fe
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jg 0x40d4e0
pop edi
pop ebx
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4271b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x452658]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x411871
cmp byte [edi + 0x49], bl
je 0x411871
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x411865
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4117c5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4117dd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x411806
dec eax
je 0x41180a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x411860
jmp 0x41186c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41181a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x411843
cmp ebx, 0x10
jae 0x411829
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00414b5e
add esp, 0x10
cmp esi, eax
jne 0x41185d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x411869
test esi, esi
jne 0x4117d1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00401680
jmp 0x4117cb
lea ecx, [ebp - 0x2c]
call fcn.00401f60
xor al, al
jmp 0x411873
lea ecx, [ebp - 0x2c]
call fcn.00401f60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413810
mov esp, ebp
pop ebp
ret
Function at 0x4119f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426cdb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x452658]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041338c
push 4
mov dword [ebp - 4], 0
call fcn.004139f1
mov edi, eax
add esp, 4
test edi, edi
je 0x411a70
call fcn.004131de
mov dword [edi], eax
call fcn.00412f9d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00412ed2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x411a66
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00412efa
jmp 0x411a72
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413810
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452658]
jne 0x41381a
repz ret
jmp fcn.0041850b
Function at 0x422147
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x452658]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004197dc
and dword [ebp - 0x14], 0
cmp dword [0x454894], 0
mov dword [ebp - 0x18], eax
jne 0x4221fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4222a2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42c0ec
push ebx
call edi
test eax, eax
je 0x4222a2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x454894], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x454898], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45489c], eax
call edi
push eax
call esi
mov dword [0x4548a4], eax
test eax, eax
je 0x4221fa
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4548a0], eax
mov eax, dword [0x4548a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x422253
cmp dword [0x4548a4], ecx
je 0x422253
push eax
call esi
push dword [0x4548a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x422253
test ebx, ebx
je 0x422253
call edi
test eax, eax
je 0x42224a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42224a
test byte [ebp - 8], 1
jne 0x422253
or dword [ebp + 0x10], 0x200000
jmp 0x422286
mov eax, dword [0x454898]
cmp eax, dword [ebp - 0x18]
je 0x422286
push eax
call esi
test eax, eax
je 0x422286
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x422286
mov eax, dword [0x45489c]
cmp eax, dword [ebp - 0x18]
je 0x422286
push eax
call esi
test eax, eax
je 0x422286
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x454894]
call esi
test eax, eax
je 0x4222a2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4222a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413810
leave
ret
Function at 0x405e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
push edi
jge 0x405ec2
mov ebx, 1
lds di, [eax]
sub byte [ebp - 0x76], dh
inc di
or byte [edx], al
add byte [esi + eax - 0x78], dh
sub dword [eax + 2], 3
in eax, dx
out 0xf0, al
or al, 0x83
rol byte [edx], 0xd1
clc
adc dword [ebp + 0x10], eax
lea eax, [ebx*4 + 4]
and edi, edi
adc eax, sym.imp.MSVCRT.dll_malloc
mov edi, eax
push cs
inc ebp
adc byte [ebp + 0x56014074], cl
mov dword [ebp + 0x65], esi
call dword [sym.imp.MSVCRT.dll_malloc]
sub esp, 8
invalid
push esi
push eax
call dword [fcn.00405479]
mov ecx, 0xd401
add esp, 8
cmp ebx, ecx
mov dword [edi], eax
aaa
sub dword [ebp - 0x572007e], ecx
cli
add al, 0x89
dec ebp
or al, 0x41
mov edx, dword [eax - 4]
and al, 0xc2
add cl, byte [ecx - 0x75b199f0]
push ss
inc esi
test dl, dl
pop ebx
xor byte [ebp - 0xb], dh
mov edx, dword [ebp + 0xc]
adc dword [esp + eax - 0x6eaa76b6], 0x75
loope 0x405edd
or al, 0x83
xchg esp, eax
add al, 0x4a
mov dword [ebp - 0x6f], edx
jne 0x405ee3
fidivr dword [esi - 0x70f938f8]
mov esi, 0x8f06c708
add byte [eax], al
add byte [eax], al
mov dword [eax], edi
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
push esi
nop
scasb al, byte es:[edi]
nop
nop
nop
sal dword [edx + 3], 0x90
push ebp
mov ebp, esp
das
in al, dx
cwde
add dword [ecx], esp
add byte [ecx + 0x410388], ah
jb 0x405ef8
xchg esp, eax
test ecx, ecx
mov dword [0x9903a5], eax
je 0x405f40
xor eax, eax
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push edx
int1
xlatb
inc edi
add byte [ebx + eax*4 - 0x3f7afb3c], dl
invalid
Function at 0x406850
Capabilities:
Connect socket

Disassembly:
inc ebx
add al, 0x83
clc
dec dword [edi - 0x7c]
xchg esp, eax
add dword [eax], eax
add byte [eax], dl
dec ebx
adc byte [ebp - 0x767bf037], al
add dword [eax], eax
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x77]
mov ecx, dword [esi + 0x14]
lea edx, [esi - 0x59]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x9f410223
mov esi, dword [0xba40c1d8]
call esi
test eax, eax
sub eax, 0xb1d0
adc al, 0xff
salc
add eax, 0x3fc80
sar dword [ebp - 0x22fff4dd], 1
jbe 0x4068f1
add dword [eax], eax
add byte [ebx + 0x733d207b], cl
and al, 0x8b
mov edi, 0x1e75260b
sbb dword [esi - 0x48], ebx
mov ah, 0x23
or eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret 8
add byte [esi + 0x57], dl
cmp bl, ah
test eax, 0x6a0000
push 0xf4244
push esi
push edi
sahf
inc ebp
clc
jl 0x40694d
scasb al, byte es:[edi]
add al, bl
xchg esp, eax
inc ebp
lea eax, [di - 8]
lea ecx, [ebp - 0x10c]
or eax, 0xfd24958d
invalid
push ecx
call fcn.0040b978
test eax, eax
je 0x4069b5
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0xc]
lea eax, [ebp - 0x7b]
push edx
push eax
push 0x109d
push 0x6200c6ff
push ecx
mov dword [ebp + 0xc], 4
jae 0x4069ac
rol ecx, 1
inc eax
add byte [edx], bh
sal byte [edi - 0x75], 0x7f
fadd dword [ecx - 0x297e38c0]
test eax, eax
jne 0x406995
pop edi
pop esi
xor eax, eax
pop ebx
sbb ebp, esp
pop ebp
lds ecx, [eax]
add bh, bh
salc
call esi
call [esi + 0x50]
cmp ah, 0xa
mov ah, 0x5b
mov esp, ebp
pop ebp
xor bl, byte [esi]
mov eax, dword [ebp + 8]
mov esi, 0x89eb8ec0
rcr byte [ebx - 0x75], cl
in eax, 0x5d
mov edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 8
iretd
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4d07e8
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0xb6
mov ebx, dword [edi - 0x3c]
ud0
dec edi
push ebx
sub edi, esi
sbb al, 0xea
sbb byte [eax + 7], bl
sbb edx, dword [eax + 0x37]
mov ecx, dword [eax + eax*8]
leave
in eax, dx
test byte [ebx + 0x1a140f34], cl
nop
adc byte [ebp + 0x55], 0x4f
mov ecx, 0xac792db4
jns 0x4d0796
jns 0x4d0796
arpl di, dx
aad 0x61
add al, 0xa3
xor eax, 0xe4e44726
and bh, byte [eax]
mov eax, esp
outsd dx, dword [esi]
loopne 0x4d07c9
add byte [ebx - 0x56], al

Function at 0x4d080c
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
in al, 0xd2
nop
salc
sub eax, 0x7bf2184
sbb eax, 0x6a1810fa
adc byte [eax], bl
push 0x30
scasd eax, dword es:[edi]
mov word [ecx - 0x766e6f], ss
adc byte [eax], bl
push 0x30
scasd eax, dword es:[edi]
mov word [ecx - 0x766e6f], ss
mov word [esp + ecx*4 - 0x36ee3ef8], cs
mov ebp, dword [ebp + edx + 0x21]
imul ebp, dword [ebx + 0x78], 0xffffffd0
clc
jg 0x4d07ff
pop es
xor eax, 0x11de0268
in al, 0xdc
in al, 0xdc
Function at 0x112d8108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x112d8258
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 0x112d812e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d811a
add dl, dl
jne 0x112d8139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d818c
xor eax, eax
add dl, dl
jne 0x112d8146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d822d
add dl, dl
jne 0x112d8155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d8160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d816b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d8176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x112d8182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x112d8125
mov eax, 1
add dl, dl
jne 0x112d819a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d81a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d8191
sub eax, ebx
mov ebx, 1
jne 0x112d81d8
mov ecx, 1
add dl, dl
jne 0x112d81be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d81c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d81b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d8125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x112d81ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d81fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d81e6
cmp eax, 0x7d00
jae 0x112d821d
cmp eax, 0x500
jb 0x112d8218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d8125
cmp eax, 0x7f
ja 0x112d8220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d8125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x112d824e
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 0x112d8125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x66d61fc9
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x1c997454
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219