joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dcf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b97c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
fldz
xor ebx, ebx
fst dword [edi + 4]
or eax, 0xffffffff
fst dword [edi + 8]
lea esi, [edi + 0xec]
fst dword [edi + 0x10]
mov dword [edi], vtable.Sexy::ParticleEmitter.0
fst dword [edi + 0x18]
mov dword [edi + 0xc], ebx
fstp dword [edi + 0x28]
mov ecx, 1
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov byte [edi + 0x25], bl
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x38], bl
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x100], ebx
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
lea eax, [edi + 0x6c]
mov byte [ebp - 4], cl
call fcn.0043fec0
fldz
fst dword [eax]
mov dword [edi + 0x8c], ebx
fst dword [edi + 0x70]
mov dword [edi + 0x90], 0x64
fst dword [edi + 0x74]
fst dword [edi + 0x78]
fst dword [edi + 0x84]
fst dword [edi + 0x88]
fld1
fst dword [edi + 0xa4]
fst dword [edi + 0xb0]
fstp dword [edi + 0xb4]
fst dword [edi + 0xa8]
fst dword [edi + 0xac]
fst dword [edi + 0xb8]
fstp dword [edi + 0xbc]
call fcn.00442dd0
fldz
mov dword [edi + 0x60], ebx
fst dword [edi + 0x5c]
mov byte [edi + 0x24], bl
fst dword [edi + 0x64]
mov dword [edi + 0x68], ebx
fst dword [edi + 0x30]
mov eax, edi
fstp dword [edi + 0x34]
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 0x44f8c0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x44fa60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
ret
Function at 0x452160
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fce3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Sexy::AIMgr.0
mov dword [ebp - 4], 8
mov edi, dword [esi + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4521b0
push edi
call fcn.00405690
push edi
call fcn.0062493b
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x7c]
cmp eax, ebx
je 0x4521d8
mov ecx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x80]
push ecx
call fcn.00490bc0
mov eax, dword [esi + 0x7c]
push eax
call fcn.0062493b
add esp, 8
xor ebx, ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x48]
cmp edi, ebx
je 0x45220e
lea edx, [edi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45220e
cmp edi, ebx
je 0x45220e
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov byte [ebp - 4], 5
mov edi, dword [esi + 0x44]
cmp edi, ebx
je 0x452235
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452235
cmp edi, ebx
je 0x452235
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x40]
cmp edi, ebx
je 0x45225c
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45225c
cmp edi, ebx
je 0x45225c
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [ebp - 4], 3
mov edi, dword [esi + 0x3c]
cmp edi, ebx
je 0x452283
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452283
cmp edi, ebx
je 0x452283
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ebx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00441430
mov eax, dword [ebx + 4]
push eax
call fcn.0062493b
mov dword [ebx + 4], 0
add esp, 4
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.00441430
mov eax, dword [ebx + 4]
push eax
call fcn.0062493b
xor eax, eax
mov dword [ebx + 4], eax
add esp, 4
lea ebx, [esi + 0x18]
mov byte [ebp - 4], al
call fcn.00441430
mov eax, dword [ebx + 4]
push eax
call fcn.0062493b
mov dword [ebx + 4], 0
add esp, 4
lea ebx, [esi + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00441430
mov ecx, dword [ebx + 4]
push ecx
call fcn.0062493b
add esp, 4
mov dword [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbb6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.Sexy::CharacterMgr.0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
fldz
fst dword [esi + 0x4c]
push 0x1c
fst dword [esi + 0x50]
fst dword [esi + 0x54]
fst dword [esi + 0x58]
fst dword [esi + 0x5c]
fst dword [esi + 0x60]
fst dword [esi + 0x64]
fst dword [esi + 0x68]
fst dword [esi + 0x6c]
fst dword [esi + 0x70]
fst dword [esi + 0x80]
fstp dword [esi + 0x84]
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x4554e5
push eax
call fcn.00466a90
jmp 0x4554e7
xor eax, eax
fldz
mov dword [esi + 4], eax
fstp dword [esi + 0x48]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x78], 0x190
mov dword [esi + 0x7c], 0x46
mov dword [esi + 0x2c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x74], 1
mov byte [esi + 0x45], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4589c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fb17
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [ebp - 4], 1
call fcn.0044bd50
mov dword [esi + 0x28], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x28]
mov dword [eax], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 8], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov byte [esi], bl
mov byte [esi + 0x78], bl
mov dword [esi + 0x7c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fa1a
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], vtable.Sexy::FloatingText.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0xb4], eax
mov byte [ebp - 4], 4
mov dword [edi + 4], eax
call fcn.00464510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x466fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f921
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.Sexy::InterfaceMgr.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xa0], 0xf
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x8c], bl
push fcn.00401c70
push fcn.00440ca0
push 2
push 0x1c
lea eax, [esi + 0xb8]
push eax
mov byte [ebp - 4], 1
call fcn.00624ff3
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov byte [ebp - 4], 3
mov dword [esi + 8], edi
mov ecx, dword [edi + 0xb0]
push 0x6c
mov dword [esi + 4], ecx
mov dword [esi + 0x108], 0xa
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x46706f
mov ecx, eax
call fcn.0052f650
jmp 0x467071
xor eax, eax
mov byte [ebp - 4], 3
push 0x6c
mov dword [esi + 0xc], eax
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x467096
mov ecx, eax
call fcn.0052f650
jmp 0x467098
xor eax, eax
mov byte [ebp - 4], 3
push 0x6c
mov dword [esi + 0x10], eax
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4670bd
mov ecx, eax
call fcn.0052f650
jmp 0x4670bf
xor eax, eax
mov byte [ebp - 4], 3
push 0x6c
mov dword [esi + 0x14], eax
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x4670e4
mov ecx, eax
call fcn.0052f650
jmp 0x4670e6
xor eax, eax
mov byte [ebp - 4], 3
push 0x6c
mov dword [esi + 0x18], eax
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x46710b
mov ecx, eax
call fcn.0052f650
jmp 0x46710d
xor eax, eax
mov byte [ebp - 4], 3
fldz
mov ecx, dword [esi + 0xc]
fst dword [esi + 0x40]
mov dword [esi + 0x1c], eax
fstp dword [esi + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push 0x258
push 0x58
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push 0x4a
push 0x270
call eax
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push 0x46
push 0x6e
call eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push 0x258
push 0x58
call eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push 0xe
push 0x270
call eax
lea edi, [esi + 0x20]
mov ebx, 4
push 0x6c
call fcn.00624a6a
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 9
je 0x467194
mov ecx, eax
call fcn.0052f650
jmp 0x467196
xor eax, eax
mov byte [ebp - 4], 3
mov dword [edi], eax
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx + 0x80]
push 1
call eax
add edi, 4
sub ebx, 1
jne 0x467176
mov eax, esi
mov dword [esi + 0x10c], 0xffffffff
call fcn.00467c40
mov eax, esi
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 0x46c2b0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, eax
push edi
mov ecx, esi
call fcn.0060bf70
lea eax, [edi + 4]
push eax
mov ecx, esi
call fcn.0060c100
add edi, 5
push edi
mov ecx, esi
call fcn.0060c100
mov ecx, esi
pop edi
jmp fcn.0060c0a0
Function at 0x47ab30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f5d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.Sexy::SoundMgr.0
call fcn.0048c9a0
mov dword [edi + 8], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.0048c9a0
mov dword [edi + 0x2c], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x2c]
mov dword [eax], eax
mov eax, dword [edi + 0x2c]
mov dword [eax + 8], eax
mov dword [edi + 0x30], ebx
mov byte [ebp - 4], 1
call fcn.00443e50
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebx
mov byte [ebp - 4], 2
call fcn.0047b160
fld1
fstp dword [edi + 0x14]
mov byte [edi + 0x1c], bl
fldz
mov byte [edi + 0x24], bl
fstp dword [edi + 0x18]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4af790
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64eab8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6af168]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x5c]
lea esi, [edi + 0x8c]
call fcn.005504e0
push 1
push 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov byte [ebp - 0x30], 0x2c
call fcn.00443880
cmp eax, 0xffffffff
mov ebx, 0x10
jne 0x4af826
cmp dword [esi + 0x18], ebx
jb 0x4af7f2
mov esi, dword [esi + 4]
jmp 0x4af7f5
add esi, 4
push esi
lea edx, [ebp - 0x2c]
push str.b0__s_0.01_1__________P
push edx
call fcn.004e7a20
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x5c]
add esp, 0xc
lea esi, [ebp - 0x2c]
call fcn.005504e0
cmp dword [ebp - 0x14], ebx
jb 0x4af826
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0062493b
add esp, 4
lea esi, [ebp - 0x68]
call fcn.004e61a0
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [eax + 0x18], ebx
jb 0x4af83d
mov eax, dword [eax + 4]
jmp 0x4af840
add eax, 4
push eax
lea edx, [ebp - 0x4c]
push str.LevelEditorCurvedValEdit.exe
push edx
call fcn.004e7a20
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x4af85c
mov eax, dword [eax + 4]
jmp 0x4af85f
add eax, 4
push 1
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 0x34], ebx
jb 0x4af881
mov eax, dword [ebp - 0x48]
push eax
call fcn.0062493b
add esp, 4
cmp dword [ebp - 0x50], ebx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
jb 0x4af8a0
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0062493b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00624940
mov esp, ebp
pop ebp
ret
Function at 0x4bc9d0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6af168]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6b9ce0], 0
jne 0x4bca4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x104]
push str.gPakInterfaceP__d
push eax
call fcn.0062635f
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6b9ce0], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6b9ce4], eax
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00624940
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [0x6b9ce4]
mov eax, dword [edx]
xor ecx, ebp
call fcn.00624940
mov esp, ebp
pop ebp
ret

