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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f589c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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 eax, edi
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0xc], edi
mov dword [ebp - 0x64], ebx
sub eax, 1
jne 0x10152a53
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
push 0
push eax
push 0
push 0
push 0x1012b030
mov dword [esi + 0x1c], 0
call fcn.1012aea0
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x10152a39
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x10152b0b
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 0x10152a18
xor edx, edx
xor ecx, ecx
jmp 0x10152a22
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 0x10152af6
cmp eax, 0xffffffff
je 0x10152c6c
cmp eax, 1
je 0x10152c6c
test edi, edi
jne 0x10152c4b
cmp ebx, 0xffffffff
jne 0x10152a5f
xor ebx, ebx
mov dword [ebp - 0x64], ebx
jmp 0x10152a71
cmp dword [esi + 0x14], 0
jne 0x10152a71
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 0x10152a98
cmp eax, 0xffffffff
jne 0x10152c08
lea edx, [eax + 2]
lea ecx, [ebp - 0x78]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x78]
add ecx, 0x30
jmp 0x10152af0
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 - 0x80]
push eax
call fcn.1012adf0
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [ebp - 0x70]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x70]
add ecx, 8
push eax
call fcn.101390a0
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x10152c29
mov ebx, dword [ebp - 0x64]
jmp 0x101529b4
mov edx, 1
lea ecx, [ebp - 0x68]
call fcn.1013c170
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x68]
jne 0x10152bdc
cmp ecx, dword [ebp - 0x64]
jne 0x10152bdc
mov edx, 2
lea ecx, [ebp - 0x68]
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 0x10152b67
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 - 0x68]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x64]
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 - 0x68], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], eax
call fcn.10160fa0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x68]
push eax
push edi
lea ecx, [ebx + 0x14]
call fcn.10173430
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10152cec
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x10152cec
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x60]
push esi
call fcn.10160fa0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x14]
call fcn.10173560
mov dword [ebp - 4], 3
jmp 0x10152bbb
cmp eax, 1
jne 0x10152c26
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x70]
push eax
add ecx, 0x30
call fcn.101390a0
lea eax, [esi + 0x14]
mov ecx, dword [esi + 4]
push eax
call fcn.1012ae40
mov ecx, dword [esi + 0x44]
mov edx, eax
test ecx, ecx
jne 0x10152c40
call fcn.1019b77f
mov eax, dword [ecx]
push edx
call dword [eax + 8]
jmp 0x10152cec
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x64], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.1015cd50
jmp 0x10152cec
mov edx, 1
lea ecx, [ebp - 0x68]
call fcn.1013c170
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
cmp eax, dword [ebp - 0x68]
jne 0x10152ce3
cmp edx, dword [ebp - 0x64]
jne 0x10152ce3
mov edx, 2
lea ecx, [ebp - 0x70]
call fcn.1013c170
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x70]
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 - 0x68]
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 - 0x64], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x68], eax
call fcn.1015ce80
add esp, 4
jmp 0x10152cec
push esi
add ecx, 0x30
call fcn.1015cdf0
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