joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403e59
pop dword [ebp - 0x40]
mov eax, 0x7ae73288
sub eax, 0x7aa6f42f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa31fa796
add dword [ebp - 0x50], 0xab329db5
mov dword [ebp - 0x4c], 0xdf40cadc
add dword [ebp - 0x4c], 0x52f28169
mov dword [ebp - 0x48], 0xf7a27b42
sub dword [ebp - 0x48], 0xab563714
mov dword [ebp - 0x44], 0x2a4a6ba5
add dword [ebp - 0x44], 0xd5b5945b
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x9f1326b2
add dword [ebp - 0x50], 0xd55f42a4
mov dword [ebp - 0x4c], 0x18b40d36
add dword [ebp - 0x4c], 0x28b8543f
mov dword [ebp - 0x48], 0x49f0e35d
sub dword [ebp - 0x48], 0xe68176f1
mov dword [ebp - 0x44], 0x450607af
add dword [ebp - 0x44], 0xbaf9f851
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x44e47832
add eax, 0xbb5c08a2
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x34135
push 0
call eax
mov ecx, 0xffdbf93
sub ecx, 0xffd8243
mov esi, eax
mov edx, 0x542195d
add edx, 0xfafef6a3
add edx, dword [ebp - 0x40]
mov ebx, 0x17849388
xor dword [ebp - 0x2c], edx
mov edi, dword [edx]
add dword [ebp - 0x1c], 0x8392d7ef
xor edi, ebx
sub dword [ebp - 0x20], 0xe3207d52
mov dword [esi], edi
sub dword [ebp - 0x2c], ebx
add esi, 4
add edx, 4
loop 0x403f70
add eax, 0xb2e69fe1
add eax, 0x4d1a4832
xor ebx, ebx
add ebx, eax
add eax, 0x30d749eb
sub eax, 0x30d749e6
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret

Function at 0x408913
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
or eax, eax
add esi, 1
call fcn.00408935
xor dword [ebx], ecx
inc ebx
add eax, 0x1051adf8
cmp ebx, edx
jne fcn.00408913
add eax, esi
ret
Function at 0x406760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406784
xor eax, eax
test eax, eax
je 0x406797
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406797
xor ecx, ecx
jmp 0x40679a
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4068f4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068ce
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406925
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406907
pop edi
not eax
pop esi
ret 0xc

