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

Disassembly:
sub esp, 0x60
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x74]
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
xor ebx, ebx
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [eax*4 + 0x1017acd0]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ebp
mov eax, dword [eax*4 + 0x1017acd0]
mov dword [esp + 0x50], eax
mov eax, dword [ecx*4 + 0x1017acd0]
mov ecx, dword [edi]
mov dword [esp + 0x48], eax
mov eax, dword [ebp*4 + 0x1017acd0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1007cb7e
nop dword [eax]
cmp esi, 1
jae 0x1007c68e
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x63]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x63]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, 1
jb 0x1007c665
mov ecx, dword [esp + 0x28]
mov eax, ebx
dec esi
shr eax, 1
test bl, 1
mov ebx, eax
je 0x1007c7f1
mov ebp, dword [esp + 0x34]
dec ecx
mov dword [esp + 0x28], ecx
cmp esi, ebp
jae 0x1007c6d4
nop dword [eax + eax]
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x64]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x64]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c6b0
mov ecx, dword [esp + 0x3c]
mov eax, ebx
not eax
and eax, dword [esp + 0x38]
movzx ebp, byte [ecx + eax*8]
lea eax, [ecx + eax*8]
movzx ecx, byte [eax + 1]
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], eax
cmp ebp, 0x20
jbe 0x1007c760
nop dword [eax + eax]
cmp ebp, 0x63
je 0x1007cbed
and ebp, 0x1f
cmp esi, ebp
jae 0x1007c734
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x65]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x65]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c710
mov ecx, dword [ebp*4 + 0x1017acd0]
mov eax, ebx
not eax
and ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx ebp, byte [eax + ecx*8]
lea eax, [eax + ecx*8]
movzx ecx, byte [eax + 1]
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], eax
cmp ebp, 0x20
ja 0x1007c700
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
mov al, byte [eax + 4]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x14], edx
cmp edx, 0x8000
jne 0x1007cb6e
mov ecx, dword [edi + 0x1c]
mov ebp, dword [edi + 0x10]
push edx
push ebp
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x1007cbed
mov ecx, dword [edi + 0x24]
mov edx, ebp
push 0x101f1fd0
push 0x8000
not ecx
call fcn.100d5f20
push dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
not eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
push 0
push 0x8000
cdq
push edx
push eax
call fcn.1005c4d0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], 0
mov ecx, dword [eax + 0x74c]
or ecx, dword [eax + 0x748]
jne 0x1007cbed
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], edx
jmp 0x1007cb6e
cmp esi, ebp
jae 0x1007c819
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x66]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x66]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c7f5
mov eax, dword [esp + 0x40]
mov ecx, ebp
and eax, ebx
sub esi, ebp
mov ebp, dword [esp + 0x44]
shr ebx, cl
mov dword [esp + 0x24], eax
cmp esi, ebp
jae 0x1007c855
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x67]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x67]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c831
mov ecx, dword [esp + 0x4c]
mov eax, ebx
not eax
and eax, dword [esp + 0x48]
movzx ebp, byte [ecx + eax*8]
lea eax, [ecx + eax*8]
movzx ecx, byte [eax + 1]
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], eax
cmp ebp, 0x20
jbe 0x1007c8e0
nop dword [eax]
cmp ebp, 0x63
je 0x1007cbed
and ebp, 0x1f
cmp esi, ebp
jae 0x1007c8b4
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x68]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x68]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c890
mov ecx, dword [ebp*4 + 0x1017acd0]
mov eax, ebx
not eax
and ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx ebp, byte [eax + ecx*8]
lea eax, [eax + ecx*8]
movzx ecx, byte [eax + 1]
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], eax
cmp ebp, 0x20
ja 0x1007c880
movzx eax, word [eax + 4]
mov ebp, dword [esp + 0x14]
sub ebp, eax
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
cmp esi, dword [esp + 0x2c]
jae 0x1007c928
mov ebp, dword [esp + 0x2c]
nop dword [eax]
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x69]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x69]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c900
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
mov eax, ebx
not eax
and eax, dword [esp + 0x50]
lea edx, [ecx + eax*8]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
sub esi, ecx
shr ebx, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
cmp eax, 0x20
jbe 0x1007c9c1
nop
cmp eax, 0x63
je 0x1007cbed
and eax, 0x1f
mov dword [esp + 0x18], eax
cmp esi, eax
jae 0x1007c992
mov ebp, eax
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x6a]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x6a]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, ebp
jb 0x1007c966
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, ebx
not eax
mov ecx, dword [ecx*4 + 0x1017acd0]
and ecx, eax
mov eax, dword [edx + 4]
lea edx, [eax + ecx*8]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
sub esi, ecx
shr ebx, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
cmp eax, 0x20
ja 0x1007c950
movzx ecx, word [edx + 4]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x1007ca0e
cmp esi, 8
jae 0x1007c9fb
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x6b]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, byte [esp + 0x6b]
mov ecx, esi
inc dword [edi + 0x28]
add esi, 8
shl eax, cl
or ebx, eax
cmp esi, 8
jb 0x1007c9d2
mov ecx, dword [esp + 0x1c]
movzx eax, bl
add ecx, eax
shr ebx, 8
sub esi, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
sub eax, ecx
cmp ecx, dword [esp + 0x28]
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x28], ecx
and ebp, 0x7fff
mov eax, edx
cmp ebp, edx
mov ecx, 0x8000
cmova eax, ebp
sub ecx, eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov edx, eax
cmovbe edx, ecx
mov ecx, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x24], edx
cmp dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
je 0x1007ca82
cmp ecx, ebp
ja 0x1007ca82
mov eax, dword [edi + 0x10]
push edx
add eax, ecx
push 0
push eax
call fcn.10143f10
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x10]
add edx, dword [esp + 0x30]
add esp, 0xc
add ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edx
jmp 0x1007cae4
sub ecx, ebp
lea eax, [edi + 0x10]
mov dword [esp + 0x20], eax
cmp ecx, edx
jb 0x1007cab9
mov ecx, eax
push edx
mov ecx, dword [ecx]
lea eax, [ecx + ebp]
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
push eax
call fcn.10146160
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, dword [esp + 0x24]
add ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edx
jmp 0x1007cae0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
mov al, byte [ecx + ebp]
inc ebp
mov byte [ecx + edi], al
inc edi
sub edx, 1
jne 0x1007cac1
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, 0x8000
jne 0x1007cb63
mov ecx, dword [edi + 0x1c]
mov edx, dword [eax]
push 0x8000
push edx
mov eax, dword [ecx]
mov dword [esp + 0x2c], edx
call dword [eax + 0x14]
test eax, eax
je 0x1007cbed
mov ecx, dword [edi + 0x24]
mov edx, dword [esp + 0x24]
not ecx
push 0x101f1fd0
push 0x8000
call fcn.100d5f20
push dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
not eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
push 0
push 0x8000
cdq
push edx
push eax
call fcn.1005c4d0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], 0
mov ecx, dword [eax + 0x74c]
or ecx, dword [eax + 0x748]
jne 0x1007cbed
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x1c], 0
jne 0x1007ca24
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
test ecx, ecx
jne 0x1007c660
mov ecx, dword [edi + 0x1c]
mov esi, dword [edi + 0x10]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x1007cbed
mov ecx, dword [edi + 0x24]
mov edx, esi
mov ebx, dword [esp + 0x14]
not ecx
push 0x101f1fd0
push ebx
call fcn.100d5f20
push dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
not eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
push 0
push ebx
cdq
push edx
push eax
call fcn.1005c4d0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], 0
mov ecx, dword [eax + 0x74c]
or ecx, dword [eax + 0x748]
jne 0x1007cbed
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10142783
add esp, 0x60
ret 0x1c
mov ecx, dword [esp + 0x6c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x60
ret 0x1c