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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, ecx
mov dword [esp + 0x14], edx
push ebx
push esi
push edi
cmp byte [eax + 2], 0
movzx edi, byte [eax + 0xa]
mov dword [esp + 0x2c], eax
lea ecx, [edi + edx]
je 0x1007ef04
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x10]
add ebx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], eax
cmp ebx, 0x80
jae 0x1007eed1
lea eax, [edi + edx]
mov byte [eax], bl
mov eax, 1
jmp 0x1007eeec
mov ecx, dword [esp + 0x20]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi + ecx]
call fcn.10069c10
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x20]
push dword [ecx + 0xc]
movzx eax, al
push dword [ecx + 8]
add edi, eax
lea ecx, [edi + edx]
call fcn.10069c10
add esp, 8
jmp 0x1007ef3b
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov esi, ebx
mov eax, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], eax
cmp ebx, 0x80
jae 0x1007ef2b
mov byte [ecx], bl
mov eax, 1
jmp 0x1007ef38
mov eax, ebx
cdq
push edx
push eax
call fcn.10069c10
add esp, 8
movzx eax, al
add edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
add edi, dword [esp + 0x20]
movzx ecx, word [eax + 0xe]
mov dword [esp + 0x2c], ecx
cmp ebx, ecx
jg 0x1007ef92
mov ecx, dword [esp + 0x24]
mov eax, 4
add ecx, ebx
cmp ecx, eax
push esi
push dword [esp + 0x10]
cmovl ecx, eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [eax], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [edi + esi]
sub ebx, esi
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, word [eax + 0x10]
xor edx, edx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x28]
mov eax, ebx
sub eax, esi
sub ecx, 4
div ecx
lea eax, [edx + esi]
mov edx, dword [esp + 0x24]
cmp eax, dword [esp + 0x2c]
cmovle esi, eax
mov eax, dword [ebp + 0xc]
add edx, esi
lea ecx, [edx + 4]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
add eax, edx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], esi
cmp eax, dword [esp + 0x10]
cmovle esi, eax
cmp ecx, esi
jl 0x1007effd
push esi
push dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1007f019
test ecx, ecx
jle 0x1007f010
push ecx
push dword [esp + 0x10]
mov esi, ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1007f019
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
sub eax, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x1007f271
mov ecx, dword [esp + 0x1c]
add edi, esi
add dword [esp + 0xc], esi
sub ecx, esi
sub dword [esp + 0x10], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x1007efe5
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], esi
cmp byte [edi + 0x11], 0
je 0x1007f0c3
jmp 0x1007f066
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, 2
jae 0x1007f073
mov edi, dword [edi + 0x24]
xor ecx, ecx
jmp 0x1007f0a5
mov eax, 0xcccccccd
lea esi, [ebx - 2]
mul dword [edi + 0x28]
mov eax, esi
mov edi, dword [edi + 0x24]
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x102d69fc]
xor ecx, ecx
sub esi, edx
xor edx, edx
div edi
dec eax
cmp esi, eax
sete cl
add ecx, 2
add ecx, esi
cmp ecx, ebx
je 0x1007f062
mov eax, dword [0x102d69fc]
xor edx, edx
div edi
mov edi, dword [esp + 0x14]
inc eax
cmp ebx, eax
je 0x1007f066
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
push 0
lea eax, [esp + 0x28]
mov ecx, edi
push ebx
push eax
lea edx, [esp + 0x34]
call fcn.1007e060
mov ebx, dword [esp + 0x30]
add esp, 0xc
cmp byte [edi + 0x11], 0
mov dword [esp + 0x10], eax
je 0x1007f166
test eax, eax
jne 0x1007f206
lea eax, [esp + 0x10]
test esi, esi
push eax
setne al
mov edx, ebx
add al, 3
mov ecx, edi
movzx eax, al
push esi
push eax
call fcn.10078be0
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x1007f172
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1007f16a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007f1cc
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1007f206
mov ecx, dword [esp + 0x2c]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1007f1dc
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007f1d5
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x1007f1dc
mov ecx, edx
call fcn.1006ea70
jmp 0x1007f16a
mov ecx, edx
call fcn.1006ea70
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [ecx], 0
mov edi, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
add edi, 4
mov esi, dword [eax + 0x28]
sub esi, 4
jmp 0x1007efd9
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1007f266
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007f25f
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov eax, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.1006ea70
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1007f2cf
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007f2c8
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.1006ea70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret