joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d6a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 1
call fcn.0049d380
mov ebx, dword [esp + 0x14]
mov ecx, eax
xor eax, eax
mov edi, 0xe
mov dword [ecx + 0x134], eax
mov dword [ecx + 0x130], eax
xor dword [ecx + 0x9c], ebx
mov eax, edi
mov ebp, 0x25
cdq
idiv ebp
sub ebx, esi
add edi, 0xe
mov eax, dword [ecx + edx*4 + 0x9c]
xor eax, esi
cmp edi, 0x206
mov dword [ecx + edx*4 + 0x9c], eax
mov eax, esi
mov esi, ebx
mov ebx, eax
jl 0x49d6cd
mov esi, 0x3e8
call fcn.0049d610
dec esi
jne 0x49d6ff
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x49ecc0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4cc576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.004a2bc0
mov dword [esi], eax
push 0
mov dword [esp + 0x30], 0
call fcn.0049d860
mov dword [esi + 4], eax
push 0
call fcn.0049d860
mov dword [esi + 8], eax
mov edi, dword [0x50c464]
push 0
call fcn.004c005a
push eax
call fcn.0049d6a0
mov dword [edi + 0x238], 0x10
mov edi, dword [esp + 0x44]
push 0
mov ebx, dword [edi*4 + 0x502b60]
call fcn.0049d860
push ebx
push eax
mov dword [esp + 0x38], eax
call fcn.004a27c0
mov ebx, dword [edi*4 + 0x502b88]
push 0
call fcn.0049d860
push ebx
push eax
mov dword [esp + 0x40], eax
call fcn.004a27c0
mov ebx, dword [edi*4 + 0x502b38]
push 0
call fcn.0049d860
push ebx
push eax
mov dword [esp + 0x48], eax
call fcn.004a27c0
mov ebx, dword [edi*4 + 0x502bd8]
push 0
call fcn.0049d860
push ebx
push eax
mov dword [esp + 0x50], eax
call fcn.004a27c0
add esp, 0x40
mov ebx, dword [edi*4 + 0x502c00]
push 0
call fcn.0049d860
push ebx
push eax
mov dword [esp + 0x18], eax
call fcn.004a27c0
mov edi, dword [edi*4 + 0x502bb0]
push 0
mov byte [esp + 0x3c], 7
call fcn.0049d860
mov ebx, eax
push edi
push ebx
call fcn.004a27c0
mov eax, dword [esi + 4]
push eax
push ebx
call fcn.0049e2d0
push ebx
call fcn.0049de90
push 0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.004a4490
add esp, 0x34
call fcn.004a2bc0
mov edi, eax
lea ecx, [esp + 0xc]
push edi
push 0
call fcn.004a43e0
push eax
lea ecx, [esp + 0x1c]
call fcn.004a43e0
push eax
call fcn.004a2c80
mov ecx, dword [esi]
push ecx
push edi
call fcn.004a30f0
push edi
call fcn.004a2c40
mov edx, dword [esp + 0x28]
push edx
call fcn.0049de90
mov eax, dword [esp + 0x30]
push eax
call fcn.0049de90
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0049de90
mov edx, dword [esp + 0x40]
push edx
call fcn.0049de90
mov eax, dword [esp + 0x48]
push eax
call fcn.0049de90
mov ecx, dword [esp + 0x54]
add esp, 0x30
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4a5580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cc6f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.004a50e0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x50c468
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4e30ad
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004a6480
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4a5610
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc8a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4a5650
push esi
push esi
push esi
push 2
call fcn.004a6b50
xor al, al
jmp 0x4a57da
call fcn.004a4990
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004ab3f9
push esi
call fcn.004aeb5f
push 0
push 0
push esi
mov edi, eax
call fcn.004ab3f9
add esp, 0x1c
test edi, edi
jg 0x4a5697
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.004a6b50
xor al, al
jmp 0x4a57da
mov dword [esp + 0x14], 0x50c468
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.004a63e0
lea eax, [edi + 1]
push eax
call fcn.004a91fd
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.004aee69
add esp, 0x14
cmp eax, 1
je 0x4a570d
push ebp
call fcn.004a91d0
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.004a6b50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x50c468
je 0x4a5706
push eax
call fcn.004a91d0
add esp, 4
xor al, al
jmp 0x4a57da
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x4a5782
jmp 0x4a5720
mov cl, byte [esi]
cmp cl, 0xa
jne 0x4a5740
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004a6570
add esi, 1
mov eax, esi
jmp 0x4a577d
cmp cl, 0xd
jne 0x4a577a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x4a5758
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004a6570
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.004a6570
cmp byte [esi + 1], 0xa
jne 0x4a5739
add esi, 2
mov eax, esi
jmp 0x4a577d
add esi, 1
cmp byte [esi], 0
jne 0x4a5720
sub esi, eax
je 0x4a5791
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004a6570
push ebp
call fcn.004a91d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x4a56f6
cmp eax, 0x50c468
je 0x4a57d8
push eax
call fcn.004a91d0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x4aebcd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4aec0a
cmp dword [ebp + 0x14], edi
je 0x4aec0a
cmp ecx, edi
jne 0x4aec11
call fcn.004aaa83
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004aa35f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4aec25
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4aec46
cmp ebx, 0xffffffff
je 0x4aec35
push ebx
push edi
push ecx
call fcn.004b0720
add esp, 0xc
cmp esi, edi
je 0x4aebf2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4aebf2
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4aec62
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4aec69
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4aed5a
test word [esi + 0xc], 0x10c
je 0x4aecbd
mov eax, dword [esi + 4]
test eax, eax
je 0x4aecbd
jl 0x4aedbb
cmp ebx, eax
mov edi, ebx
jb 0x4aec8e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4aed62
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004a94d9
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4aed52
cmp ebx, dword [ebp - 0xc]
jb 0x4aed2a
cmp dword [ebp - 0xc], 0
je 0x4aece7
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4aecdc
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4aece3
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4aecf2
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4aecf2
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4aed8e
push eax
push dword [ebp - 8]
push esi
call fcn.004b3b3c
pop ecx
push eax
call fcn.004bdd35
add esp, 0xc
test eax, eax
je 0x4aedcd
cmp eax, 0xffffffff
je 0x4aedbb
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4aed52
push esi
call fcn.004b9e40
cmp eax, 0xffffffff
pop ecx
je 0x4aedbf
cmp dword [ebp - 4], 0
je 0x4aed8e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4aec71
mov eax, dword [ebp + 0x14]
jmp 0x4aec0c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4aed79
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004b0720
add esp, 0xc
call fcn.004aaa83
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4aec02
cmp dword [ebp + 0xc], 0xffffffff
je 0x4aeda4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004b0720
add esp, 0xc
call fcn.004aaa83
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4aec02
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4aec0c
or dword [esi + 0xc], 0x10
jmp 0x4aedbf
Function at 0x402200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
cmp byte [section..data], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
je 0x402228
cmp byte [0x407001], 0
je 0x4022d5
mov byte [0x40b030], 0
xor edx, edx
cmp edx, dword [0x40b0f0]
mov dword [ebp - 0x1c], 0
jae 0x402310
xor edi, edi
jmp 0x4022ae
xor eax, eax
mov edx, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x40b0b0]
mov edx, dword [0x40b0e0]
lea eax, [edi + edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [edi + edx + 8]
mov ecx, dword [0x40b0e0]
cmp byte [edi + ecx + 0x28], 0
jne 0x402320
mov dword [esp], 0xa
call sub.cygwin1.dll_putchar_unlocked
inc dword [ebp - 0x1c]
add edi, 0x30
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x40b0f0]
jae 0x402310
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402248
mov dword [esp], 0x409209
mov eax, 0x40920d
mov dword [esp + 8], eax
mov eax, dword [0x40b050]
mov dword [esp + 4], eax
call sub.cygwin1.dll_printf
jmp 0x402261
mov eax, dword [ebp + 8]
cmp eax, dword [0x40b110]
jne 0x402228
cld
mov edi, dword [ebp + 0x10]
mov ecx, eax
cmp eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402228
cmp byte [0x40b030], 0
jne 0x402310
mov dword [esp], 0x40920e
call sub.cygwin1.dll_puts
mov byte [0x40b030], 1
mov byte [0x407001], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [0x40b110]
mov ebx, dword [edi + ecx + 4]
sub eax, esi
div dword [ebx*4 + 0x4082a0]
mov edx, dword [edi + ecx + 0x2c]
mov ecx, 0x40920d
mov dword [esp + 8], ecx
inc edx
mov dword [esp], 0x409209
imul eax, edx
mov dword [esp + 4], eax
call sub.cygwin1.dll_printf
mov esi, dword [ebp + 0x10]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
mov dword [esp], 0x409210
mov dword [esp + 0xc], eax
mov eax, 3
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sub.cygwin1.dll_fwrite
mov ebx, dword [ebp + 8]
test ebx, ebx
jmp 0x4023b3
movzx eax, byte [esi]
inc esi
movzx edx, al
mov cl, al
mov eax, dword [sym.imp.cygwin1.dll__ctype_]
test byte [eax + edx + 1], 0x97
jne 0x4023a7
mov cl, 0x2e
movzx eax, cl
mov dword [esp], eax
call sub.cygwin1.dll_putchar_unlocked
dec ebx
jne 0x402390
mov dword [esp], 0x3c
call sub.cygwin1.dll_putchar_unlocked
jmp 0x402291
Function at 0x402440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x1c
test eax, eax
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 8]
mov byte [ebp - 0x11], 1
je 0x4024f5
cmp eax, dword [0x40b110]
ja 0x4024f5
mov dword [edi], 0
test esi, esi
mov eax, 1
je 0x4024ed
mov edx, dword [0x40b140]
test edx, edx
je 0x4024e9
lea esi, [esi]
lea edi, [edi]
mov eax, dword [edi]
mov dword [esp + 0xc], edx
mov ebx, esi
mov edx, dword [ebp - 0x10]
mov ecx, 1
sub ebx, eax
add eax, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.cygwin1.dll_fread
add dword [edi], eax
cmp eax, ebx
je 0x4024e9
movzx ebx, byte [ebp - 0x11]
call sub.cygwin1.dll___errno
mov eax, dword [eax]
call fcn.004018b0
test eax, ebx
setne byte [ebp - 0x11]
movzx ebx, byte [ebp - 0x11]
call fcn.00401770
test eax, ebx
setne byte [ebp - 0x11]
mov edx, dword [0x40b140]
test edx, edx
jne 0x402490
movzx eax, byte [ebp - 0x11]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str._tmp_coreutils_5.3.0_src_od.c
mov eax, str.0___n__n___bytes_per_block
mov ebx, 0x4f2
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call sub.cygwin1.dll___assert
jmp 0x402469
Function at 0x404ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
xor ebx, ebx
mov dword [esp], str._POSIX2_VERSION
call sub.cygwin1.dll_getenv
test eax, eax
mov edx, eax
je 0x404f10
cmp byte [eax], 0
jne 0x404f18
add esp, 0x14
mov eax, ebx
pop ebx
pop ebp
ret
mov dword [esp], edx
mov eax, 0xa
mov dword [esp + 8], eax
lea eax, [ebp - 8]
mov dword [esp + 4], eax
call sub.cygwin1.dll_strtol
mov edx, eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x404f10
mov ebx, edx
add esp, 0x14
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x405580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov dword [ebp - 0xc], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edi, eax
mov dword [ebp - 8], esi
call sub.cygwin1.dll___getreent
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_vfprintf
inc dword [0x40b3a0]
test ebx, ebx
jne 0x4055f7
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.cygwin1.dll_putc_unlocked
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fflush
test edi, edi
jne 0x40564c
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
mov ecx, 0x400
lea eax, [ebp - 0x418]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.cygwin1.dll_strerror_r
test eax, eax
mov esi, eax
je 0x405637
call sub.cygwin1.dll___getreent
mov dword [esp + 8], esi
mov edx, str.:__s
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x4055be
mov dword [esp], ebx
call sub.cygwin1.dll_strerror
test eax, eax
mov esi, eax
jne 0x405618
mov esi, str.Unknown_system_error
jmp 0x405618
mov dword [esp], edi
call sub.cygwin1.dll_exit
lea esi, [esi]
lea edi, [edi]
Function at 0x4077a8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x40d788], 0
jne 0x407829
cmp dword [0x40d7a8], 0
jne 0x4077d8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x40d7a8], eax
test eax, eax
jne 0x4077d8
push str.GetEnvironmentStrings_failed
call fcn.00406fd4
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x40d7a8]
jmp 0x4077ec
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00403450
pop ecx
mov edi, eax
test eax, eax
jne 0x4077e4
lea edi, [ebp + 1]
push edi
call fcn.00402358
pop ecx
mov ebx, eax
mov dword [0x40d78c], ebx
test ebx, ebx
jne 0x407816
xor eax, eax
jmp 0x4078ec
push edi
mov edx, dword [0x40d7a8]
push edx
push ebx
call fcn.0040333c
add esp, 0xc
jmp 0x407849
xor esi, esi
mov ebx, dword [0x40d788]
jmp 0x407843
push eax
call fcn.00403450
pop ecx
test eax, eax
jne 0x40783f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x407833
lea ebx, [esi + 4]
push 4
mov dword [0x40d790], ebx
inc ebx
push ebx
call fcn.00401ebc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40786c
xor eax, eax
jmp 0x4078ec
cmp dword [0x40d788], 0
jne 0x40789d
xor esi, esi
mov ebx, dword [0x40d78c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40788e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00403450
pop ecx
mov edi, eax
test eax, eax
jne 0x407884
jmp 0x4078ce
xor esi, esi
mov ebx, dword [0x40d788]
mov eax, dword [esp]
mov edi, eax
jmp 0x4078c8
push eax
call fcn.00403450
pop ecx
test eax, eax
je 0x4078bd
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4078c1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4078ac
mov eax, dword [0x40d788]
test eax, eax
je 0x4078de
push eax
call fcn.00402368
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x40d788], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x56d5eb
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0056d66a
jae 0x56d5f7
xor ecx, ecx
call fcn.0056d66a
jae 0x56d621
xor eax, eax
call fcn.0056d66a
jae 0x56d632
mov al, 0x10
call fcn.0056d66a
adc al, al
jae 0x56d613
jne 0x56d65f
stosb byte es:[edi], al
jmp 0x56d5f8
call fcn.0056d676
dec ecx
loop 0x56d63e
mov eax, ebp
call fcn.0056d674
jmp 0x56d660
lodsb al, byte [esi]
shr eax, 1
je 0x56d686
adc ecx, 2
mov ebp, eax
jmp 0x56d660
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0056d674
cmp eax, 0x7d00
jae 0x56d65e
cmp eax, 0x500
jae 0x56d65f
cmp eax, 0x7f
ja 0x56d660
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x56d5f8
pop ebp
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x21bf631c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x51aa2581
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
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
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e54
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4d012c01
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x498352c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401237
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0040e058
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040e058
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
mov eax, 0
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x4012d1
push 0x19
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
push 0
push 0x1f0fff
mov eax, 1
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x40130a
push 0x46
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push dword [ebp - 8]
mov eax, 2
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x401342
push 0x6d
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
push str.SeDebugPrivilege
push 0
mov eax, 3
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x401378
push 0x97
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
push 0
push 0
push 0
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 4
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x401411
push 0x1a7
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 5
call fcn.0040e070
cmp dword [ebp - 0x1c], esp
je 0x401440
push 0x1e7
push 0x40160f1
push 6
call fcn.0040e064
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x401448
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040e05e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0040e05e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret