joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10116049
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x5c]
cmp ecx, dword [eax + 0x5c]
je 0x10116066
xor eax, eax
inc eax
jmp 0x1011617c
mov ecx, dword [edi + 0xa8]
cmp ecx, dword [eax + 0xa8]
jne 0x1011605e
mov ecx, dword [edi + 0x4c]
cmp ecx, dword [eax + 0x4c]
jne 0x1011605e
mov edx, dword [ebp + 0x10]
and edx, 1
mov dword [ebp - 8], edx
jne 0x101160a0
cmp dword [edi + 0x90], 0
jne 0x101160a0
mov edx, dword [edi + 0x54]
cmp edx, dword [eax + 0x54]
je 0x101160a0
push 2
pop eax
jmp 0x1011617c
and dword [ebp - 4], 0
test ecx, ecx
push ebx
push esi
jbe 0x10116178
and dword [ebp + 8], 0
mov esi, dword [edi + 0x48]
add esi, dword [ebp + 8]
movzx ecx, word [esi]
cmp cx, 0x64
jne 0x101160cb
cmp dword [ebp - 8], 0
jne 0x10116165
cmp cx, 0xcc
jne 0x101160dc
cmp dword [ebp - 8], 0
jne 0x10116165
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x148]
mov ebx, eax
test ebx, ebx
je 0x1011617f
mov eax, dword [edi]
push 0
push esi
push edi
call dword [eax + 0x15c]
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x15c]
cmp dword [ebp - 0xc], eax
jne 0x10116183
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + 0x18]
jne 0x10116187
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10116127
mov edx, dword [ecx + 0x1c]
jmp 0x10116129
xor edx, edx
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x10116135
mov eax, dword [ebx + 0x1c]
jmp 0x10116137
xor eax, eax
cmp edx, eax
jne 0x1011618b
cmp dword [ebp - 0xc], 0
je 0x10116162
test ecx, ecx
je 0x1011615e
test ebx, ebx
je 0x1011615a
mov esi, ecx
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x44]
test al, al
jne 0x10116162
push 8
jmp 0x10116191
test ecx, ecx
jne 0x1011618f
test ebx, ebx
jne 0x1011618f
mov eax, dword [ebp + 0xc]
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
add dword [ebp + 8], 0x1c
cmp ecx, dword [edi + 0x4c]
jb 0x101160b2
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
push 3
jmp 0x10116191
push 4
jmp 0x10116191
push 5
jmp 0x10116191
push 6
jmp 0x10116191
push 7
pop eax
jmp 0x1011617a
Function at 0x10128936
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x101289b8
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x10128983
test edi, edi
mov byte [esi + 0x2d], 0xff
jbe 0x10128983
cmp edi, ebx
jge 0x10128983
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x101289b2
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x101289b2
mov eax, dword [esi]
and word [esi + 0x1e], 0
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x101289ca
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10128c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp byte [0x10327400], al
push edi
mov edi, dword [ebp + 0xc]
je 0x10128c87
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10128ceb
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call sym.rt3d.dll_void___stdcall_AtoW_char_const___unsigned_short_int__
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013fce4
leave
ret 0x10

Function at 0x10128cfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10327400], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10128d28
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x10128d59
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10128d57
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.rt3d.dll_int___stdcall_AtoWex_char_const___unsigned_short_int___int_
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10128d59
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1013fce4
leave
ret 8
Function at 0x10128dde
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10327400], 0
mov eax, dword [ebp + 8]
je 0x10128e06
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10128e20
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1013fce4
leave
ret 4

