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

Disassembly:
push 0xffffffffffffffff
push 0x101727dd
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, dword [esp + 0x290]
mov edi, dword [esp + 0x294]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, 0xf
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x288], 1
cmp dword [fcn.102cb064], ebx
jne 0x1000454f
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x18], 1
mov byte [esp + 0x288], bl
cmp dword [esp + 0x78], 0x10
jb 0x10004546
mov ecx, dword [esp + 0x64]
push ecx
call fcn.10100548
add esp, 4
mov dword [esp + 0x78], ebp
jmp 0x1000476d
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2b0]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x2b0]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2b0]
push ecx
mov ecx, dword [esp + 0x2b0]
push edx
push eax
push ecx
push edi
mov dword [esp + 0x3c], ebx
call fcn.10057d00
add esp, 0x28
test eax, eax
jne 0x100045e1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x18], 1
mov byte [esp + 0x288], bl
cmp dword [esp + 0x78], 0x10
jb 0x10004546
mov eax, dword [esp + 0x64]
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x78], ebp
jmp 0x1000476d
fld dword [esp + 0x2ac]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x28], ebx
fld dword [esp + 0x2b4]
fstp dword [esp]
push edx
mov edx, dword [edi + 0x37f8]
push eax
push ecx
push edx
call dword [fcn.102cb064]
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x44], ebp
call fcn.1011163c
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x14], ebx
je 0x10004718
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10004718
xor ebp, ebp
cmp eax, ebx
jle 0x10004711
mov edi, dword [esp + 0x24]
add edi, 0xc
lea ebx, [ebx]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x17c]
push ecx
mov ecx, dword [eax + 0x37f8]
push edx
push ecx
call dword [0x102cb070]
fld dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi - 4]
mov ecx, dword [edi - 8]
add ecx, dword [esp + 0x38]
add esp, 0xc
push edx
mov edx, dword [edi - 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 0x1017ba3c
push ecx
call dword [fcn.102da388]
add esp, 0x24
cmp ebp, ebx
jle 0x100046d2
push 1
push 0x1017ba38
lea ecx, [esp + 0x68]
call fcn.10003f90
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100046e0
sub eax, edx
push eax
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x68]
call fcn.10003f90
add ebp, 1
add edi, 0x18
cmp ebp, dword [esp + 0x1c]
jl 0x10004660
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push eax
jmp 0x10004719
push ebp
mov ecx, dword [edi + 0x37f8]
push ecx
call dword [fcn.102cb068]
add esp, 8
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x18], 1
mov byte [esp + 0x288], bl
cmp dword [esp + 0x78], 0x10
jb 0x10004769
mov eax, dword [esp + 0x64]
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov eax, esi
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.10111b17
add esp, 0x278
ret