joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40a6f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x4b4590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
call fcn.0040b140
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
call fcn.0040b140
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c1], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c0], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x1bc], 0
push 0x400
push 0
lea eax, [ebp - 0x808]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [ebp - 0x808]
mov dword [ebp - 0x80c], eax
mov byte [ebp - 0x80d], 0
mov eax, dword [ebp - 0x80c]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040a830
movzx ecx, al
test ecx, ecx
je 0x40a798
mov byte [ebp - 0x80d], 1
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x80c]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x80c], edx
mov eax, dword [ebp - 0x80c]
movzx ecx, word [eax]
test ecx, ecx
jne 0x40a77b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x1bc]
cmp edx, dword [ecx + 0x1b8]
jle 0x40a7e2
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c0], 1
jmp 0x40a800
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x1bc]
cmp edx, dword [ecx + 0x1b8]
jge 0x40a800
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c1], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1bc]
mov dword [eax + 0x1b8], edx
mov al, byte [ebp - 0x80d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c3b8
mov esp, ebp
pop ebp
ret
Function at 0x424c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x424c39
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 4]
call fcn.00427510
xor al, al
jmp 0x424dc4
mov ecx, dword [ebp - 4]
call fcn.00423df0
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00423b90
mov dword [ebp - 8], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
cmp dword [ebp - 8], 0
jg 0x424ca2
push 0
push 0
push 0
push 0xc
mov ecx, dword [ebp - 4]
call fcn.00427510
xor al, al
jmp 0x424dc4
mov eax, dword [ebp - 8]
add eax, 1
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x424d05
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 4]
call fcn.00427510
xor al, al
jmp 0x424dc4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0xd
mov byte [ebp - 0x16], 0xa
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x424d83
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x424d65
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x424d63
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x424d81
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x424d22
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 4]
call fcn.00424dd0
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x428ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e09
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4b4590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CDownloadRamdiskMgr.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
call fcn.00429170
mov ecx, dword [ebp - 0x10]
call fcn.00429570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c3b8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b4590]
jne 0x42c3c2
repz ret
jmp fcn.0042c9f3

