Function at 0x10004640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100e8ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x10132f1c]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x64]
xor edi, edi
mov dword [esp + 0x30], edi
mov ecx, eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x2c0], 1
mov edx, dword [esp + 0x74]
mov byte [edx], 0
mov dword [esp + 0x2c0], 2
mov edi, edi
cmp dword [fcn.10234fa4], edi
jne 0x100046d2
push eax
mov ecx, esi
call fcn.10004430
jmp 0x10004896
mov dl, dl
mov dh, dh
mov dword [esp + 0x1c], edi
xchg ebx, eax
xchg ebx, eax
mov cl, cl
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x48]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
push ebx
call fcn.1002a4f0
add esp, 0x28
test eax, eax
jne 0x1000471e
lea ecx, [esp + 0x64]
push ecx
jmp 0x1000488f
mov dword [esp + 0x20], edi
mov edx, edx
fld dword [ebp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
push eax
mov eax, dword [ebx + 0x3800]
push ecx
push edx
push eax
call dword [fcn.10234fa4]
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x34], edi
mov al, al
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100aa16b
add esp, 4
mov dword [esp + 0x1c], 0
mov bh, bh
test edi, edi
je 0x10004877
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10004877
xor edi, edi
test eax, eax
jle 0x10004859
mov esi, dword [esp + 0x34]
add esi, 0xc
lea esp, [esp]
mov bh, bh
mov ebp, ebp
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x3800]
lea edx, [esp + 0x17c]
push edx
push eax
push ecx
call dword [0x10234fb0]
add esp, 0xc
mov bl, bl
fld dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
add ecx, dword [esp + 0x24]
push edx
mov edx, dword [esi - 0xc]
add edx, dword [esp + 0x2c]
push eax
push ecx
push edx
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x98]
push 0x100ee8f8
push ecx
call dword [0x10244260]
add esp, 0x24
push ecx
pop ecx
test edi, edi
jle 0x1000481b
push 0x100ee8e5
push 0x100ee8e4
lea ecx, [esp + 0x6c]
call fcn.100044a0
mov dh, dh
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10004822
sub eax, edx
lea edx, [esp + eax + 0x7c]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x6c]
call fcn.100044a0
mov bl, bl
add edi, 1
add esi, 0x18
cmp edi, dword [esp + 0x20]
jl 0x100047a0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x3800]
push ecx
push edx
call dword [fcn.10234fa8]
add esp, 8
mov dl, dl
lea eax, [esp + 0x64]
push eax
jmp 0x1000488f
mov ecx, dword [ebx + 0x3800]
push edi
push ecx
call dword [fcn.10234fa8]
add esp, 8
mov ecx, ecx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.10004430
mov dword [esp + 0x30], 1
mov byte [esp + 0x2c0], 0
lea ecx, [esp + 0x64]
call fcn.10001f20
mov eax, esi
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.100aa646
mov esp, ebp
pop ebp
ret