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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fac21
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov dword [ebp - 0xc4], ebx
sub eax, 1
jne 0x10183edc
mov eax, dword [esi + 4]
lea edx, [esi + 8]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xd4], eax
lea edi, [esi + 0x30]
call fcn.10184d90
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
jne 0x10183e2e
call fcn.101dfef0
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 0
jmp 0x10183e4a
lea eax, [esi + 0x38]
push eax
push edi
push ecx
push dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xd4]
push 0x1012b080
call fcn.1012aea0
mov dword [esi + 0x2c], eax
cmp eax, 0xfffffffe
jne 0x10183ec0
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x10183fa9
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.100037e0
mov ecx, dword [edi + 0x84]
xor ebx, ebx
add esp, 0xc
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jbe 0x10183ea2
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x10183f91
mov edx, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edx, ebx
sub ecx, ebx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x10183f91
cmp eax, 0xffffffff
je 0x10184130
cmp eax, 1
je 0x10184130
cmp dword [ebp + 0x14], 0
jne 0x10184106
cmp ebx, 0xffffffff
jne 0x10183eeb
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
jmp 0x10183efd
cmp dword [esi + 0x30], 0
jne 0x10183efd
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
cmp eax, 0xfffffffe
je 0x10183f2a
cmp eax, 0xffffffff
jne 0x1018409d
lea edx, [eax + 2]
lea ecx, [ebp - 0xe0]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xe0]
add ecx, 0x30
jmp 0x10183f8b
mov edx, dword [esi + 4]
mov ecx, ebx
cmp dword [edx + 0x7c], ebx
mov eax, dword [edx + 0x78]
cmovb ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1012adf0
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xd0]
add ecx, 8
push eax
call fcn.101390a0
cmp dword [esi + 0x30], 0
lea eax, [esi + 0x30]
jne 0x101840eb
mov ebx, dword [ebp - 0xc4]
jmp 0x10183df8
mov edx, 1
lea ecx, [ebp - 0xc0]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ebp - 0xc0]
jne 0x10184078
cmp ecx, dword [ebp - 0xbc]
jne 0x10184078
mov edx, 2
lea ecx, [ebp - 0xc0]
call fcn.1013c170
mov edi, dword [esi + 4]
call fcn.101dfef0
mov ecx, dword [edi + 8]
add ecx, 0x14
cmp byte [edi + 0x18], 0
je 0x10184011
push 0xffffffffffffffff
lea eax, [edi + 0x1c]
push eax
push ecx
mov ecx, dword [ecx + 0x20]
call fcn.10142640
mov byte [edi + 0x18], 0
call fcn.101dfef0
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x14], eax
call fcn.101dfef0
mov ecx, dword [esi + 4]
mov edi, dword [esi]
push esi
mov eax, dword [ecx + 0x78]
mov ebx, dword [edi + 0x40]
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
call fcn.10187840
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0xc0]
push eax
push edi
lea ecx, [ebx + 0x14]
call fcn.10189450
jmp 0x101841e8
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0xb8]
push esi
call fcn.10187840
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebx + 0x10]
jmp 0x101841df
cmp eax, 1
jne 0x101840c1
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xd0]
push eax
add ecx, 0x30
call fcn.101390a0
cmp dword [esi + 0x30], 0
lea eax, [esi + 0x30]
je 0x101840ce
xor edi, edi
jmp 0x101840d1
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 4]
push eax
call fcn.1012ae40
push 0
push edi
push eax
lea ecx, [esi + 0x40]
call fcn.10175490
jmp 0x101841f3
mov ecx, dword [esi + 4]
push eax
call fcn.1012ae40
push 0
push 0
push eax
lea ecx, [esi + 0x40]
call fcn.10175490
jmp 0x101841f3
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0xbc], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.101867c0
jmp 0x101841f3
mov edx, 1
lea ecx, [ebp - 0xc0]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, dword [ebp - 0xc0]
jne 0x101841bf
cmp ecx, dword [ebp - 0xbc]
jne 0x101841bf
mov edx, 2
lea ecx, [ebp - 0xd0]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xd0]
push eax
add ecx, 0x30
call fcn.101390a0
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.10003720
xor ecx, ecx
lea edx, [ebp - 0xc0]
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [esi]
mov dword [ebp - 0xc0], eax
call fcn.10186850
add esp, 4
jmp 0x101841f3
mov edi, dword [ebx + 0x30]
lea ecx, [ebp - 0xb8]
push esi
call fcn.10187840
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 2
push eax
lea eax, [ebx + 0x38]
push eax
lea ecx, [edi + 0x14]
call fcn.10189590
lea ecx, [ebp - 0xb8]
call fcn.10183c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 0x10