Function at 0x10128fc0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10327400], 0
mov eax, dword [ebp + 8]
je 0x10128fe8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10129007
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.rt3d.dll_int___stdcall_WtoAex_unsigned_short_int_const___char___int_
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013fce4
leave
ret
Function at 0x1012902f
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp + 0x788], eax
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x798]
push esi
push edi
mov edi, dword [ebp + 0x794]
mov esi, dword [ebp - 0x7c]
lea esi, [esi*4 + 0x1019c2dc]
push dword [esi]
call dword [sym.imp.MSVCR80.dll_wcslen]
push eax
push dword [esi]
mov dword [ebp - 0x80], eax
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x101290b0
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 3
jl 0x1012905d
push edi
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy]
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013fce4
add ebp, 0x78c
leave
ret
mov eax, dword [ebp - 0x80]
lea edi, [edi + eax*2]
cmp word [edi], 0x5c
jne 0x101290be
inc edi
inc edi
mov eax, dword [ebp - 0x7c]
cmp eax, 0xffffffff
je 0x1012908c
test eax, eax
je 0x10129102
cmp eax, 1
je 0x101290ec
cmp eax, 2
jne 0x10129096
mov eax, dword [0x10327408]
mov ecx, dword [eax]
push 0x104
push ebx
push 1
push eax
call dword [ecx + pe_nt_image_headers32]
jmp 0x10129156
mov eax, dword [0x10327408]
push 0x104
push ebx
add eax, 0x10
push eax
call sym.rt3d.dll_public:_int___stdcall_e3_STRING::Get_unsigned_short_int___int_const
jmp 0x10129156
and word [ebx], 0
lea eax, [ebp - 0x78]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [ebp - 0x78]
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
mov dword [ebp - 0x80], eax
je 0x10129133
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x10129142
mov eax, dword [ebp - 0x80]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x10129118
jmp 0x1012914c
push esi
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy]
pop ecx
pop ecx
cmp word [ebx], 0
je 0x10129096
push ebx
call fcn.100ecaf9
push edi
push ebx
call dword [sym.imp.MSVCR80.dll_wcscat]
add esp, 0xc
mov al, 1
jmp 0x10129098
Function at 0x1012a766
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x254], edi
je 0x1012a7c2
cmp dword [eax + 0x264], edi
je 0x1012a8a8
cmp byte [0x10327400], 0
push eax
push dword [eax + 0x250]
je 0x1012a7af
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1012a7b5
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x264], eax
jmp 0x1012a8a8
mov eax, dword [eax + 0x25c]
cmp eax, edi
je 0x1012a944
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
mov eax, dword [esi]
cmp dword [eax + 0x260], edi
pop ecx
pop ecx
je 0x1012a80e
lea eax, [ebp - 0x234]
push eax
call fcn.100ecaf9
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
add esp, 0xc
mov eax, dword [esi]
mov cl, byte [eax + 0x268]
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xffffff90
add ecx, 0x80
mov dword [eax], ecx
cmp byte [0x10327400], 0
je 0x1012a842
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
jmp 0x1012a864
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 0x250], 0xffffffff
setne cl
mov dword [eax + 0x264], ecx
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
jne 0x1012a890
mov dword [eax + 0x250], edi
mov ecx, dword [esi]
xor eax, eax
inc eax
mov dword [ecx + 0x254], eax
mov ecx, dword [esi]
cmp dword [ecx + 0x264], edi
jne 0x1012a8a8
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
je 0x1012a8ca
cmp byte [0x10327400], 0
jne 0x1012a8ca
push dword [eax + 0x258]
add eax, 0x2c
push eax
call sym.rt3d.dll_void___stdcall_AtoW_char_const___unsigned_short_int__
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [eax + 0x26c], ecx
mov edx, dword [esi]
mov ebx, dword [edx + 0x26c]
mov ecx, ebx
shr ecx, 4
and ecx, 1
je 0x1012a8ff
push esi
xor ecx, ecx
call sym.rt3d.dll_public:_unsigned_short_int_const____stdcall_e3_FILEITERATOR::GetFileName_void_
cmp word [eax], 0x2e
je 0x1012a908
test byte [edx + 0x268], 3
jne 0x1012a90b
jmp 0x1012a908
test byte [edx + 0x268], 1
je 0x1012a90b
xor ecx, ecx
inc ecx
cmp dword [edx + 0x264], edi
je 0x1012a924
cmp ecx, edi
jne 0x1012a77f
test bl, 2
jne 0x1012a77f
mov eax, edx
xor ecx, ecx
cmp dword [eax + 0x264], edi
setne cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013fce4
leave
ret 4
xor al, al
jmp 0x1012a933
Function at 0x1012c4a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push esi
push edi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_e3_RENDERABLE2::Render_class_e3_VIEWPORT___class_e3_NODE___struct_MATRIX3D_const___struct_RENDER_SPEC___class_e3_CONTEXT__
test eax, eax
mov esi, dword [esi + 0x14]
mov dword [ebp + 0xc], eax
jle 0x1012c5b8
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x140]
test byte [ecx + 0x2c], 0x40
je 0x1012c5b8
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x1c], 0
je 0x1012c5b8
mov eax, dword [edi + 0x48]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x44]
test al, al
je 0x1012c5b8
test word [ebx + 0x3c], 0x200
je 0x1012c54a
push dword [ebp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
mov eax, dword [edi + 0x48]
mov ebx, dword [esi]
push 0
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
push edi
add ebx, 0xa0
call dword [eax + 0x158]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 0x5c]
push 0
push eax
push esi
call dword [ebx]
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x4c]
jmp 0x1012c5b8
mov eax, dword [edi + 0x78]
and dword [ebp + 0x1c], 0
cmp dword [eax + 0x1c], 0
jle 0x1012c5b8
mov eax, dword [edi + 0x78]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x1012c5aa
test word [eax + 0x3c], 0x200
je 0x1012c5aa
push dword [ebp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
mov eax, dword [edi + 0x48]
push dword [ebp + 0x18]
mov ebx, dword [esi]
mov dword [ebp + 0x10], eax
mov eax, dword [edi]
push edi
add ebx, 0xa0
call dword [eax + 0x158]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x5c]
push 0
push eax
push esi
call dword [ebx]
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x4c]
inc dword [ebp + 0x1c]
mov eax, dword [edi + 0x78]
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [eax + 0x1c]
jl 0x1012c557
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x1013fce4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019c828]
jne 0x1013fcee
repz ret
jmp fcn.101406e2
Function at 0x40102b
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
push esp
pop ebp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
sub edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.004011dd
test eax, eax
je 0x40118f
lea ecx, [esp + 0x18]
call fcn.004011dd
lea ecx, [esp + 0x18]
test eax, eax
je 0x4010fe
call fcn.004011dd
test eax, eax
je 0x4010bc
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.004011dd
lea edi, [eax + edi*2]
dec ebx
jne 0x40108e
mov edx, dword [esp + 0x1c]
or edi, edi
je 0x4010af
push edx
pop eax
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x4010b2
mov byte [edx], 0
mov ebx, dword [esp + 0x10]
inc edx
jmp 0x4011a1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x4010f2
or ecx, ecx
je 0x40118a
push edx
pop edi
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x4010e4
jmp 0x401186
sub ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40118a
call fcn.004011bc
or edi, edi
jne 0x401133
cmp eax, 2
jne 0x40112e
lea ecx, [esp + 0x18]
call fcn.004011bc
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x40118a
push edx
pop ecx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x401123
jmp 0x401186
sub eax, 3
jmp 0x401136
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
jmp 0x479190
mov dword [esp + 0x1c], edx
sub edi, edi
inc edi
jmp 0x4011a7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
or ebx, ebx
je 0x40105e
sub edx, dword [esp + 0x14]
pop edi
pop esi
push edx
pop eax
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x401271
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
push esi
push ecx
pop esi
sub ecx, ecx
mov edx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
add edx, esi
mov dword [eax], ecx
mov eax, 0x14c
push edi
push ecx
pop edi
cmp word [edx + 4], ax
jne 0x4013b8
push ebx
mov ebx, dword [edx + 0x88]
mov dword [ebp - 0x14], ebx
or ebx, ebx
je 0x4013b7
cmp dword [edx + 0x8c], ecx
je 0x4013b7
movzx eax, word [edx + 0x14]
add eax, 0x18
add eax, edx
movzx edx, word [edx + 6]
or edx, edx
je 0x4013b7
cmp dword [eax + 0xc], ebx
je 0x4012e2
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x4012d0
jmp 0x4013b7
mov edx, dword [eax + 0x14]
add edx, esi
push 0
movzx ecx, word [edx + 0xe]
movzx eax, word [edx + 0xc]
add ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], ecx
pop ebx
je 0x4013b7
xor eax, eax
mov esi, dword [edx + eax*8 + 0x14]
and esi, 0x7fffffff
add esi, edx
push 0
movzx ecx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
add ecx, eax
mov dword [ebp - 0x18], ecx
pop ecx
mov dword [ebp - 0xc], ecx
je 0x4013aa
xor eax, eax
cmp word [esi + eax*8 + 0x10], 0x65
jne 0x40139a
mov ecx, dword [esi + eax*8 + 0x14]
and ecx, 0x7fffffff
add ecx, edx
mov dword [ebp - 8], 0
movzx eax, word [ecx + 0xe]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0xc]
add dword [ebp - 4], eax
je 0x401393
sub eax, eax
mov edx, 0x409
cmp word [ecx + eax*8 + 0x10], dx
mov edx, dword [ebp - 0x10]
je 0x401376
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, ax
cmp eax, dword [ebp - 4]
jb 0x401356
jmp 0x401393
mov ecx, dword [ecx + eax*8 + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + edx]
sub eax, dword [ebp - 0x14]
add eax, edx
mov dword [edi], eax
mov eax, dword [ecx + edx + 4]
mov ecx, dword [ebp + 0x10]
sub edi, edi
mov dword [ecx], eax
inc edi
or edi, edi
jne 0x4013b7
mov ecx, dword [ebp - 0xc]
inc ecx
movzx eax, cx
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x18]
jb 0x401329
or edi, edi
jne 0x4013b7
inc ebx
movzx eax, bx
cmp eax, dword [ebp - 0x1c]
jb 0x401302
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x4013f3
mov al, byte [ebp + 0xc]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [ebp + 8]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x4013d6
jmp 0x4013f6
mov eax, dword [ebp + 8]
test edi, edi
je 0x401400
xor byte [esi], al
inc esi
dec edi
jne 0x4013fa
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x1f76b
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047950e
Function at 0x1028850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x102886a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1028871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1028860
mov eax, 1
add ebx, ebx
jne 0x1028883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1028878
jne 0x1028894
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1028878
xor ecx, ecx
sub eax, 3
jb 0x10288a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x102891a
mov ebp, eax
add ebx, ebx
jne 0x10288b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10288c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10288e4
inc ecx
add ebx, ebx
jne 0x10288d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10288c5
jne 0x10288e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10288c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1028904
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10288f5
jmp 0x1028866
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1028904
add edi, ecx
jmp 0x1028866
pop esi
mov edi, esi
mov ecx, 0x898
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1028922
cmp byte [edi], 5
jne 0x1028922
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 0x1028927
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x102899f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a188]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a31c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1028954
mov ecx, edi
jns 0x1028983
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 + 0x2a324]
or eax, eax
je 0x1028999
mov dword [ebx], eax
add ebx, 4
jmp 0x1028971
call dword [esi + 0x2a320]
mov ebp, dword [esi + 0x2a328]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x10289d3
sub esp, 0xffffff80
jmp 0x1017cc9
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..retplne
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x139a7799
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..reloc
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x756255a0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219