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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
and dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x3c], ecx
je 0x1001544f
push 8
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x30], edx
push 8
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x7c]
mov dword [ebp - 0x34], eax
xor eax, eax
je 0x1001538d
jmp 0x10015387
cmp dword [ebp - 0x34], 0
jbe 0x1001544f
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
sub eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x54], 0
je 0x10015444
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
sar eax, 0xc
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
and eax, 0xfff
mov word [ebp - 8], ax
movzx eax, word [ebp - 8]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 1]
cmp eax, 3
jne 0x10015424
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x1001543a
movzx eax, byte [ebp - 1]
cmp eax, 0xa
jne 0x1001543a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100153d4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
jmp 0x1001538d
xor eax, eax
je 0x10015455
jmp 0x1001544f
push 8
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x78], 0
je 0x10015581
mov dword [ebp - 0x5c], 0x80000000
push 8
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x10015581
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 8]
push eax
call dword [0x1001a080]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100154bc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 8]
push eax
call dword [0x1001a084]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100154ca
push 0xfffffffffffffffd
pop eax
jmp 0x100156e7
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x100154df
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x100154eb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10015573
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, dword [ebp - 0x5c]
je 0x1001551a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xffff
push eax
push dword [ebp - 0x20]
call dword [0x1001a070]
mov dword [ebp - 0x40], eax
jmp 0x10015537
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
inc eax
inc eax
push eax
push dword [ebp - 0x20]
call dword [0x1001a070]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
je 0x10015554
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [eax + ecx], edx
jmp 0x1001555c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
jmp 0x100154ef
mov eax, dword [ebp - 0xc]
add eax, 0x14
mov dword [ebp - 0xc], eax
jmp 0x10015483
cmp dword [ebp + 0x14], 0
je 0x1001564d
xor eax, eax
je 0x10015591
jmp 0x1001558b
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x78], 0
je 0x1001564d
mov dword [ebp - 0x7c], 0x80000000
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x64], eax
xor eax, eax
je 0x100155e6
jmp 0x100155e0
and dword [ebp - 0x24], 0
jmp 0x100155f3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x64]
jae 0x10015639
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x74], edx
push dword [ebp + 0x14]
push dword [ebp - 0x70]
call dword [0x1001a050]
test eax, eax
jne 0x10015637
xor eax, eax
je 0x1001562f
jmp 0x10015629
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
jmp 0x10015639
jmp 0x100155ec
cmp dword [ebp - 0x28], 0
jne 0x1001564d
xor eax, eax
je 0x10015645
jmp 0x1001563f
or eax, 0xffffffff
jmp 0x100156e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
add eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
xor eax, eax
je 0x1001565f
jmp 0x10015659
cmp dword [ebp + 0x10], 0
je 0x1001566d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x34], ecx
push dword [ebp + 8]
push dword [ebp + 8]
call dword [0x1001a088]
push eax
push dword [0x10020fe4]
call fcn.100150e1
add esp, 0x10
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
xor eax, eax
je 0x100156a5
jmp 0x1001569f
cmp dword [ebp - 0x78], 0
jne 0x100156b5
xor eax, eax
je 0x100156b1
jmp 0x100156ab
xor eax, eax
jmp 0x100156e7
cmp dword [ebp - 0x28], 0
je 0x100156e4
cmp dword [ebp + 0x18], 1
jne 0x100156cc
xor eax, eax
je 0x100156c7
jmp 0x100156c1
call dword [ebp - 0x28]
jmp 0x100156de
cmp dword [ebp + 0x18], 2
jne 0x100156de
xor eax, eax
je 0x100156d8
jmp 0x100156d2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
xor eax, eax
je 0x100156e4
jmp 0x100156de
xor eax, eax
inc eax
leave
ret