Function at 0x40894b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408969
xor dword [ebx], esi
add edx, 0xe3ecdebf
inc ebx
add eax, 1
cmp ebx, edi
jne fcn.0040894b
ret
Function at 0x409888
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 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
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 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
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 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
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 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
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 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
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 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40894e
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
inc edx
call fcn.0040897e
or edx, edx
mov esi, esi
xor dword [edi], eax
add edx, 0xd4fda7c1
inc edi
sub esi, 0x357f4754
add esi, 0xf12e08f2
cmp edi, ecx
jne fcn.0040894e
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4252a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4252b8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42535c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x425357
mov ecx, dword [ebp - 8]
push ecx
call fcn.004257c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x425316
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x425316
xor eax, eax
jmp 0x42535c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4252af
mov esp, ebp
pop ebp
ret
Function at 0x402550
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub ebx, 0xf8
imul edi
not ebx
rol eax, 0xdd
rcl esi, 0xb6
mov edi, 0xe5
rol ebx, 0x9f
dec edx
ror esi, 0x71
dec ebx
bswap eax
not edx
sbb edi, 0x5a
not esi
and edx, 0x30
rcl ebx, 0x6a
not edi
rcr ebx, 0xe9
add eax, 0x44
bswap edx
sub edi, 0xf6
mov edx, 0xf9
sbb edx, 9
rcl ebx, 0x6d
neg edi
neg eax
dec ebx
neg ebx
inc eax
sbb eax, 0x4a
sub edx, 0x17
imul ebx
or edx, 0x39
or ebx, 0x4c
neg edi
add edi, 0x7c
rol esi, 0x1a
and edi, 0xec
rcl eax, 0xc7
sub ebx, 0x41
or ebx, 8
bswap esi
and edi, 0xd6
inc ebx
inc edi
rol ebx, 0xc3
sbb edi, 0xa8
bswap edx
and ebx, 0x4b
inc edx
xor ecx, ecx
xor edi, edi
dec eax
inc edx
mov esi, 0xd6
bswap edi
and edi, 0x64
imul edx
bswap eax
neg eax
imul edx
sbb esi, 0x1b
add eax, 0x4b
bswap ebx
rcr edx, 0x4d
imul edx
inc eax
imul ebx
bswap edi
inc ebx
sbb ebx, 0xfc
not edi
add ebx, 0xe5
not edx
imul eax
or edi, 6
and ebx, 6
dec edi
add ebx, 0x91
dec ebx
or edi, 0x4e
sub eax, 0xb3
dec esi
imul ebx
mov esi, 0x30
imul edi
imul edx
or esi, 0x2f
rcl edi, 0xcd
sub eax, 0x6e
mov edx, 0x93
rcr ebx, 0x93
rcl esi, 0xa9
dec ebx
neg ebx
rol edi, 0x43
neg edi
bswap esi
ror edi, 0x86
bswap ebx
neg edx
bswap eax
mov ecx, dword [ebp + 0xc]
sub eax, 0x5b
not edi
imul eax
rcr ebx, 0xb3
or edx, 0x25
add edx, 0x9c
neg edi
rcr edx, 5
dec eax
and eax, 0x11
or esi, 0xdf
rcr ebx, 0x4a
dec esi
not edx
rcl edi, 0x31
dec ebx
rcl edx, 0xf
neg eax
neg ebx
or edx, 0x35
neg ebx
imul esi
imul eax
rol edi, 0xeb
dec ebx
imul ebx
imul ebx
dec esi
rcl ebx, 0x5f
inc edi
bswap eax
rol esi, 0x93
rol eax, 0x14
sub ebx, 6
rol ebx, 0x99
or esi, 0xfc
rcl edi, 0x34
bswap edi
imul ebx
ror eax, 0x5f
dec eax
bswap ebx
neg eax
add eax, 0xfa
mov edi, 0xdb
rol esi, 0x75
imul esi
inc edi
rol eax, 0x6b
inc eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, eax
mov ebx, esi
not byte [edi]
xor esi, eax
xor eax, eax
mov ebx, eax
mov esi, ebx
xor ebx, eax
xor eax, eax
mov eax, esi
mov eax, ebx
mov eax, ebx
add byte [edi], 0x54
mov eax, esi
xor ebx, eax
xor eax, eax
xor ebx, esi
mov ebx, ebx
xor eax, ebx
mov ebx, ebx
xor ebx, eax
mov eax, esi
sub byte [edi], 0x29
mov ebx, esi
xor esi, ebx
xor eax, ebx
mov esi, ebx
xor ebx, esi
xor ebx, eax
mov ebx, ebx
mov esi, ebx
mov ebx, esi
imul byte [edi]
inc edi
loop 0x4026f5
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405654
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46f094]
jne 0x40565e
repz ret
jmp fcn.0040a035
Function at 0x40b83d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004085ff
and dword [ebp - 4], 0
cmp dword [0x470614], 0
mov ebx, eax
jne 0x40b8ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b99f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b99f
push eax
call fcn.0040858d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470614], eax
call esi
push eax
call fcn.0040858d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470618], eax
call esi
push eax
call fcn.0040858d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47061c], eax
call esi
push eax
call fcn.0040858d
pop ecx
mov dword [0x470624], eax
test eax, eax
je 0x40b8ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040858d
pop ecx
mov dword [0x470620], eax
mov eax, dword [0x470620]
cmp eax, ebx
je 0x40b946
cmp dword [0x470624], ebx
je 0x40b946
push eax
call fcn.00408608
push dword [0x470624]
mov esi, eax
call fcn.00408608
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b946
test edi, edi
je 0x40b946
call esi
test eax, eax
je 0x40b93d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b93d
test byte [ebp - 0xc], 1
jne 0x40b946
or dword [ebp + 0x10], 0x200000
jmp 0x40b97f
mov eax, dword [0x470618]
cmp eax, ebx
je 0x40b97f
push eax
call fcn.00408608
pop ecx
test eax, eax
je 0x40b97f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b97f
mov eax, dword [0x47061c]
cmp eax, ebx
je 0x40b97f
push eax
call fcn.00408608
pop ecx
test eax, eax
je 0x40b97f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470614]
call fcn.00408608
pop ecx
test eax, eax
je 0x40b99f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b9a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4dd990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4b2015
lea edi, [esi - 0xb1015]
push edi
or ebp, 0xffffffff
jmp 0x4dd9b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dd9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9a8
mov eax, 1
add ebx, ebx
jne 0x4dd9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dd9dc
jne 0x4dd9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9fb
dec eax
add ebx, ebx
jne 0x4dd9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dd9c0
add ebx, ebx
jne 0x4dd9f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dda4d
xor ecx, ecx
sub eax, 3
jb 0x4dda13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dda82
sar eax, 1
mov ebp, eax
jmp 0x4dda1e
add ebx, ebx
jne 0x4dda1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9ec
inc ecx
add ebx, ebx
jne 0x4dda2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9ec
add ebx, ebx
jne 0x4dda39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dda2e
jne 0x4dda4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dda2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dda6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dda5e
jmp 0x4dd9ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dda6c
add edi, ecx
jmp 0x4dd9ae
pop esi
mov edi, esi
mov ecx, 0x63d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dda8a
cmp byte [edi], 6
jne 0x4dda8a
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 al, bl
loop 0x4dda8f
lea edi, [esi + 0xdb000]
mov eax, dword [edi]
or eax, eax
je 0x4ddb07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe5a54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe5a90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ddabc
mov ecx, edi
jns 0x4ddaeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe5a98]
or eax, eax
je 0x4ddb01
mov dword [ebx], eax
add ebx, 4
jmp 0x4ddad9
call dword [esi + 0xe5a94]
mov ebp, dword [esi + 0xe5a9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ddb3b
sub esp, 0xffffff80
jmp 0x403180
Function at 0xe1116f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
push ecx
push 4
push dword [ebp + 0x10]
add eax, edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, edi
mov dword [ebp + 0xc], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0xe1121c
push ebx
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [esi]
add ebx, edi
mov dword [ebp - 0xc], edx
mov edi, ebx
test eax, eax
je 0xe111c3
mov edi, dword [ebp - 4]
add edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0xe1120b
mov esi, dword [ebp - 4]
jns 0xe111ea
mov eax, dword [edx + 0x3c]
movzx ecx, cx
mov eax, dword [eax + edx + 0x78]
sub ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0xe111fa
lea eax, [esi + 2]
add eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
add edi, 4
mov dword [ebx], eax
add ebx, 4
mov ecx, dword [edi]
test ecx, ecx
jne 0xe111cc
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
add esi, 0x14
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], esi
test eax, eax
jne 0xe111a3
pop ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xe11235
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 8]
add ebx, ecx
add ebx, dword [ebp + 8]
cmp dword [eax + 0x10], edi
cmovb edi, dword [eax + 0x10]
sub edi, dword [ebp + 8]
cmp edi, 1
jbe 0xe11284
lea eax, [ebp + 8]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [0xe11024]
mov edx, edi
mov ecx, ebx
call fcn.00e11048
pop ecx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
pop ebp
ret