Function at 0x100af2a0
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 0x100af324
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 0x100af2f1
lea eax, [edi + edx]
mov byte [eax], bl
mov eax, 1
jmp 0x100af30c
mov ecx, dword [esp + 0x20]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi + ecx]
call fcn.1009a030
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.1009a030
add esp, 8
jmp 0x100af35b
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 0x100af34b
mov byte [ecx], bl
mov eax, 1
jmp 0x100af358
mov eax, ebx
cdq
push edx
push eax
call fcn.1009a030
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 0x100af3b2
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 0x100af41d
push esi
push dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x100af439
test ecx, ecx
jle 0x100af430
push ecx
push dword [esp + 0x10]
mov esi, ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x100af439
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 0x100af691
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 0x100af405
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], esi
cmp byte [edi + 0x11], 0
je 0x100af4e3
jmp 0x100af486
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, 2
jae 0x100af493
mov edi, dword [edi + 0x24]
xor ecx, ecx
jmp 0x100af4c5
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 [0x10311a04]
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 0x100af482
mov eax, dword [0x10311a04]
xor edx, edx
div edi
mov edi, dword [esp + 0x14]
inc eax
cmp ebx, eax
je 0x100af486
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.100ae480
mov ebx, dword [esp + 0x30]
add esp, 0xc
cmp byte [edi + 0x11], 0
mov dword [esp + 0x10], eax
je 0x100af586
test eax, eax
jne 0x100af626
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.100a8ff0
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x100af592
mov edx, dword [esp + 0x28]
test edx, edx
je 0x100af58a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100af5ec
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.101b0580
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 0x100af626
mov ecx, dword [esp + 0x2c]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100af5fc
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100af5f5
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.101b0580
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100af5fc
mov ecx, edx
call fcn.1009ee90
jmp 0x100af58a
mov ecx, edx
call fcn.1009ee90
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 0x100af3f9
mov edx, dword [esp + 0x20]
test edx, edx
je 0x100af686
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100af67f
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.101b0580
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.1009ee90
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 0x100af6ef
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100af6e8
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.101b0580
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.1009ee90
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret