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

Disassembly:
push 0xffffffffffffffff
push 0x10167f38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0
call fcn.10039430
mov esi, dword [esi + 0x10]
push eax
push esi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x74], 0
call fcn.10043790
mov ebp, eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
je 0x10045e94
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.100b9cab
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10045e72
cmp eax, 0xffffffff
jae 0x10045e72
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.100b9ccc
test esi, esi
je 0x10045e94
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x30], 0x2d
jne 0x10045ea5
lea ecx, [esp + 0x31]
mov dword [esp + 0x10], ecx
jmp 0x10045ead
lea edx, [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100ba3b8
mov ebp, dword [esp + 0x7c]
add esp, 0x10
cmp byte [esp + 0x70], 0
mov edi, eax
jne 0x10045f09
test ebp, ebp
je 0x10045f02
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x10045eed
mov ecx, dword [ebp + 0x30]
cmp dword [ecx], 0
jle 0x10045eed
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x10045ef7
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
cmp eax, 0xffffffff
je 0x10045f02
mov byte [esp + 0x71], al
jmp 0x10045f04
xor ebp, ebp
mov byte [esp + 0x70], 1
cmp byte [esp + 0x7c], 0
mov esi, dword [esp + 0x78]
jne 0x10045f3f
test esi, esi
je 0x10045f3d
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x10045f2f
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x10045f2f
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x10045f38
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x10045f3f
xor esi, esi
test ebp, ebp
jne 0x10045f78
test esi, esi
je 0x10045f7c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
je 0x10045f85
cmp dword [esp + 0x18], 0
jne 0x10045f85
cmp edi, 0xffff
ja 0x10045f85
cmp byte [esp + 0x30], 0x2d
jne 0x10045f6d
neg edi
mov edx, dword [esp + 0x20]
mov eax, edi
mov word [edx], ax
jmp 0x10045f88
test esi, esi
je 0x10045f47
mov eax, dword [esp + 0x14]
or dword [eax], 1
jmp 0x10045f4b
or dword [eax], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100bc9af
add esp, 0x50
ret 0x28