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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10178d28
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x101ce00c]
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 bl, bl
cmp dword [fcn.101d00c4], edi
jne 0x10004942
push eax
mov ecx, esi
call fcn.10003dd0
jmp 0x10004b05
test eax, 0x6580
mov dl, dl
mov dword [esp + 0x1c], edi
test edi, edi
test dl, dl
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.10059b10
add esp, 0x28
test eax, eax
jne 0x10004991
lea ecx, [esp + 0x64]
push ecx
jmp 0x10004afe
mov dword [esp + 0x20], edi
mov ebx, ebx
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 + 0x37f8]
push ecx
push edx
push eax
call dword [fcn.101d00c4]
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x34], edi
test ebx, ebx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10117bef
add esp, 4
mov dword [esp + 0x1c], 0
mov cl, cl
test edi, edi
je 0x10004ae6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10004ae6
xor edi, edi
test eax, eax
jle 0x10004ac8
mov esi, dword [esp + 0x34]
add esi, 0xc
nop
mov eax, eax
mov cl, cl
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x37f8]
lea edx, [esp + 0x17c]
push edx
push eax
push ecx
call dword [0x101d00d0]
add esp, 0xc
test ch, ch
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 0x10181a28
push ecx
call fcn.100034d0
add esp, 0x24
push ebx
pop ebx
test edi, edi
jle 0x10004a8a
push 0x10181a25
push 0x10181a24
lea ecx, [esp + 0x6c]
call fcn.10003e40
push ebx
pop ebx
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10004a91
sub eax, edx
lea edx, [esp + eax + 0x7c]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x6c]
call fcn.10003e40
test edx, edx
add edi, 1
add esi, 0x18
cmp edi, dword [esp + 0x20]
jl 0x10004a10
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x37f8]
push ecx
push edx
call dword [fcn.101d00c8]
add esp, 8
mov ebx, ebx
lea eax, [esp + 0x64]
push eax
jmp 0x10004afe
mov ecx, dword [ebx + 0x37f8]
push edi
push ecx
call dword [fcn.101d00c8]
add esp, 8
mov ah, ah
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.10003dd0
mov dword [esp + 0x30], 1
mov byte [esp + 0x2c0], 0
lea ecx, [esp + 0x64]
call fcn.10001dc0
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.101180ca
mov esp, ebp
pop ebp
ret