Function at 0x4bcb60
Capabilities:
Read file on windows

Disassembly:
call fcn.004bc9d0
test eax, eax
je 0x4bcb7d
mov eax, dword [0x6b9ce4]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push 1
push ebx
call eax
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push 1
push ebx
call fcn.00626e1f
add esp, 0x10
ret

Function at 0x4bf710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x4bf430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x2e0], eax
mov dword [esi + 0x2e4], ecx
cmp byte [edx + 0x80d], 0
je 0x4bf764
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xa
call edi
mov eax, dword [esi + 0x8c]
cmp byte [eax + 0x80d], 0
jne 0x4bf750
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4c9c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x78
mov edi, eax
call fcn.00624a6a
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4c9c86
mov dword [eax + 0x18], ebx
mov ecx, 0xf
mov dword [eax + 0x1c], ecx
mov byte [eax + 8], bl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov byte [eax + 0x24], bl
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ebx
mov byte [eax + 0x40], bl
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ebx
mov byte [eax + 0x5c], bl
mov esi, eax
jmp 0x4c9c88
xor esi, esi
push 0x78
push ebx
push esi
call fcn.0062a710
mov eax, str.open
add esp, 0xc
mov dword [esi], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c9ca0
sub eax, edx
push eax
push str.open
lea ecx, [esi + 4]
call fcn.00402300
cmp edi, ebx
je 0x4c9cd7
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c9cc2
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x20]
call fcn.00402300
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4c9cf8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c9ce3
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x3c]
call fcn.00402300
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x4c9b20
push ebx
push ebx
mov dword [esi + 0x74], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [0x6b9ce8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cab00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x64af88
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x1a8]
push 0xffffffffffffffff
xor esi, esi
add eax, 0x8c
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
call fcn.00401d10
mov dword [esp + 0x80], esi
cmp dword [esp + 0x38], esi
lea edi, [esi + 0x10]
je 0x4caba3
cmp dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x28]
jae 0x4cab7f
lea ecx, [esp + 0x28]
cmp dword [ebx + 0x1d8], edi
lea esi, [ebx + 0x1c0]
jb 0x4cab92
mov eax, dword [esi + 4]
jmp 0x4cab95
lea eax, [esi + 4]
push ecx
push eax
call fcn.0062517b
add esp, 8
test eax, eax
jne 0x4cabb7
cmp dword [esp + 0x3c], edi
jb 0x4cacf5
mov eax, dword [esp + 0x28]
push eax
jmp 0x4caced
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00401d10
xor edi, edi
mov dword [esp + 0x20], edi
lea ecx, [ecx]
mov esi, dword [ebx + 0x1ac]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4cabfb
mov ecx, dword [esi + 0xa4]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x4cac7a
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4cac28
mov ecx, dword [esi + 0xa4]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4cac2d
call fcn.0062492b
mov esi, dword [esi + 0xa0]
add esi, dword [esp + 0x20]
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x4cac46
mov esi, dword [esi + 4]
jmp 0x4cac49
add esi, 4
cmp dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
jae 0x4cac57
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0062517b
add esp, 8
test eax, eax
je 0x4cac72
add edi, 1
add dword [esp + 0x20], 0x1c
jmp 0x4cabd0
test edi, edi
mov dword [esp + 0x20], edi
jge 0x4cac8e
mov ecx, dword [ebx + 0x1ac]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push 0xffffffffffffffff
call eax
jmp 0x4cace1
mov ecx, dword [ebx + 0x1ac]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push edi
call eax
fild dword [esp + 0x20]
mov ecx, dword [ebx + 0x1b0]
fcom qword [ecx + 0xa0]
fnstsw ax
test ah, 5
jnp 0x4caccd
mov eax, ecx
fld qword [eax + 0xb0]
fadd qword [eax + 0xa0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x4cacdf
mov edx, dword [ecx]
mov eax, dword [edx + 0x124]
sub esp, 8
fstp qword [esp]
call eax
jmp 0x4cace1
fstp st(0)
cmp dword [esp + 0x3c], 0x10
jb 0x4cacf5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0062493b
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret
Function at 0x4cb780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x78
mov edi, eax
call fcn.00624a6a
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4cb7c6
mov dword [eax + 0x18], ebx
mov ecx, 0xf
mov dword [eax + 0x1c], ecx
mov byte [eax + 8], bl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov byte [eax + 0x24], bl
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ebx
mov byte [eax + 0x40], bl
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ebx
mov byte [eax + 0x5c], bl
mov esi, eax
jmp 0x4cb7c8
xor esi, esi
push 0x78
push ebx
push esi
call fcn.0062a710
mov eax, str.open
add esp, 0xc
mov dword [esi], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4cb7e0
sub eax, edx
push eax
push str.open
lea ecx, [esi + 4]
call fcn.00402300
cmp edi, ebx
je 0x4cb817
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4cb802
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x20]
call fcn.00402300
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4cb838
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4cb823
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x3c]
call fcn.00402300
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x4cb6e0
push ebx
push ebx
mov dword [esi + 0x74], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [0x6b9cf0], eax
pop ebx
mov esp, ebp
pop ebp
ret