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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f58e8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
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 - 0x7c], ebx
sub eax, 1
jne 0x10152ec3
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 0x10152ea9
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x10152f8f
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 0x10152e88
xor edx, edx
xor ecx, ecx
jmp 0x10152e92
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 0x10152f75
cmp eax, 0xffffffff
je 0x101530d9
cmp eax, 1
je 0x101530d9
test edi, edi
jne 0x101530b8
cmp ebx, 0xffffffff
jne 0x10152ecf
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
jmp 0x10152ee1
cmp dword [esi + 0x14], 0
jne 0x10152ee1
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 0x10152f0e
cmp eax, 0xffffffff
jne 0x1015305c
lea edx, [eax + 2]
lea ecx, [ebp - 0x90]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x90]
add ecx, 0x30
jmp 0x10152f6f
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 - 0x98]
push eax
call fcn.1012adf0
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [ebp - 0x88]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x88]
add ecx, 8
push eax
call fcn.101390a0
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x101530a1
mov ebx, dword [ebp - 0x7c]
mov ecx, 0x1012b020
jmp 0x10152e1c
mov edx, 1
lea ecx, [ebp - 0x80]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x80]
jne 0x1015303d
cmp ecx, dword [ebp - 0x7c]
jne 0x1015303d
mov edx, 2
lea ecx, [ebp - 0x80]
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 0x10152feb
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 - 0x80]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x7c]
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 - 0x80], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x7c], eax
call fcn.10161060
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea ecx, [ebx + 0x14]
call fcn.10173600
jmp 0x10153179
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x78]
push esi
call fcn.10161060
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 1
push eax
lea eax, [ebx + 0x10]
jmp 0x10153170
cmp eax, 1
jne 0x10153080
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x88]
push eax
add ecx, 0x30
call fcn.101390a0
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
sub esp, 8
push eax
call fcn.1012ae40
add esp, 4
add esi, 0x20
push eax
push esi
call fcn.1015d0e0
jmp 0x10153181
mov ecx, dword [esi + 4]
push eax
call fcn.1012ae40
push eax
lea ecx, [esi + 0x20]
call fcn.10165800
jmp 0x10153181
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x7c], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
call fcn.1015cf80
jmp 0x10153181
mov edx, 1
lea ecx, [ebp - 0x80]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, dword [ebp - 0x80]
jne 0x10153156
cmp ecx, dword [ebp - 0x7c]
jne 0x10153156
mov edx, 2
lea ecx, [ebp - 0x88]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x88]
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 - 0x80]
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 - 0x7c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x80], eax
call fcn.1015d000
add esp, 4
jmp 0x10153181
mov edi, dword [ebx + 0x30]
lea ecx, [ebp - 0x78]
push esi
call fcn.10161060
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 2
push eax
lea eax, [ebx + 0x38]
push eax
lea ecx, [edi + 0x14]
call fcn.10173730
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