Function at 0x1007e7b0
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 0x1007e834
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 0x1007e801
lea eax, [edi + edx]
mov byte [eax], bl
mov eax, 1
jmp 0x1007e81c
mov ecx, dword [esp + 0x20]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi + ecx]
call fcn.10069550
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.10069550
add esp, 8
jmp 0x1007e86b
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 0x1007e85b
mov byte [ecx], bl
mov eax, 1
jmp 0x1007e868
mov eax, ebx
cdq
push edx
push eax
call fcn.10069550
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 0x1007e8c2
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 0x1007e92d
push esi
push dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1007e949
test ecx, ecx
jle 0x1007e940
push ecx
push dword [esp + 0x10]
mov esi, ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1007e949
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 0x1007eba1
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 0x1007e915
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], esi
cmp byte [edi + 0x11], 0
je 0x1007e9f3
jmp 0x1007e996
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, 2
jae 0x1007e9a3
mov edi, dword [edi + 0x24]
xor ecx, ecx
jmp 0x1007e9d5
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 [0x102d49fc]
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 0x1007e992
mov eax, dword [0x102d49fc]
xor edx, edx
div edi
mov edi, dword [esp + 0x14]
inc eax
cmp ebx, eax
je 0x1007e996
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.1007d990
mov ebx, dword [esp + 0x30]
add esp, 0xc
cmp byte [edi + 0x11], 0
mov dword [esp + 0x10], eax
je 0x1007ea96
test eax, eax
jne 0x1007eb36
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.10078510
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x1007eaa2
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1007ea9a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007eafc
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.10180ab0
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 0x1007eb36
mov ecx, dword [esp + 0x2c]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1007eb0c
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007eb05
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.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x1007eb0c
mov ecx, edx
call fcn.1006e3b0
jmp 0x1007ea9a
mov ecx, edx
call fcn.1006e3b0
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 0x1007e909
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1007eb96
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007eb8f
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.10180ab0
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.1006e3b0
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 0x1007ebff
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007ebf8
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.10180ab0
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.1006e3b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret