joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444eb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4847c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047d87a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00444850
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047d7a8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047a06c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047a06c
push 1
push 0
push 0
mov ecx, esi
call fcn.0047a014
push 1
push 0
push 1
mov ecx, esi
call fcn.0047a014
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047d8ec
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x445030
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4847e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047d87a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00444850
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047d7a8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4450f4
cmp dword [esp + 0x40], 1
jne 0x4450f2
cmp ecx, eax
jge 0x4450f4
mov eax, ecx
cmp eax, 0xc8
jge 0x445100
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444eb0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047d8ec
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445870
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047848c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047db22
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047f03e
test eax, eax
je 0x44598c
mov ecx, dword [esp + 0x3c]
call fcn.0047db4f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x445950
push edi
mov ecx, esi
call fcn.0047b1b6
mov ecx, esi
call fcn.00445af0
cmp dword [esp + 0x38], 1
jne 0x445985
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047b2f1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4483b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4483e3
push esi
call fcn.00456710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4483dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x448469
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448452
mov eax, dword [esi + 8]
test eax, eax
je 0x448407
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44844e
cmp eax, 2
je 0x448452
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4483fa
cmp eax, 3
je 0x44842d
cmp eax, 1
jne 0x4483fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4483fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4483fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448490
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448478
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448490
add esp, 4
pop esi
ret

Function at 0x448d10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448d31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448d31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448d31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x463a10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x463ab3
test eax, eax
jbe 0x463ab3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x463ab3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x463a5e
xor esi, esi
jmp 0x463a64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x463a8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00465b30
add esi, eax
push esi
mov ebx, esi
call fcn.00465b30
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x463a70
pop ebp
test edi, edi
pop edi
jne 0x463ab3
test ebx, ebx
je 0x463ab3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00468040
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x463c15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x463d2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x463d2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004788de
mov esi, eax
test esi, esi
je 0x463d2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x463d2d
mov ecx, esi
call fcn.00463ba0
cmp edi, eax
jge 0x463d2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x463cb3
mov dword [esp + 0x34], 1
jmp 0x463d0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x463d2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00463140
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x479282
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4792ba
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00477336
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047730e
jmp 0x4792c6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47a970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47a9b2
call fcn.00480424
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47a9b2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47a9a9
xor eax, eax
jmp 0x47a9ba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047a9c0
pop edi
pop esi
pop ebx
ret 4
Function at 0x480954
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x480982
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4809a0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004808ba
jmp 0x4809a0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4809a0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004808ba
test edi, edi
mov eax, edi
jne 0x48098a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402cd0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.DbIconParam
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
jne 0x402d29
mov ecx, dword [0x408a84]
mov edx, dword [0x408a80]
cmp edx, ecx
je 0x402e9b
mov eax, ecx
sub eax, ecx
sar eax, 2
lea esi, [eax*4]
push esi
push ecx
push edx
mov edi, edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add esi, edi
pop edi
mov dword [0x408a84], esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0x20000
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov ecx, 0x10
mov esi, ebx
mov edi, 0x4089c0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea esi, [ebx + 0x40]
mov edi, 0x408980
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea esi, [ebx + 0x80]
mov edi, 0x408a00
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea esi, [ebx + 0xc0]
mov edi, 0x408940
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x100]
xor esi, esi
cmp eax, esi
jne 0x402dca
mov ecx, dword [0x408a84]
mov edx, dword [0x408a80]
cmp edx, ecx
je 0x402e9a
mov eax, ecx
sub eax, ecx
sar eax, 2
lea esi, [eax*4]
push esi
push ecx
push edx
mov edi, edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add esi, edi
pop ebx
pop edi
mov dword [0x408a84], esi
pop esi
mov esp, ebp
pop ebp
ret
add ebx, 0x104
cmp eax, esi
jle 0x402e93
mov edi, ebx
mov dword [ebp - 4], eax
jmp 0x402de2
xor esi, esi
push 0x8c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, esi
je 0x402e40
mov dword [eax + 0x10], esi
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], 0
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], ecx
mov byte [eax + 0x1c], 0
mov dword [eax + 0x48], esi
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x38], 0
mov dword [eax + 0x64], esi
mov dword [eax + 0x68], ecx
mov byte [eax + 0x54], 0
mov dword [eax + 0x74], esi
mov dword [eax + 0x7c], esi
mov dword [eax + 0x78], esi
mov dword [eax + 0x70], esi
mov dword [eax + 0x80], esi
mov dword [eax + 0x84], esi
mov dword [eax + 0x88], esi
mov esi, eax
mov eax, edi
mov dword [ebp - 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e48
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00401300
lea ecx, [edi + 0x200]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402e68
sub eax, dword [ebp - 8]
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.00401300
lea eax, [ebp - 0xc]
call fcn.004032b0
add edi, 0x400
dec dword [ebp - 4]
jne 0x402de0
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4034b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x4034be
repz ret
jmp fcn.004038ce

Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194
Function at 0x520e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xdb000]
push edi
or ebp, 0xffffffff
jmp 0x520ea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x520ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x520e98
mov eax, 1
add ebx, ebx
jne 0x520ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x520ecc
jne 0x520eeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x520eeb
dec eax
add ebx, ebx
jne 0x520ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x520eb0
add ebx, ebx
jne 0x520ee7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x520f3d
xor ecx, ecx
sub eax, 3
jb 0x520f03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x520f72
sar eax, 1
mov ebp, eax
jmp 0x520f0e
add ebx, ebx
jne 0x520f0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x520edc
inc ecx
add ebx, ebx
jne 0x520f1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x520edc
add ebx, ebx
jne 0x520f29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x520f1e
jne 0x520f3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x520f1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x520f5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x520f4e
jmp 0x520e9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x520f5c
add edi, ecx
jmp 0x520e9e
pop esi
mov edi, esi
mov ecx, 0x21f6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x520f7a
cmp byte [edi], 0x15
jne 0x520f7a
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 0x520f7f
lea edi, [esi + 0x11c000]
mov eax, dword [edi]
or eax, eax
je 0x520ff7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x168c48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x168e08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x520fac
mov ecx, edi
jns 0x520fdb
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 + 0x168e10]
or eax, eax
je 0x520ff1
mov dword [ebx], eax
add ebx, 4
jmp 0x520fc9
call dword [esi + 0x168e0c]
mov ebp, dword [esi + 0x168e14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x52102b
sub esp, 0xffffff80
jmp 0x430816
Function at 0x401bab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a382
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xec], 0
jne 0x401bdd
mov ecx, dword [ebp - 0x1c]
call fcn.00401dc3
push 0x40f91c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push str.GameFrame.dll
lea ecx, [ebp - 0x14]
push ecx
call fcn.00404551
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.00402560
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xe4], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0xe4], 0
jne 0x401c93
push 0
push 0
push 0x40f084
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x401d38
push str.GameFrameCmd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc8], eax
push str.OtherMessage
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xfc], eax
push str.GameMessage
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xf8], eax
push str.ChatMessage
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x100], eax
push str.GameTimer
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xcc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret