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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1084
call fcn.1007aaa0
push ebx
push esi
mov esi, ecx
mov eax, edx
shr eax, 0xb
xor ecx, ecx
not eax
inc ecx
and eax, ecx
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
xor eax, eax
push edi
movlpd qword [esp + 0x30], xmm0
cmp dword [esi + 4], eax
ja 0x100759d8
cmp dword [esi], 0x16
jb 0x10075f84
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.10075868
pop ecx
pop ecx
test eax, eax
jne 0x100759f7
mov dword [esi + 0x1c], 7
jmp 0x10075f4f
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x90]
mov ebx, dword [esp + 0x30]
push 0x16
push eax
push edi
push ebx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x16
jne 0x10075f48
cmp dword [esp + 0x90], 0x6054b50
jne 0x10075f84
xor eax, eax
cmp edi, eax
jl 0x10075abb
jg 0x10075a3f
cmp ebx, 0x4c
jb 0x10075abb
push 0x14
add ebx, 0xffffffec
lea eax, [esp + 0x48]
push eax
adc edi, 0xffffffff
push edi
push ebx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x14
jne 0x10075abb
cmp dword [esp + 0x44], 0x7064b50
jne 0x10075abb
mov edx, dword [esp + 0x50]
xor eax, eax
mov edi, dword [esi]
xor ecx, ecx
or ecx, dword [esp + 0x4c]
or edx, eax
mov eax, dword [esi + 4]
add edi, 0xffffffc8
adc eax, 0xffffffff
cmp edx, eax
ja 0x10075f84
jb 0x10075a91
cmp ecx, edi
ja 0x10075f84
push 0x38
lea eax, [esp + 0x5c]
push eax
push edx
push ecx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x38
jne 0x10075abb
cmp dword [esp + 0x58], 0x6064b50
jne 0x10075abb
mov eax, dword [esi + 0x48]
xor ecx, ecx
inc ecx
mov dword [eax + 0x34], ecx
movzx eax, word [esp + 0x94]
movzx ecx, word [esp + 0x9a]
mov ebx, dword [esp + 0x9c]
movzx edx, word [esp + 0x98]
movzx edi, word [esp + 0x96]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x10], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
cmp dword [eax + 0x34], 0
je 0x10075bde
mov eax, dword [esp + 0x7c]
xor edi, edi
or eax, edi
xor ecx, ecx
or ecx, dword [esp + 0x78]
xor edx, edx
or edx, dword [esp + 0x70]
xor ebx, ebx
or ebx, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
or eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
or eax, edi
or edi, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
or eax, 0
ja 0x10075b61
cmp edi, 0x2c
jb 0x10075f69
xor eax, eax
inc eax
cmp dword [esp + 0x54], eax
jne 0x10075f7b
xor eax, eax
cmp dword [esp + 0x30], eax
ja 0x10075da2
jb 0x10075b85
cmp ecx, 0xffffffff
ja 0x10075da2
mov dword [esi + 0x10], ecx
cmp dword [esp + 0x2c], eax
ja 0x10075da2
jb 0x10075b9d
cmp edx, 0xffffffff
ja 0x10075da2
cmp dword [esp + 0x28], eax
ja 0x10075d96
cmp ebx, 0xffffffff
ja 0x10075d96
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
xor eax, eax
or eax, dword [esp + 0x88]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
xor eax, eax
or dword [esp + 0x14], eax
cmp ecx, edx
jne 0x10075f7b
mov edx, dword [esp + 0x2c]
mov eax, edi
or eax, edx
je 0x10075c03
xor eax, eax
inc eax
cmp edx, eax
jne 0x10075f7b
cmp edi, eax
jne 0x10075f7b
imul eax, ecx, 0x2e
cmp ebx, eax
jb 0x10075f69
mov edi, dword [esp + 0x38]
xor eax, eax
mov edx, ebx
add edx, edi
adc eax, dword [esp + 0x14]
cmp eax, dword [esi + 4]
ja 0x10075f69
jb 0x10075c2f
cmp edx, dword [esi]
ja 0x10075f69
mov eax, dword [esp + 0x14]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10075f2d
mov edi, dword [esp + 0x1c]
cmp ebx, dword [edi + 8]
jbe 0x10075c61
xor eax, eax
mov edx, edi
push eax
push ebx
mov ecx, esi
call fcn.100751cc
pop ecx
pop ecx
test eax, eax
je 0x10075f58
mov dword [edi + 4], ebx
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
cmp eax, dword [edi + 0x18]
jbe 0x10075c8f
xor ecx, ecx
lea edx, [edi + 0x10]
push ecx
push eax
mov ecx, esi
call fcn.100751cc
pop ecx
pop ecx
test eax, eax
je 0x10075f58
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x24], 0
mov dword [edi + 0x14], eax
je 0x10075cc3
mov edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x10]
cmp ebx, dword [edi + 0x28]
jbe 0x10075cbc
xor eax, eax
lea edx, [edi + 0x20]
push eax
push ebx
mov ecx, esi
call fcn.100751cc
pop ecx
pop ecx
test eax, eax
je 0x10075f58
mov dword [edi + 0x24], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
push ebx
push dword [eax]
push dword [esp + 0x1c]
push dword [esp + 0x44]
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, ebx
jne 0x10075f48
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jbe 0x10075f2d
cmp ebx, 0x2e
jb 0x10075f69
cmp dword [edx], 0x2014b50
jne 0x10075f69
mov eax, dword [esi + 0x48]
mov ecx, edx
mov edi, dword [esp + 0x10]
sub ecx, dword [eax]
cmp dword [esp + 0x24], 0
mov eax, dword [eax + 0x10]
mov dword [eax + edi*4], ecx
je 0x10075d32
mov eax, dword [esi + 0x48]
mov ecx, edi
mov eax, dword [eax + 0x20]
mov dword [eax + ecx*4], ecx
mov eax, dword [edx + 0x14]
movzx ecx, word [edx + 0x1e]
mov edi, dword [edx + 0x2a]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x1c], eax
movzx eax, word [edx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x38], 0
jne 0x10075e84
test ecx, ecx
je 0x10075e84
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
jbe 0x10075d78
mov ecx, eax
xor eax, eax
test eax, eax
jb 0x10075db2
ja 0x10075d84
cmp ecx, edi
jbe 0x10075db2
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [esp + 0x20], eax
jbe 0x10075dae
mov edi, dword [esp + 0x20]
jmp 0x10075db4
mov dword [esi + 0x1c], 0xf
jmp 0x10075f4f
mov dword [esi + 0x1c], 2
jmp 0x10075f4f
mov edi, eax
jmp 0x10075db4
xor ecx, ecx
mov eax, ecx
cmp edi, 0xffffffff
jne 0x10075e84
cmp eax, ecx
jne 0x10075e84
mov eax, dword [esp + 0x28]
mov edi, ecx
mov ecx, dword [esp + 0x18]
add eax, 0x2e
add eax, ecx
cmp eax, ebx
jbe 0x10075e22
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10075f58
push dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
xor eax, eax
add ecx, dword [esp + 0x3c]
push edi
adc eax, dword [esp + 0x1c]
add ecx, 0x2e
push 0
pop edx
adc eax, edx
push eax
push ecx
push dword [esi + 0x44]
call dword [esi + 0x38]
mov edx, dword [esp + 0x2c]
add esp, 0x14
cmp eax, edx
jne 0x10075f40
mov ecx, edi
jmp 0x10075e2f
mov ecx, dword [esp + 0x28]
add ecx, 0x2e
add ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, 4
jb 0x10075f61
movzx edx, word [ecx + 2]
lea eax, [edx + 4]
cmp eax, dword [esp + 0x18]
ja 0x10075f61
xor eax, eax
inc eax
cmp word [ecx], ax
je 0x10075e69
push 0xfffffffffffffffc
add ecx, 4
pop eax
add ecx, edx
sub eax, edx
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x18], edx
jne 0x10075e2f
jmp 0x10075e78
mov eax, dword [esi + 0x48]
xor ecx, ecx
inc ecx
mov dword [eax + 0x34], ecx
mov eax, dword [esi + 0x48]
mov dword [eax + 0x38], ecx
push edi
call dword [sym.imp.msvcrt.dll_free]
mov edx, dword [esp + 0x34]
pop ecx
mov edi, dword [esp + 0x20]
xor ecx, ecx
cmp edi, 0xffffffff
je 0x10075eb3
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x10075eb3
cmp dword [edx + 0xa], ecx
jne 0x10075ea5
cmp eax, edi
jne 0x10075f69
or eax, ecx
je 0x10075eb3
mov eax, edi
or eax, ecx
je 0x10075f69
movzx eax, word [edx + 0x22]
cmp eax, 0xffff
je 0x10075f7b
cmp eax, dword [esp + 0x2c]
je 0x10075ed1
cmp eax, 1
jne 0x10075f7b
cmp edi, 0xffffffff
je 0x10075ef1
mov ecx, dword [edx + 0x2a]
xor eax, eax
add ecx, edi
push eax
pop edi
adc eax, edi
add ecx, 0x1e
adc eax, edi
cmp eax, dword [esi + 4]
ja 0x10075f69
jb 0x10075ef1
cmp ecx, dword [esi]
ja 0x10075f69
mov eax, 0x2000
test word [edx + 8], ax
jne 0x10075f72
movzx eax, word [edx + 0x1e]
movzx ecx, word [edx + 0x20]
add ecx, eax
movzx eax, word [edx + 0x1c]
add eax, 0x2e
add eax, ecx
cmp eax, ebx
ja 0x10075f69
add edx, eax
sub ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jb 0x10075cfa
cmp dword [esp + 0x24], 0
je 0x10075f3b
mov ecx, esi
call fcn.100753af
xor eax, eax
inc eax
jmp 0x10075f51
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x1c], 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], 0x10
jmp 0x10075f4f
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x1c], 9
jmp 0x10075f4f
mov dword [esi + 0x1c], 5
jmp 0x10075f4f
mov dword [esi + 0x1c], 0xa
jmp 0x10075f4f
mov dword [esi + 0x1c], 8
jmp 0x10075f4f