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

Disassembly:
mov eax, 0x100e8f70
call 0x100a7f70
mov eax, 0x1314
call 0x100a82e0
push ebx
push esi
mov ebx, ecx
mov esi, 0x200
push edi
push esi
mov ecx, dword [ebx + 0x28]
lea edx, [ebp - 0x320]
call 0xffd2686
test eax, eax
jne 0x100157c3
push 8
lea eax, [ebp - 0x320]
pop edi
push edi
push 0x100f6f20
push eax
call 0x100a7f96
add esp, 0xc
test eax, eax
jne 0x100156a9
mov ax, word [ebp + edi - 0x320]
cmp ax, 0x20
jb 0x1001537d
cmp ax, 0x7f
ja 0x1001537d
push eax
lea ecx, [ebx + 0x11c]
call 0xffc98d4
inc edi
inc edi
cmp edi, esi
jb 0x10015357
mov esi, 0x10000
mov dword [ebx + 0xf0], 0x100000
and dword [ebx + 0xf4], 0
lea edi, [ebp - 0xb0]
mov dword [ebp - 0x10], esi
push 0
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.10014e2f
test eax, eax
jne 0x100157c3
mov ecx, dword [ebx + 0x28]
push 0x1000
lea edx, [ebp - 0x1320]
call 0xffd2686
test eax, eax
jne 0x100157c3
lea eax, [ebp - 0x1320]
mov ecx, edi
push eax
call fcn.1001475b
test al, al
je 0x100156a9
add dword [ebp - 0x10], esi
add edi, 0x48
cmp dword [ebp - 0x10], 0x30000
jb 0x1001539c
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x64]
jb 0x10015408
ja 0x10015433
cmp dword [ebp - 0xb0], eax
ja 0x10015433
cmp ecx, dword [ebp - 0x64]
ja 0x1001541c
jb 0x10015417
cmp dword [ebp - 0xb0], eax
jae 0x1001541c
push 1
pop eax
jmp 0x10015435
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xb0]
push eax
call fcn.100158c2
test al, al
je 0x100156a9
xor eax, eax
lea eax, [eax + eax*8]
push 0x12
lea edi, [ebx + 0xa0]
pop ecx
lea eax, [ebp + eax*8 - 0xb0]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100154a7
add dword [ebx + 0xf0], ecx
adc dword [ebx + 0xf4], 0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
xor esi, esi
add edx, ecx
mov ecx, dword [eax + 0x14]
adc ecx, esi
mov esi, dword [ebx + 0x3c]
cmp esi, ecx
ja 0x10015485
jb 0x1001547f
mov esi, dword [ebx + 0x38]
cmp esi, edx
jae 0x10015485
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
push 0x10
lea ecx, [eax + 0x38]
pop edx
call fcn.10014dbd
test al, al
jne 0x100154a7
push 0x100f7158
mov ecx, ebx
mov byte [ebx + 0x128], 1
call fcn.10015bf6
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov esi, 0x20000
lea ecx, [ebp - 0x1c]
push esi
mov dword [ebp - 4], eax
call 0xffcb53c
push 0
push 0x30000
mov ecx, ebx
call fcn.10014e2f
test eax, eax
je 0x100154dc
mov esi, eax
jmp 0x10015566
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebp - 0x1c]
push esi
call 0xffd2686
test eax, eax
jne 0x100154d5
mov eax, dword [ebp - 0x1c]
push 0x10000
mov dword [ebp - 0x14], 1
lea ecx, [eax + 0x10000]
push ecx
push eax
call 0x100a7f96
add esp, 0xc
test eax, eax
je 0x10015522
push 0x100f7140
mov ecx, ebx
call fcn.10015bf6
mov dword [ebp - 0x14], 2
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x10015563
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.10014892
test al, al
je 0x10015549
test edi, edi
jge 0x10015555
mov edi, esi
jmp 0x10015555
push 0x100f7128
mov ecx, ebx
call fcn.10015bf6
add dword [ebp - 0x10], 0x38
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x10015532
test edi, edi
jge 0x1001556e
push 1
pop esi
push dword [ebp - 0x1c]
jmp 0x10015643
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call 0xffca5f8
cmp dword [ebx + 0x3c], 0
pop ecx
ja 0x10015597
jb 0x1001558c
cmp dword [ebx + 0x38], 0x100000
jae 0x10015597
mov dword [ebx + 0x38], 0x100000
and dword [ebx + 0x3c], 0
imul edi, edi, 0x38
mov eax, dword [ebp + edi - 0x110]
mov ecx, dword [ebp + edi - 0x10c]
add dword [ebx + 0xf0], eax
lea esi, [ebp + edi - 0x120]
mov edx, dword [ebx + 0x3c]
adc dword [ebx + 0xf4], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp edx, eax
ja 0x100155d7
jb 0x100155d1
mov edx, dword [ebx + 0x38]
cmp edx, ecx
jae 0x100155d7
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], eax
cmp byte [esi + 1], 0
je 0x100156a9
cmp dword [esi + 0x30], 0
je 0x100156a9
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
push dword [esi + 0x2c]
mov ecx, ebx
mov dword [ebp - 4], 1
push dword [esi + 0x28]
call fcn.10014e2f
test eax, eax
je 0x1001560f
mov esi, eax
jmp 0x10015640
mov edi, dword [esi + 0x30]
lea ecx, [ebp - 0x1c]
push edi
call 0xffcb53c
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebp - 0x1c]
push edi
call 0xffd2686
test eax, eax
jne 0x1001560b
push dword [ebp - 0x18]
lea ecx, [ebx + 0x60]
push dword [ebp - 0x1c]
call fcn.10014a30
test al, al
jne 0x10015650
push 1
pop esi
push dword [ebp - 0x1c]
call 0xffca5f8
pop ecx
mov eax, esi
jmp 0x100157c3
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call 0xffca5f8
cmp byte [esi], 0
pop ecx
je 0x100156a9
cmp dword [esi + 0x20], 0
je 0x100156a9
push dword [esi + 0x1c]
mov ecx, ebx
push dword [esi + 0x18]
call fcn.10014e2f
test eax, eax
jne 0x100157c3
mov edi, dword [esi + 0x20]
lea esi, [ebx + 0x40]
push edi
mov ecx, esi
call 0xffcb53c
mov edx, dword [esi]
mov ecx, dword [ebx + 0x28]
push edi
call 0xffd2686
test eax, eax
jne 0x100157c3
mov ecx, ebx
call fcn.10014efb
test al, al
jne 0x100156b1
push 1
pop eax
jmp 0x100157c3
mov ecx, ebx
call fcn.10015196
test al, al
jne 0x100156c8
push 0x100f711c
mov ecx, ebx
call fcn.10015bf6
xor edi, edi
cmp dword [ebx + 0x94], edi
jbe 0x1001570b
mov eax, dword [ebx + 0x90]
mov edx, 0x100f710c
mov esi, dword [eax + edi*4]
mov ecx, dword [esi]
call 0xffc89fe
test al, al
jne 0x100156f6
inc edi
cmp edi, dword [ebx + 0x94]
jb 0x100156d2
jmp 0x1001570b
add esi, 0xc
lea ecx, [ebx + 0x12a]
push esi
call fcn.100157d2
mov byte [ebx + 0x13a], al
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x100f70fc
mov dword [ebp - 0x1c], 0x100f70f0
mov dword [ebp - 0x18], 0x100f70dc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x60]
push dword [eax]
call fcn.10015920
test eax, eax
jl 0x1001575f
mov ecx, dword [ebx + 0x90]
lea edi, [ebx + 0x13c]
mov esi, dword [ecx + eax*4]
mov ecx, edi
call 0xffd4e9b
add esi, 0xc
mov ecx, edi
push esi
call 0xffc9eba
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x1001572d
mov eax, dword [ebx + 0x70]
shr eax, 1
test al, 1
je 0x100157a3
cmp byte [ebx + 0x62], 0
jne 0x1001577e
push 0x100f70bc
jmp 0x100157ae
cmp byte [ebx + 0x13a], 0
jne 0x10015793
push 0x100f70a0
mov ecx, ebx
call fcn.10015bf6
cmp dword [ebx + 0x140], 0
jne 0x100157b5
push 0x100f7078
jmp 0x100157ae
cmp byte [ebx + 0x62], 0
je 0x100157b5
push 0x100f705c
mov ecx, ebx
call fcn.10015bf6
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret