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

Disassembly:
push 0xffffffffffffffff
push 0x10167f68
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 0x100460a4
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.100b9cab
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10046082
cmp eax, 0xffffffff
jae 0x10046082
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 0x100460a4
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x30], 0x2d
jne 0x100460b5
lea ecx, [esp + 0x31]
mov dword [esp + 0x10], ecx
jmp 0x100460bd
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 0x10046119
test ebp, ebp
je 0x10046112
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x100460fd
mov ecx, dword [ebp + 0x30]
cmp dword [ecx], 0
jle 0x100460fd
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x10046107
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
cmp eax, 0xffffffff
je 0x10046112
mov byte [esp + 0x71], al
jmp 0x10046114
xor ebp, ebp
mov byte [esp + 0x70], 1
cmp byte [esp + 0x7c], 0
mov esi, dword [esp + 0x78]
jne 0x1004614f
test esi, esi
je 0x1004614d
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x1004613f
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x1004613f
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x10046148
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x1004614f
xor esi, esi
test ebp, ebp
jne 0x10046184
test esi, esi
je 0x10046188
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
je 0x10046191
cmp dword [esp + 0x18], 0
jne 0x10046191
cmp edi, 0xffffffff
ja 0x10046191
cmp byte [esp + 0x30], 0x2d
jne 0x1004617a
neg edi
mov edx, dword [esp + 0x20]
mov eax, edi
mov dword [edx], eax
jmp 0x10046194
test esi, esi
je 0x10046157
mov eax, dword [esp + 0x14]
or dword [eax], 1
jmp 0x1004615b
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