Function at 0x42d0d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov edx, dword [esp + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42d112
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
push 8
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0042d050
lea ecx, [esp + 4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov ecx, dword [esp + 0x20]
lea edx, [esp]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
push edx
call sub.QtCore4.dll_void___cdecl_qWinMain_struct_HINSTANCE_____struct_HINSTANCE_____char___int__int___class_QVector_char____
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 0x18
cmp ecx, 1
je 0x42d176
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
lea ecx, [esp + 8]
call fcn.0042cea0
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
push esi
add eax, 0x10
push eax
push ecx
call fcn.00419ba0
mov esi, eax
mov eax, dword [esp + 0xc]
add esp, 8
test eax, eax
je 0x42d1ae
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x42d1ae
mov eax, dword [esp + 4]
push 4
push eax
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QVectorData::free_struct_QVectorData___int_]
add esp, 8
mov ecx, dword [esp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42d1c9
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, esi
pop esi
add esp, 0x10
ret 0x10

Function at 0x433379
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 4]
cmp byte [edx + 3], 1
jne 0x43335a
lea eax, [edx + 4]
ret
lea eax, [edx + 4]
push ebx
mov ecx, eax
mov bl, byte [edx + 2]
test bl, bl
je 0x433369
xor byte [ecx], bl
mov bl, byte [ecx]
not bl
test bl, bl
mov byte [ecx], bl
je 0x433376
inc ecx
jmp 0x433360
mov byte [edx + 3], 1
pop ebx
ret
Function at 0x1023440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x1023480
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x102e0bc]
test eax, eax
jne 0x10234a4
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0x93231e3
mov ecx, eax
call fcn.010240f0
mov dword [0x102e0bc], eax
call eax
mov ebx, eax
mov eax, dword [0x102dddc]
test eax, eax
jne 0x10234cc
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.010240f0
mov dword [0x102dddc], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x1023582
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x1023572
cmp ebx, 8
jb 0x1023557
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x1023516
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x1023557
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x1023530
cmp edx, ebx
jae 0x1023572
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x1023560
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1023580
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10235f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x1023619
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x102e0bc]
test eax, eax
jne 0x102363d
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0x93231e3
mov ecx, eax
call fcn.010240f0
mov dword [0x102e0bc], eax
call eax
mov edi, eax
mov eax, dword [0x102dddc]
test eax, eax
jne 0x1023665
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.010240f0
mov dword [0x102dddc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x10236e5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x10236da
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x10236a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x10236f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x102371a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x102e0bc]
test eax, eax
jne 0x102373e
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0x93231e3
mov ecx, eax
call fcn.010240f0
mov dword [0x102e0bc], eax
call eax
mov edi, eax
mov eax, dword [0x102dddc]
test eax, eax
jne 0x1023766
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.010240f0
mov dword [0x102dddc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x10237d2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x10237ca
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x10237a0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1023ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x3d42
shr dword [esp + 4], 4
imul eax, dword [esp + 4], 0x5d
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
imul eax, dword [esp + 8], 0x57
mov dword [esp + 8], eax
xor dword [esp + 8], 0x4ecad597
or dword [esp + 8], 0x3c04465
mov eax, dword [esp + 8]
shl eax, 6
mov dword [esp + 8], eax
shr dword [esp + 8], 7
add dword [esp + 8], 0xffff768f
xor dword [esp + 8], 0x1f8ad06
mov dword [esp + 4], 0x727d
imul eax, dword [esp + 4], 0x6d
mov dword [esp + 4], eax
mov eax, 0x6c16c16d
shl dword [esp + 4], 0xf
xor dword [esp + 4], 0xf3d1e7b4
mov ecx, dword [esp + 4]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 4], ecx
shr dword [esp + 4], 1
add dword [esp + 4], 0xb65
mov ecx, dword [esp + 4]
mul ecx
shr edx, 5
mov dword [esp + 4], edx
xor dword [esp + 4], 0xe6a8e
mov dword [esp + 4], 0x5917
add dword [esp + 4], 0xac1f
shr dword [esp + 4], 3
shl dword [esp + 4], 0xa
xor dword [esp + 4], 0xbfc66964
xor dword [esp + 4], 0x8e435246
shl dword [esp + 4], 0xc
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 4], ecx
xor dword [esp + 4], 0xd874a010
cmp byte [ebx], 0
je 0x1023ed7
push esi
push edi
jmp 0x1023df0
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x727d
imul eax, dword [esp + 0xc], 0x6d
mov dword [esp + 0xc], eax
mov eax, 0x6c16c16d
shl dword [esp + 0xc], 0xf
xor dword [esp + 0xc], 0xf3d1e7b4
mov ecx, dword [esp + 0xc]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0xc], ecx
shr dword [esp + 0xc], 1
add dword [esp + 0xc], 0xb65
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0xe6a8e
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x5917
add dword [esp + 0xc], 0xac1f
shr dword [esp + 0xc], 3
shl dword [esp + 0xc], 0xa
xor dword [esp + 0xc], 0xbfc66964
xor dword [esp + 0xc], 0x8e435246
shl dword [esp + 0xc], 0xc
imul eax, dword [esp + 0xc], 0x35
shl esi, cl
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 0xc], ecx
xor dword [esp + 0xc], 0xd874a010
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x1023df0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x10240f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x102414c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.01023ce0
xor eax, 0x4d07de46
cmp eax, dword [esp + 0x10]
je 0x1024156
inc esi
cmp esi, dword [edi + 0x18]
jb 0x1024130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x1024184
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x1024184
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x1024400
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x1024426
cmp al, 0x2e
je 0x1024423
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x1024413
jmp 0x1024426
mov byte [edx], 0
mov eax, dword [0x102dc34]
test eax, eax
jne 0x102444a
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0xba3f6171
mov ecx, eax
call fcn.010240f0
mov dword [0x102dc34], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x1024491
mov eax, dword [0x102dd68]
test eax, eax
jne 0x102447b
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0x922c65aa
mov ecx, eax
call fcn.010240f0
mov dword [0x102dd68], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x1024491
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.01023ce0
xor eax, 0x4d07de46
mov ecx, edi
mov edx, eax
call fcn.010240f0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x10246c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x102485e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x102485e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x102485e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x102485e
mov eax, dword [0x102db70]
test eax, eax
jne 0x102472b
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0x74d6780c
mov ecx, eax
call fcn.010240f0
mov dword [0x102db70], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x1024855
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x102dac0]
test eax, eax
jne 0x102478b
mov ecx, 0xad0f0712
call fcn.01024190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.010240f0
mov dword [0x102dac0], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x102480e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x102dac0]
test eax, eax
jne 0x10247f6
mov ecx, 0xad0f0712
call fcn.01024190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.010240f0
mov dword [0x102dac0], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x10247b5
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.01024990
mov edx, edi
mov ecx, ebx
call fcn.010248a0
pop esi
test eax, eax
jne 0x1024855
mov eax, dword [0x102dcc0]
test eax, eax
jne 0x1024849
mov ecx, 0xf05fc174
call fcn.01024190
mov edx, 0xb7f50111
mov ecx, eax
call fcn.010240f0
mov dword [0x102dcc0], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret