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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov ebx, dword [eax + 8]
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x1c], 0
movzx eax, byte [ebx + 0x10]
mov esi, dword [edx]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], ebp
lea ecx, [eax + eax*8]
mov dword [esp + 0x54], ebx
mov eax, dword [edx + 4]
lea eax, [eax + ecx*8]
lea ecx, [esp + 0x14]
add eax, 8
push ecx
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push ebp
push edx
call fcn.100d99d0
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x50], ebp
test ebp, ebp
jne 0x1015df34
pop esi
lea eax, [ebp + 7]
pop ebp
pop ebx
add esp, 0x54
ret
and dword [ebx + 0x1c], 0xfffffffe
xor eax, eax
mov word [ebx + 0x12], ax
mov dword [ebx + 0x2c], 0x400
mov word [ebx + 0x30], ax
mov eax, dword [ebp]
push eax
push ebx
push dword [esi]
mov dword [esp + 0x2c], eax
call fcn.1015f070
add esp, 0xc
test eax, eax
je 0x1015df77
push ebp
push dword [esi]
call fcn.100ede70
add esp, 8
mov eax, 7
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
push ebp
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push edi
push dword [esp + 0x8c]
call fcn.1015e2d0
add esp, 0x28
mov ecx, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], ecx
je 0x1015dfdc
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
push ebp
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push edi
push dword [esp + 0x8c]
call fcn.1015e2d0
add esp, 0x28
mov dword [esp + 0x10], eax
mov ecx, eax
test ecx, ecx
jne 0x1015e1b7
mov ecx, edi
mov eax, esi
not eax
not ecx
mov dword [esp + 0x28], eax
mov edx, ecx
and eax, dword [ebx + 4]
and edx, dword [ebx]
mov dword [esp + 0x38], eax
mov eax, edx
or eax, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], edx
jne 0x1015e017
test eax, eax
je 0x1015e1b7
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0x20], edx
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x4c], xmm0
test eax, eax
je 0x1015e08e
push edx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
push ebp
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push edi
push dword [esp + 0x8c]
call fcn.1015e2d0
mov esi, dword [esp + 0x44]
mov ecx, eax
and esi, dword [ebx]
add esp, 0x28
mov edx, dword [esp + 0x28]
mov eax, esi
and edx, dword [ebx + 4]
or eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
jne 0x1015e07e
mov edx, 1
mov dword [esp + 0x20], edx
jmp 0x1015e080
xor edx, edx
test ecx, ecx
jne 0x1015e1b7
mov ecx, dword [esp + 0x1c]
jmp 0x1015e09e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov edi, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], eax
or edx, 0xffffffff
or esi, 0xffffffff
cmp dword [esp + 0x24], 0
jle 0x1015e11b
mov eax, dword [esp + 0x48]
mov edi, dword [ebp + 4]
mov ebx, dword [esp + 0x24]
add edi, 8
mov eax, dword [eax + 0x18]
mov ebp, eax
mov eax, dword [edi]
lea eax, [eax + eax*2]
add eax, eax
and ecx, dword [ebp + eax*8 + 0x20]
mov eax, dword [ebp + eax*8 + 0x24]
and eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x34]
jb 0x1015e103
ja 0x1015e0f5
cmp ecx, dword [esp + 0x2c]
jbe 0x1015e103
cmp eax, esi
ja 0x1015e103
jb 0x1015e0ff
cmp ecx, edx
jae 0x1015e103
mov edx, ecx
mov esi, eax
mov ecx, dword [esp + 0x1c]
add edi, 0xc
sub ebx, 1
jne 0x1015e0d4
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x2c], edx
and eax, esi
mov dword [esp + 0x34], esi
cmp eax, 0xffffffff
je 0x1015e227
cmp edx, dword [esp + 0x5c]
jne 0x1015e13c
cmp esi, dword [esp + 0x38]
je 0x1015e1a7
cmp edx, dword [esp + 0x3c]
jne 0x1015e148
cmp esi, dword [esp + 0x40]
je 0x1015e1a7
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x14]
push 0
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
or edx, ecx
push ebp
push 0
or esi, eax
push esi
push edx
push eax
push ecx
push dword [esp + 0x8c]
call fcn.1015e2d0
mov ecx, eax
add esp, 0x28
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [ebx], eax
jne 0x1015e1ab
mov esi, dword [esp + 0x70]
cmp dword [ebx + 4], esi
jne 0x1015e1ab
cmp dword [esp + 0x14], 0
mov eax, 1
mov dword [esp + 0x20], 1
cmove edi, eax
mov dword [esp + 0x44], edi
jmp 0x1015e1ab
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov ecx, dword [esp + 0x1c]
je 0x1015e0b4
mov ebx, dword [esp + 0x10]
cmp dword [ebp + 0x1c], 0
pop edi
je 0x1015e2b0
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1015e2b0
cmp dword [0x101a1150], 0
je 0x1015e2a6
mov eax, dword [0x101a3b70]
test eax, eax
je 0x1015e1f1
push eax
call dword [0x101a11a0]
add esp, 4
push esi
call dword [0x101a117c]
sub dword [0x101a3b10], eax
dec dword [0x101a3b34]
push esi
call dword [0x101a1174]
mov eax, dword [0x101a3b70]
add esp, 8
test eax, eax
je 0x1015e2b0
push eax
call dword [0x101a11a8]
jmp 0x1015e2ad
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x1015e1bb
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x20], ebx
jne 0x1015e273
push ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x78]
push ebp
push ebx
push esi
push eax
push esi
push eax
push dword [esp + 0x8c]
call fcn.1015e2d0
add esp, 0x28
mov ebx, eax
cmp dword [esp + 0x14], 0
mov eax, 1
cmove edi, eax
test ebx, ebx
jne 0x1015e1bb
test edi, edi
jne 0x1015e1bb
push edi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x78]
push ebp
push 1
push esi
push eax
push esi
push eax
push dword [esp + 0x8c]
call fcn.1015e2d0
add esp, 0x28
mov ebx, eax
jmp 0x1015e1bb
push esi
call dword [0x101a1174]
add esp, 4
mov eax, dword [esp + 0x5c]
push ebp
push dword [eax]
call fcn.100ede70
add esp, 8
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x54
ret