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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x10224008]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [edx]
push esi
mov dword [esp + 0xc], eax
push edi
mov eax, dword [eax + 0x24]
xor edi, edi
mov dword [esp + 0x48], edi
mov edi, dword [edx + 0x10]
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
test edi, edi
jne 0x1018effd
push edi
push edi
push 0x101cfd0e
push ecx
jmp 0x1018f48e
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], edx
mov eax, dword [edi]
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
cmp eax, 5
je 0x1018f078
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x50]
push eax
push 0x1018c580
lea edx, [esp + 0x20]
call fcn.1018c4c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1018f072
cmp dword [esp + 8], 2
je 0x1018f072
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x1018c580
lea edx, [esp + 0x20]
call fcn.1018c4c0
add esp, 8
mov esi, eax
mov edi, dword [esp + 0x58]
jmp 0x1018f088
mov eax, dword [edi + 0x14]
xor esi, esi
mov dword [esp + 0x54], 1
mov edi, dword [eax + 0x40]
mov dword [esp + 0x28], edi
test esi, esi
jne 0x1018f179
call fcn.1016fa30
test eax, eax
jne 0x1018f174
lea eax, [edi + edi*2]
shl eax, 2
push esi
push eax
call fcn.100e6440
add esp, 8
mov dword [esp + 0x78], eax
test eax, eax
je 0x1018f174
mov ecx, dword [esp + 0xc]
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov dword [esp + 8], edi
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x74], eax
cmp dword [edx + 0x18], edi
jle 0x1018f179
mov ecx, dword [ecx + 0x10]
lea eax, [esp + 0x60]
push eax
mov edx, 0x1018ef00
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0
call fcn.1018c520
add esp, 4
lea eax, [edi + 1]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
call fcn.10110db0
push dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
call fcn.10110980
add esp, 0x10
test edi, edi
jne 0x1018f220
mov eax, dword [esp + 0xc]
push dword [esp + 0x18]
push dword [eax + 0xc]
call fcn.10111030
add esp, 8
cmp eax, 5
je 0x1018f45d
mov esi, 7
push dword [esp + 0x78]
call fcn.100e66b0
mov eax, dword [esp + 0x14]
add esp, 4
mov edi, dword [eax + 0xfc]
test edi, edi
je 0x1018f1e4
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 8], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1018f1b6
push ecx
call dword [0x102240b8]
mov eax, dword [esp + 0xc]
add esp, 4
mov edx, edi
mov ecx, eax
call fcn.100e6770
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1018f1d4
push eax
call dword [0x102240c0]
add esp, 4
push dword [esp + 0x1c]
call fcn.1010f010
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x1018f47b
push esi
push dword [esp + 0x50]
call fcn.1010fd50
push dword [esp + 0x1c]
call fcn.100e66b0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0x14]
push edi
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x24]
call fcn.1017e3c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1018f179
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1018f43d
nop dword [eax]
mov ecx, dword [esp + 0x28]
xor edi, edi
mov esi, SysReAllocString
test ecx, ecx
jle 0x1018f438
mov eax, dword [esp + 0x78]
mov edx, ecx
nop dword [eax]
cmp dword [eax], 0
je 0x1018f2b3
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
cmp ecx, esi
jge 0x1018f2b3
mov esi, ecx
mov edi, eax
add eax, 0xc
sub edx, 1
jne 0x1018f2a0
mov dword [esp + 0x24], edi
test edi, edi
je 0x1018f438
mov ecx, dword [edi]
mov al, byte [ecx]
test al, 0xfe
jne 0x1018f2d3
mov dword [edi], edx
jmp 0x1018f2fe
test al, al
jns 0x1018f2e8
lea edx, [esp + 0x40]
call fcn.10174210
mov ecx, dword [edi]
mov edx, dword [esp + 0x40]
jmp 0x1018f2f4
movzx edx, al
mov eax, 1
mov dword [esp + 0x40], edx
add eax, ecx
mov dword [edi], eax
lea eax, [edx - 2]
add dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x2c], esi
jge 0x1018f335
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x4c]
mov eax, dword [edi + 0x14]
call eax
add esp, 0x18
test eax, eax
je 0x1018f306
mov edi, dword [esp + 0x24]
test eax, eax
jne 0x1018f421
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub eax, ecx
sub edi, dword [esp + 0x78]
push eax
mov eax, 0x2aaaaaab
imul edi
push ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x98]
push str._d__d__d__d
push eax
push 0x40
call fcn.100e9260
lea esi, [esp + 0xa4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1018f387
mov eax, dword [esp + 0x20]
sub esi, ecx
mov edi, dword [esp + 0x48]
add eax, esi
mov dword [esp + 0x24], eax
inc eax
cmp eax, edi
jl 0x1018f3e3
mov eax, edi
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
adc ecx, edx
add edi, 0x64
adc ecx, 0
mov dword [esp + 0x1c], ecx
call fcn.1016fa30
test eax, eax
jne 0x1018f41a
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edi
call fcn.100e67d0
add esp, 8
test eax, eax
je 0x1018f41a
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edi
jmp 0x1018f3e7
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x88]
push esi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov byte [ecx + eax], 0
jmp 0x1018f280
mov eax, 7
jmp 0x1018f43d
cmp eax, 0x65
jne 0x1018f43d
mov edx, dword [esp + 0x10]
mov ecx, 0x10b
cmp dword [edx + 0x28], 0
cmove eax, ecx
jmp 0x1018f43d
mov eax, 0x65
push dword [esp + 0x38]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x1018f179
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov dword [esp + 8], edi
cmp edi, dword [eax + 0x18]
jge 0x1018f179
mov ecx, dword [esp + 0xc]
jmp 0x1018f0e6
mov eax, dword [esp + 0x20]
push fcn.100e66b0
dec eax
push eax
push dword [esp + 0x1c]
push dword [esp + 0x58]
call fcn.1010fa50
mov ecx, dword [esp + 0xdc]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret