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

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x74]
xor ecx, ecx
push ebp
push edi
mov dword [esp + 0x10], 0
mov ebp, dword [eax + 0x68]
mov edi, dword [eax + 0x2bc]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x3c], ecx
cmp byte [eax + 0x2b9], cl
je 0x1018d2fe
test edi, edi
je 0x1018d2fe
push esi
mov esi, dword [esp + 0x84]
cmp esi, dword [edi + 0x44]
jae 0x1018d2f5
mov eax, dword [edi + 0x48]
lea ecx, [eax + esi*4]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x1018d2f5
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 8
push edx
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 0
jne 0x1018d2c4
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 8
push dword [esp + 0x28]
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jne 0x1018d2c4
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 1
push dword [esp + 0x28]
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x28], eax
cmp dword [esp + 0x10], 0
jne 0x1018d2c4
mov ecx, dword [edi + 0x48]
push dword [ecx + esi*4]
push ebp
call fcn.10178ff0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1018d2c4
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + esi*4 + 4]
sub ecx, dword [eax + esi*4]
push ecx
push ebp
call fcn.10178630
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1018d2c4
mov esi, dword [ebp + 0x20]
lea eax, [esp + 0x10]
sub esi, dword [ebp]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], 0
jne 0x1018ccb8
lea eax, [esp + 0x10]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x34], eax
cmp dword [esp + 0x10], 0
jne 0x1018ccb8
lea eax, [esp + 0x10]
push eax
push 0
push dword [edi]
push 0
push 4
push dword [esp + 0x28]
call fcn.1017a8b0
add esp, 0x18
mov dword [esp + 0x38], eax
cmp dword [esp + 0x10], 0
jne 0x1018ccb8
push ebp
call fcn.10178830
push ebp
movzx edi, ax
call fcn.10178830
mov ecx, dword [esp + 0x24]
add esp, 8
movzx edx, ax
mov eax, edi
and eax, 0xfff
mov dword [esp + 0x68], eax
lea eax, [edx + eax*4]
cmp eax, dword [ecx + 0x4c]
jbe 0x1018cccd
mov dword [esp + 0x10], 8
xor eax, eax
mov ebx, dword [esp + 0x14]
push eax
push ebx
call fcn.1017a750
add esp, 8
jmp 0x1018d29d
add edx, esi
mov dword [esp + 0x24], edx
test edi, 0x8000
je 0x1018cd2e
mov edx, dword [ebp + 0x24]
mov eax, edx
mov ecx, dword [ebp]
sub eax, ecx
mov esi, dword [ebp + 0x20]
mov edi, dword [esp + 0x24]
sub esi, ecx
cmp edi, eax
jae 0x1018ccf5
lea edx, [ecx + edi]
lea eax, [esp + 0x58]
mov dword [ebp + 0x20], edx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0x4c]
push ebp
call fcn.1018ee60
mov edx, dword [ebp + 0x24]
add esp, 0xc
mov edi, dword [ebp]
mov ecx, edx
mov dword [esp + 0x54], eax
sub ecx, edi
mov eax, dword [ebp + 0x20]
sub eax, edi
mov dword [esp + 0x24], eax
cmp esi, ecx
jae 0x1018cd2b
lea edx, [edi + esi]
mov dword [ebp + 0x20], edx
xor edx, edx
test ebx, ebx
je 0x1018cd56
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x20]
nop
mov ecx, dword [esi + 4]
mov eax, dword [ecx + edx*8]
mov dword [edi + edx*8], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [edi + edx*8 + 4], eax
inc edx
cmp edx, ebx
jb 0x1018cd40
cmp dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
jbe 0x1018d28c
nop dword [eax]
push ebp
call fcn.10178830
movzx eax, ax
push ebp
mov dword [esp + 0x84], eax
call fcn.10178830
mov ebx, dword [esp + 0x24]
add esp, 8
movzx edi, ax
mov dword [esp + 0x2c], edi
test edi, 0x8000
je 0x1018cdc1
xor esi, esi
cmp dword [ebx], esi
jbe 0x1018cdf2
mov edi, dword [esp + 0x30]
push ebp
call fcn.10178830
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [ebx]
jb 0x1018cda6
mov edi, dword [esp + 0x2c]
jmp 0x1018cdf2
mov edx, edi
and edx, 0xfff
cmp edx, dword [ebx + 0x3c]
jae 0x1018d284
mov ecx, dword [ebx]
imul edx, ecx
lea eax, [ecx*4]
push eax
mov eax, dword [ebx + 0x40]
lea eax, [eax + edx*4]
push eax
push dword [esp + 0x38]
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
test edi, 0x4000
je 0x1018ce49
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x1018ce21
mov edi, dword [esp + 0x34]
push ebp
call fcn.10178830
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [ebx]
cmp esi, eax
jb 0x1018ce06
mov edi, dword [esp + 0x2c]
xor esi, esi
test eax, eax
je 0x1018ce49
mov edi, dword [esp + 0x38]
nop dword [eax + eax]
push ebp
call fcn.10178830
cwde
add esp, 4
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [ebx]
jb 0x1018ce30
mov edi, dword [esp + 0x2c]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
push edi
push ebx
call fcn.1018d810
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1018d267
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
sub eax, ecx
mov esi, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, edx
sub eax, ecx
cmp esi, eax
jae 0x1018ce89
lea edx, [ecx + esi]
mov dword [ebp + 0x20], edx
test edi, 0x2000
je 0x1018ceb5
lea eax, [esp + 0x5c]
push eax
push dword [ebx + 0x4c]
push ebp
call fcn.1018ee60
mov ebx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x44], eax
mov ebp, eax
mov dword [esp + 0x60], eax
jmp 0x1018cec5
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x1c]
test ebx, ebx
mov edi, dword [esp + 0x90]
mov esi, ebx
cmove esi, edi
push esi
push dword [eax + 0x4c]
push dword [esp + 0x58]
call fcn.1018ed40
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push esi
push dword [eax + 0x4c]
push dword [esp + 0x64]
call fcn.1018ed40
add esp, 0x18
mov dword [esp + 0x4c], eax
test ebp, ebp
je 0x1018d217
test eax, eax
je 0x1018d217
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x1018d217
cmp ebp, 0xffffffff
jne 0x1018d04c
mov ebx, edi
xor esi, esi
test ebx, ebx
je 0x1018d217
mov edi, eax
lea ebp, [ebx - 4]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x6c], eax
nop
movsx eax, word [edi + eax]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x3c], eax
movsx eax, word [edi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x40], eax
cmp esi, ebp
jae 0x1018cfb7
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x3c]
add dword [ecx], eax
mov eax, dword [edx + 4]
jmp 0x1018d02d
mov ecx, dword [esp + 0x84]
jne 0x1018cfde
test byte [ecx + 0x2c0], 4
jne 0x1018cfde
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x3c]
add dword [ecx], eax
jmp 0x1018d037
lea eax, [ebx - 3]
cmp esi, eax
jne 0x1018d003
test byte [ecx + 0x2c0], 2
jne 0x1018d003
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x3c]
add dword [ecx], eax
jmp 0x1018d037
lea eax, [ebx - 2]
cmp esi, eax
jne 0x1018d013
test byte [ecx + 0x2c0], 0x20
je 0x1018d023
lea eax, [ebx - 1]
cmp esi, eax
jne 0x1018d037
test byte [ecx + 0x2c0], 0x10
jne 0x1018d037
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x40]
add dword [ecx + 4], eax
mov eax, dword [esp + 0x6c]
inc esi
add edi, 2
cmp esi, ebx
jb 0x1018cf40
jmp 0x1018d217
xor edx, edx
test edi, edi
je 0x1018d086
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub esi, ecx
mov ebp, dword [esp + 0x28]
mov byte [edx + ebp], 0
lea ecx, [ecx + 8]
mov eax, dword [esi + ecx - 8]
inc edx
mov dword [ecx - 8], eax
mov eax, dword [esi + ecx - 4]
mov dword [ecx - 4], eax
cmp edx, edi
jb 0x1018d060
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
test ebx, ebx
je 0x1018d13b
sub ebp, ecx
mov esi, ecx
sub eax, ecx
mov dword [esp + 0x60], eax
nop dword [eax + eax]
movzx edi, word [esi + ebp]
cmp edi, dword [esp + 0x90]
jae 0x1018d12f
mov eax, dword [esp + 0x28]
mov byte [edi + eax], 1
movsx eax, word [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
add dword [ecx + edi*8], eax
mov eax, dword [esp + 0x60]
movsx eax, word [eax + esi]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
add dword [ecx + edi*8 + 4], eax
add esi, 2
sub ebx, 1
jne 0x1018d0a0
push dword [esp + 0x28]
mov ebp, dword [esp + 0x90]
push dword [esp + 0x24]
push dword [esp + 0x20]
push ebp
call fcn.10190f40
mov ebx, dword [esp + 0xa0]
add esp, 0x10
xor ecx, ecx
test ebx, ebx
je 0x1018d217
mov edx, dword [esp + 0x18]
lea edi, [ebx - 4]
mov eax, dword [esp + 0x20]
mov esi, edx
sub esi, eax
mov dword [esp + 0x6c], esi
nop dword [eax + eax]
mov edx, dword [edx + ecx*8]
lea eax, [eax + ecx*8]
mov esi, dword [eax + esi + 4]
sub edx, dword [eax]
sub esi, dword [eax + 4]
cmp ecx, edi
jae 0x1018d19b
mov eax, dword [ebp + 4]
add dword [eax + ecx*8], edx
jmp 0x1018d1fb
jne 0x1018d1b5
mov eax, dword [esp + 0x84]
test byte [eax + 0x2c0], 4
jne 0x1018d1b5
mov eax, dword [ebp + 4]
add dword [eax + ecx*8], edx
jmp 0x1018d202
lea eax, [ebx - 3]
cmp ecx, eax
jne 0x1018d1d4
mov eax, dword [esp + 0x84]
test byte [eax + 0x2c0], 2
jne 0x1018d1d4
mov eax, dword [ebp + 4]
add dword [eax + ecx*8], edx
jmp 0x1018d202
mov edx, dword [esp + 0x84]
lea eax, [ebx - 2]
cmp ecx, eax
jne 0x1018d1eb
test byte [edx + 0x2c0], 0x20
je 0x1018d1fb
lea eax, [ebx - 1]
cmp ecx, eax
jne 0x1018d202
test byte [edx + 0x2c0], 0x10
jne 0x1018d202
mov eax, dword [ebp + 4]
add dword [eax + ecx*8 + 4], esi
mov esi, dword [esp + 0x6c]
inc ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp ecx, ebx
jb 0x1018d180
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
cmp edi, 0xffffffff
je 0x1018d234
push edi
push ebx
call fcn.1017a750
add esp, 8
xor ecx, ecx
mov dword [esp + 0x44], ecx
push dword [esp + 0x48]
push ebx
call fcn.1017a750
push dword [esp + 0x54]
push ebx
call fcn.1017a750
mov ebp, dword [esp + 0x60]
add esp, 0x10
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0x24]
mov eax, ecx
mov edx, dword [ebp]
sub eax, edx
cmp esi, eax
jae 0x1018d264
lea ecx, [edx + esi]
mov dword [ebp + 0x20], ecx
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x7c]
inc ebx
add dword [esp + 0x24], eax
mov dword [esp + 0x64], ebx
cmp ebx, dword [esp + 0x68]
jb 0x1018cd70
jmp 0x1018d28c
mov dword [esp + 0x10], 8
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
jne 0x1018ccba
mov ebx, dword [esp + 0x14]
push dword [esp + 0x30]
push ebx
call fcn.1017a750
push dword [esp + 0x3c]
push ebx
call fcn.1017a750
push dword [esp + 0x48]
push ebx
call fcn.1017a750
push ebp
call fcn.101786f0
add esp, 0x1c
push dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
push ebp
call fcn.1017a750
push dword [esp + 0x20]
push ebp
call fcn.1017a750
push dword [esp + 0x38]
push ebp
call fcn.1017a750
mov eax, dword [esp + 0x28]
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x70
ret
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0x70
ret
pop edi
mov eax, 6
pop ebp
add esp, 0x70
ret