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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10331c40]
xor eax, esp
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x4c]
push edi
push ecx
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ebp
call fcn.1018b370
mov edx, dword [esp + 0x60]
add esp, 8
test edx, edx
je case.default.0x1018b7b1
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ecx
cmp ecx, 7
jne 0x1018b73e
mov ecx, dword [esp + 0x28]
inc eax
mov edi, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [ecx], eax
lea eax, [ebx - 1]
mov dword [ecx + 8], eax
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.1018b370
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [esp + 0x64], 3
mov dword [eax], edi
mov dword [eax + 8], esi
jne 0x1018b779
mov eax, dword [esp + 0x50]
mov ecx, 8
lea edi, [ecx - 7]
jmp 0x1018b749
cmp edx, 3
jne 0x1018b77d
mov edi, ebp
mov dword [esp + 0x2c], ebp
test ebp, ebp
je case.default.0x1018b7b1
inc eax
dec ebx
mov dword [esp + 0x10], eax
mov edx, 1
mov dword [esp + 0x3c], ebx
test edi, edi
jne 0x1018b77f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101556c2
add esp, 0x60
ret
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x34]
lea esi, [ecx - 1]
mov dword [esp + 0x18], esi
lea eax, [eax + edx*4]
mov dword [esp + 0x40], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x30]
push ebx
add edi, dword [eax + 0x10]
lea eax, [esp + 0x14]
push eax
call fcn.101959d0
add esp, 8
cmp esi, 7
ja case.default.0x1018b7b1
jmp dword [esi*4 + 0x1018bb64]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 3]
cmp edx, ebx
jae 0x1018b809
cmp byte [ecx], 0x74
jne 0x1018b809
cmp byte [ecx + 1], 0x72
jne 0x1018b809
cmp byte [ecx + 2], 0x75
jne 0x1018b809
cmp byte [edx], 0x65
jne 0x1018b809
add ecx, 5
mov eax, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 0x14]
sub ecx, 1
je 0x1018b8bf
sub ecx, 1
je 0x1018b8b7
sub ecx, 2
mov dword [edi], eax
jmp 0x1018bad3
lea esi, [ecx + 4]
xor eax, eax
cmp esi, ebx
jae 0x1018b7e1
cmp byte [ecx], 0x66
jne 0x1018b7e1
cmp byte [ecx + 1], 0x61
jne 0x1018b7e1
cmp byte [ecx + 2], 0x6c
jne 0x1018b7e1
cmp byte [edx], 0x73
jne 0x1018b7e1
cmp byte [esi], 0x65
jne 0x1018b7e1
add ecx, 6
jmp 0x1018b7e1
push 0
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.1018dfa0
add esp, 0xc
jmp 0x1018b7e5
push 3
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.1018dfa0
add esp, 0xc
jmp 0x1018b7e5
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0xa
push ebx
push eax
mov dword [esp + 0x20], esi
call fcn.1018dea0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp ecx, esi
jne 0x1018b87d
xor eax, eax
jmp 0x1018b7e5
cmp ecx, ebx
jae 0x1018b7e1
cmp byte [ecx], 0x23
jne 0x1018b7e1
push eax
inc ecx
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x20], ecx
mov esi, ecx
call fcn.1018dea0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp ecx, esi
jne 0x1018b7e1
xor eax, eax
jmp 0x1018b7e5
mov word [edi], ax
jmp 0x1018bad3
mov byte [edi], al
jmp 0x1018bad3
mov eax, dword [esp + 0x28]
mov esi, ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
sub esi, eax
mov dword [esp + 0x20], ecx
cmp eax, ebx
jae 0x1018bad3
mov edx, dword [esp + 0x58]
cmp edx, 4
jne 0x1018b8ed
dec esi
jmp 0x1018b8f8
cmp edx, 2
jne case.default.0x1018b7b1
sub esi, edx
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
test eax, eax
je 0x1018b91b
push eax
push ecx
call fcn.1015d970
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [edi], 0
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 1]
push eax
push ecx
call fcn.1015d910
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x1018bb08
push esi
push dword [esp + 0x20]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
mov dword [edi], eax
jmp 0x1018bad3
push 0
lea eax, [esp + 0x60]
push eax
push 4
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.10195680
add esp, 0x14
cmp eax, 4
jl case.default.0x1018b7b1
push dword [esp + 0x5c]
call fcn.1015b410
push dword [esp + 0x64]
mov dword [edi], eax
call fcn.1015b410
push dword [esp + 0x6c]
mov dword [edi + 4], eax
call fcn.1015b410
push dword [esp + 0x74]
mov dword [edi + 8], eax
call fcn.1015b410
add esp, 0x10
mov dword [edi + 0xc], eax
jmp 0x1018bad7
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
push 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp*4]
push eax
push 0
push 4
push ecx
mov dword [esp + 0x38], ecx
call fcn.1015dad0
mov ecx, eax
add esp, 0x18
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1018bb51
xor edi, edi
mov esi, ecx
nop
push 0
push esi
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.10195680
add esp, 0x14
test eax, eax
js 0x1018bb1d
cmp eax, ebp
jb 0x1018bb1d
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.101959d0
lea ecx, [ebp*4]
inc edi
add esp, 8
add esi, ecx
cmp edi, 4
jb 0x1018b9f0
test ebp, ebp
je 0x1018bac3
mov edx, dword [esp + 0x1c]
lea eax, [ebp*2]
add eax, ebp
mov dword [esp + 0x38], ebp
mov edi, edx
lea ebx, [edx + ebp*8]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
lea eax, [ecx + edx]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x48], eax
nop dword [eax]
push dword [edi]
mov esi, dword [edi + eax]
call fcn.1015b410
mov dword [esi], eax
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.1015b410
mov dword [esi + 4], eax
push dword [ebx]
call fcn.1015b410
mov dword [esi + 8], eax
push dword [ebp]
call fcn.1015b410
add dword [esp + 0x24], 4
lea edi, [edi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
sub dword [esp + 0x38], 1
lea ebx, [ebx + 4]
mov eax, dword [esp + 0x48]
lea ebp, [ebp + 4]
jne 0x1018ba70
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.1015d970
add esp, 8
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
dec ecx
add eax, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x1018b791
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101556c2
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101556c2
add esp, 0x60
ret
push dword [esp + 0x1c]
mov dword [esp + 0x28], 3
push dword [esp + 0x24]
call fcn.1015d970
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101556c2
add esp, 0x60
ret
mov eax, 3
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101556c2
add esp, 0x60
ret