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

Disassembly:
sub esp, 0x60
mov eax, dword [0x102a2000]
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 + 0x2c], ecx
lea ecx, [esp + 0x4c]
push edi
push ecx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], ebp
call fcn.10116550
mov edx, dword [esp + 0x60]
add esp, 8
test edx, edx
je case.default.0x10116971
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ecx
cmp ecx, 7
jne 0x101168fe
mov ecx, dword [esp + 0x20]
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.10116550
mov eax, dword [esp + 0x28]
add esp, 8
cmp dword [esp + 0x64], 3
mov dword [eax], edi
mov dword [eax + 8], esi
jne 0x10116939
mov eax, dword [esp + 0x50]
mov ecx, 8
lea esi, [ecx - 7]
jmp 0x10116909
cmp edx, 3
jne 0x1011693d
mov esi, ebp
mov dword [esp + 0x28], esi
test ebp, ebp
je case.default.0x10116971
inc eax
dec ebx
mov dword [esp + 0x10], eax
mov edx, 1
mov dword [esp + 0x38], ebx
test esi, esi
jne 0x1011693f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100ea0d3
add esp, 0x60
ret
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x30]
lea edi, [ecx - 1]
mov dword [esp + 0x4c], edi
lea eax, [eax + edx*4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
push ebx
mov esi, dword [ecx + 0x10]
add esi, dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.10119ae0
add esp, 8
cmp edi, 7
ja case.default.0x10116971
jmp dword [edi*4 + 0x10116cc4]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 3]
cmp edx, ebx
jae 0x101169a7
cmp byte [ecx], 0x74
jne 0x101169a7
cmp byte [ecx + 1], 0x72
jne 0x101169a7
cmp byte [ecx + 2], 0x75
jne 0x101169a7
cmp byte [edx], 0x65
jne 0x101169a7
add ecx, 5
mov eax, 1
mov dword [esp + 0x10], ecx
jmp 0x10116a06
lea edi, [ecx + 4]
xor eax, eax
cmp edi, ebx
jae 0x101169ce
cmp byte [ecx], 0x66
jne 0x101169ce
cmp byte [ecx + 1], 0x61
jne 0x101169ce
cmp byte [ecx + 2], 0x6c
jne 0x101169ce
cmp byte [edx], 0x73
jne 0x101169ce
cmp byte [edi], 0x65
jne 0x101169ce
add ecx, 6
mov dword [esp + 0x10], ecx
jmp 0x10116a06
push 0
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.10118da0
add esp, 0xc
jmp 0x10116a06
push 3
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.10118da0
add esp, 0xc
jmp 0x10116a06
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.10118d40
add esp, 8
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx + 0x14]
sub ecx, 1
je 0x10116a2a
sub ecx, 1
je 0x10116a22
sub ecx, 2
mov dword [esi], eax
jmp 0x10116c43
mov word [esi], ax
jmp 0x10116c43
mov byte [esi], al
jmp 0x10116c43
mov eax, dword [esp + 0x20]
mov edi, ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esp + 0x1c], ecx
cmp eax, ebx
jae 0x10116c43
mov edx, dword [esp + 0x58]
cmp edx, 4
jne 0x10116a58
dec edi
jmp 0x10116a63
cmp edx, 2
jne case.default.0x10116971
sub edi, edx
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi]
test eax, eax
je 0x10116a86
push eax
push ecx
call fcn.100e3c20
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esi], 0
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 1]
push eax
push ecx
call fcn.100e3980
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x10116c68
push edi
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov byte [edi + eax], 0
mov dword [esi], eax
jmp 0x10116c43
push 0
lea eax, [esp + 0x60]
push eax
push 4
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.10119df0
add esp, 0x14
cmp eax, 4
jl case.default.0x10116971
push dword [esp + 0x5c]
call fcn.100e2f90
push dword [esp + 0x64]
mov dword [esi], eax
call fcn.100e2f90
push dword [esp + 0x6c]
mov dword [esi + 4], eax
call fcn.100e2f90
push dword [esp + 0x74]
mov dword [esi + 8], eax
call fcn.100e2f90
add esp, 0x10
mov dword [esi + 0xc], eax
jmp 0x10116c43
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp*4]
push eax
push 0
push 4
push ecx
mov dword [esp + 0x34], ecx
call fcn.100e3a30
mov ecx, eax
add esp, 0x18
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10116cb1
xor edi, edi
mov esi, ecx
nop dword [eax]
push 0
push esi
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.10119df0
add esp, 0x14
test eax, eax
js 0x10116c7d
cmp eax, ebp
jb 0x10116c7d
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.10119ae0
lea ecx, [ebp*4]
inc edi
add esp, 8
add esi, ecx
cmp edi, 4
jb 0x10116b60
test ebp, ebp
je 0x10116c33
mov edx, dword [esp + 0x18]
lea eax, [ebp*2]
add eax, ebp
mov dword [esp + 0x34], ebp
mov edi, edx
lea ebx, [edx + ebp*8]
lea eax, [edx + eax*4]
mov dword [esp + 0x40], eax
lea eax, [ecx + edx]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
sub eax, edx
mov dword [esp + 0x44], eax
nop dword [eax]
push dword [edi]
mov esi, dword [edi + eax]
call fcn.100e2f90
mov dword [esi], eax
mov eax, dword [esp + 0x28]
push dword [eax]
call fcn.100e2f90
mov dword [esi + 4], eax
push dword [ebx]
call fcn.100e2f90
mov dword [esi + 8], eax
push dword [ebp]
call fcn.100e2f90
add dword [esp + 0x34], 4
lea edi, [edi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
sub dword [esp + 0x34], 1
lea ebx, [ebx + 4]
mov eax, dword [esp + 0x44]
lea ebp, [ebp + 4]
jne 0x10116be0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.100e3c20
add esp, 8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
dec ecx
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x10116924
mov edi, dword [esp + 0x4c]
jmp 0x10116951
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100ea0d3
add esp, 0x60
ret
push dword [esp + 0x18]
mov dword [esp + 0x18], 3
push dword [esp + 0x20]
call fcn.100e3c20
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100ea0d3
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.100ea0d3
add esp, 0x60
ret