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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f5928
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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 edi, dword [ebp + 0x14]
mov ecx, 0x1012b020
mov ebx, dword [ebp + 0x10]
mov eax, edi
mov dword [esi + 0xc], edi
mov dword [ebp - 0x84], ebx
sub eax, 1
jne 0x10153326
cmp dword [esi + 8], 0
lea eax, [esi + 0x14]
push 0
push eax
push 0
mov eax, 0x1012aff0
mov dword [esi + 0x1c], 0
cmove eax, ecx
mov ecx, dword [esi + 4]
push 0
push eax
call fcn.1012aea0
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x1015330c
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x101533f8
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 0x101532eb
xor edx, edx
xor ecx, ecx
jmp 0x101532f5
mov edx, dword [edi + 0x80]
add edx, ebx
sub ecx, ebx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x14]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x101533db
cmp eax, 0xffffffff
je 0x10153548
cmp eax, 1
je 0x10153548
test edi, edi
jne 0x1015351e
cmp ebx, 0xffffffff
jne 0x10153335
xor ebx, ebx
mov dword [ebp - 0x84], ebx
jmp 0x10153347
cmp dword [esi + 0x14], 0
jne 0x10153347
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xfffffffe
je 0x10153374
cmp eax, 0xffffffff
jne 0x101534e0
lea edx, [eax + 2]
lea ecx, [ebp - 0x98]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x98]
add ecx, 0x30
jmp 0x101533d5
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 - 0xa0]
push eax
call fcn.1012adf0
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [ebp - 0x90]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x90]
add ecx, 8
push eax
call fcn.101390a0
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x10153507
mov ebx, dword [ebp - 0x84]
mov ecx, 0x1012b020
jmp 0x1015327f
mov edx, 1
lea ecx, [ebp - 0x88]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x88]
jne 0x101534c1
cmp ecx, dword [ebp - 0x84]
jne 0x101534c1
mov edx, 2
lea ecx, [ebp - 0x88]
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 0x10153460
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 - 0x88]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x84]
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 - 0x88], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
call fcn.101610e0
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x88]
push eax
push edi
lea ecx, [ebx + 0x14]
call fcn.101737d0
jmp 0x101535fa
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x80]
push esi
call fcn.101610e0
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 1
push eax
lea eax, [ebx + 0x10]
jmp 0x101535f1
cmp eax, 1
jne 0x10153504
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x90]
push eax
add ecx, 0x30
call fcn.101390a0
lea eax, [esi + 0x14]
mov ecx, dword [esi + 4]
push eax
call fcn.1012ae40
push eax
lea ecx, [esi + 0x20]
call fcn.10165730
jmp 0x10153602
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x84], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
call fcn.1015d160
jmp 0x10153602
mov edx, 1
lea ecx, [ebp - 0x88]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, dword [ebp - 0x88]
jne 0x101535d7
cmp ecx, dword [ebp - 0x84]
jne 0x101535d7
mov edx, 2
lea ecx, [ebp - 0x90]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x90]
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 - 0x88]
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 - 0x84], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x88], eax
call fcn.1015d1e0
add esp, 4
jmp 0x10153602
mov edi, dword [ebx + 0x30]
lea ecx, [ebp - 0x80]
push esi
call fcn.101610e0
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 2
push eax
lea eax, [ebx + 0x38]
push eax
lea ecx, [edi + 0x14]
call fcn.10173900
lea ecx, [ebp - 0x50]
call fcn.10134ae0
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