Function at 0x418110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov dword [esp + 0x10], ecx
mov eax, edx
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], eax
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0
push ecx
lea ecx, [esp + 0x64]
xorps xmm0, xmm0
push ecx
mov edx, 0x20
movlpd qword [esp + 0x74], xmm0
mov ecx, eax
movlpd qword [esp + 0x7c], xmm0
call fcn.00415870
mov eax, dword [esp + 0x80]
mov edx, 5
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
lea esi, [edx + 0x1b]
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
nop
dec edx
ror esi, 1
mov ebx, 0x40
mov dword [esp + 0x4c], edx
sub ebx, esi
mov dword [esp + 0x54], esi
mov edx, ecx
mov eax, edi
mov ecx, ebx
call fcn.00435e10
mov ecx, eax
and eax, 1
shrd ecx, edx, 1
or ecx, eax
shr edx, 1
neg ecx
mov eax, edi
adc edx, 0
xor ecx, ecx
neg edx
shr edx, 0x1f
xor edx, 1
mov dword [esp + 0x50], edx
neg edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xc]
adc ecx, ecx
neg ecx
mov dword [esp + 0x28], ecx
mov ecx, esi
call fcn.00435df0
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov edx, dword [esp + 0x1c]
call fcn.00435e10
or esi, eax
or edi, edx
mov eax, dword [esp + 0x20]
xor esi, eax
xor edi, dword [esp + 0xc]
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x28]
xor eax, esi
xor dword [esp + 0xc], edi
mov edi, eax
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], edi
call fcn.00435df0
mov ecx, dword [esp + 0x1c]
xor edx, ecx
and edx, dword [esp + 0x28]
xor eax, dword [esp + 0x10]
xor ecx, edx
mov edx, dword [esp + 0x24]
and eax, dword [esp + 0x58]
xor dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
lea eax, [esi + edx]
xor eax, edx
neg ecx
and eax, ecx
mov ecx, dword [esp + 0xc]
xor edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x418190
mov ebx, ecx
mov ecx, 0x92db03d6
mov eax, ebx
mul ecx
mov ecx, 0xf63e71ea
mov eax, 0
shr edx, 2
sub ecx, edx
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00435db0
shr edx, 2
mov ecx, 0xb63721e8
sub ecx, edx
mov eax, 0
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00435db0
shr edx, 1
mov ecx, 0x9c2da00e
sub ecx, edx
mov eax, 0
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00435db0
mov ecx, 0xaada0bb8
mov eax, 0
sub ecx, edx
push 0
push ebx
sbb eax, eax
push eax
push ecx
call fcn.00435db0
shrd eax, edx, 0x1f
mov ecx, 0xf75cd403
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00435db0
shrd eax, edx, 0x1f
mov ecx, 0xecf97a41
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00435db0
shrd eax, edx, 0x1f
mov ecx, 0x90d876cd
shr edx, 0x1f
sub ecx, eax
push 0
mov eax, 0
push ebx
sbb eax, edx
push eax
push ecx
call fcn.00435db0
shrd eax, edx, 0x1a
mov edx, 0x682799a0
sub edx, eax
xor esi, esi
lea ecx, [esi + 5]
xorps xmm0, xmm0
mov dword [esp + 0x4c], esi
movlpd qword [esp + 0x60], xmm0
lea edi, [esi + 0x20]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
dec ecx
shr eax, cl
xor ebx, ebx
and eax, 1
ror edi, 1
neg eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
mov ecx, 0x40
adc ebx, ebx
mov dword [esp + 0x20], edi
sub ecx, edi
mov eax, esi
neg ebx
call fcn.00435e10
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x10]
mov edi, edx
mov edx, dword [esp + 0x1c]
call fcn.00435df0
mov ecx, dword [esp + 0x20]
or eax, esi
xor eax, dword [esp + 0x30]
or edi, edx
and eax, dword [esp + 0x28]
xor edi, dword [esp + 0x34]
xor eax, dword [esp + 0x38]
and edi, ebx
xor edi, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x6c], edi
call fcn.00435df0
xor edx, dword [esp + 0x2c]
mov esi, eax
xor esi, dword [esp + 0xc]
and edx, ebx
and esi, dword [esp + 0x28]
xor esi, dword [esp + 0x54]
xor edx, dword [esp + 0x58]
mov ecx, esi
mov eax, dword [esp + 0x10]
mov ebx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ebx
test ecx, ecx
jne 0x4183b7
mov edi, dword [esp + 0x14]
mov ecx, 0xbf
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov edi, dword [edi]
add edi, dword [eax]
shl edi, 5
add edi, 3
cmp edi, ecx
mov eax, edi
cmova eax, ecx
sub edi, eax
add edi, 0x1f
and edi, 0xffffffe0
add edi, ecx
mov dword [esp + 0x20], edi
lea esi, [edi + 0x21]
shr esi, 5
mov dword [esp + 0x50], esi
lea eax, [esi*4]
mov dword [esp + 0x24], eax
add eax, 8
push eax
mov dword [esp + 0x64], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [esp + 0x4c], ebx
test ebx, ebx
je 0x418e97
lea eax, [ebx + 8]
mov dword [ebx], esi
mov dword [ebx + 4], eax
test eax, eax
je 0x418546
mov esi, dword [esp + 0x24]
test esi, esi
je 0x418546
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 8]
push esi
push eax
mov eax, dword [fcn.0040ae20]
call eax
mov eax, dword [esp + 0x74]
add esp, 8
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
jmp 0x41854e
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov esi, edi
shl eax, 5
sub esi, eax
sub esi, 0x5f
shr esi, 5
push esi
push ecx
push edx
mov edx, ebx
mov ecx, ebx
call fcn.00415e70
add esp, 0xc
lea eax, [esi + 2]
mov edx, ebx
mov ecx, ebx
push eax
push dword [esp + 0x20]
push dword [esp + 0x18]
call fcn.00415e70
add esp, 0xc
push dword [esp + 0x60]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
je 0x418e9c
mov eax, dword [esp + 0x50]
lea ecx, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x4185d7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4185d7
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 8]
push dword [esp + 0x24]
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
lea eax, [edi + 1]
mov edx, esi
shr eax, 5
mov ecx, esi
push eax
push 0
push 1
call fcn.00415e70
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x50]
mov eax, dword [eax]
add eax, edi
mov dword [esp + 0x5c], eax
lea ecx, [eax*4]
mov eax, ecx
not eax
cmp eax, 8
jb 0x418e97
lea eax, [ecx + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x418e97
mov edx, dword [esp + 0x5c]
lea ecx, [esi + 8]
mov dword [esi], edx
mov dword [esi + 4], ecx
test ecx, ecx
je 0x418678
lea eax, [edx*4]
test eax, eax
je 0x418678
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x68]
add esp, 0xc
lea eax, [ecx*4]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
mov eax, dword [esi]
cmp edi, eax
cmova eax, edi
mov dword [esp + 0x5c], eax
lea ecx, [eax*4]
mov eax, ecx
not eax
cmp eax, 8
jb 0x418e97
lea eax, [ecx + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x418e97
mov ecx, dword [esp + 0x5c]
lea edx, [esi + 8]
mov dword [esi], ecx
mov dword [esi + 4], edx
test edx, edx
je 0x4186fd
lea eax, [ecx*4]
test eax, eax
je 0x4186fd
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x68]
add esp, 0xc
lea eax, [ecx*4]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
mov eax, dword [esi]
add eax, edi
mov dword [esp + 0x60], eax
lea edi, [eax*4]
mov eax, edi
not eax
cmp eax, 8
jb 0x418e97
lea eax, [edi + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x418e97
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
lea ecx, [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [eax + 4], ecx
test ecx, ecx
je 0x418773
test edi, edi
je 0x418773
push edi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push edi
push dword [esp + 0x64]
call eax
mov eax, dword [esp + 0x14]
add esp, 8
mov edx, dword [eax]
mov edi, dword [esi]
mov ecx, dword [ebx]
cmp ecx, edi
mov eax, dword [esp + 0x18]
cmova edi, ecx
mov esi, dword [eax]
cmp ecx, esi
mov eax, dword [esp + 0x10]
cmova esi, ecx
cmp edx, edi
cmovb edi, edx
cmp dword [eax], esi
cmovb esi, dword [eax]
lea eax, [edi + edi*2]
add eax, eax
lea ecx, [esi + esi*2]
add ecx, ecx
cmp ecx, eax
cmova edi, esi
lea eax, [edi + edi*2]
add eax, eax
mov dword [esp + 0x60], eax
lea esi, [eax*4]
mov eax, esi
not eax
cmp eax, 8
jb 0x418e97
lea eax, [esi + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x418e97
mov eax, dword [esp + 0x60]
mov dword [edi], eax
lea eax, [edi + 8]
mov dword [edi + 4], eax
test eax, eax
je 0x418813
test esi, esi
je 0x418813
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 8]
push esi
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
shr esi, 5
mov dword [esp + 0x20], esi
mov eax, dword [eax]
mov ecx, eax
cmp esi, eax
mov dword [esp + 0x5c], 0x14
mov edx, eax
cmovbe ecx, esi
sub edx, ecx
cmp eax, edx
cmovbe edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], edx
mov eax, dword [eax + 4]
lea eax, [eax + ecx*4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
shl eax, 5
add eax, 4
mov dword [esp + 0x60], eax
cmp eax, 0x14
jbe 0x4188d6
mov esi, dword [esp + 0x1c]
push dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, ebx
push dword [edi]
push dword [esp + 0x20]
call fcn.00416110
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [esi + 4]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x1c]
push dword [esp + 0x64]
call fcn.00415c80
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov edx, ebx
push dword [edi + 4]
push dword [edi]
push esi
call fcn.00416110
add esp, 0xc
lea edx, [esp + 0x70]
mov ecx, ebx
push 0x1f
call fcn.00416690
mov eax, dword [esp + 0x60]
add esp, 4
lea eax, [eax*2 - 1]
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x60]
jb 0x418867
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x418914
mov ecx, dword [eax]
shl ecx, 2
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x418914
push ecx
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xorps xmm0, xmm0
push 8
movq qword [eax], xmm0
push eax
mov eax, dword [fcn.0040ae20]
call eax
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x418970
mov ecx, dword [eax]
shl ecx, 2
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x418970
push ecx
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
mov eax, dword [esp + 0x24]
add esp, 8
xorps xmm0, xmm0
push 8
movq qword [eax], xmm0
push eax
mov eax, dword [fcn.0040ae20]
call eax
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x4189cc
mov ecx, dword [eax]
shl ecx, 2
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x4189cc
push ecx
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
mov eax, dword [esp + 0x14]
add esp, 8
xorps xmm0, xmm0
push 8
movq qword [eax], xmm0
push eax
mov eax, dword [fcn.0040ae20]
call eax
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x418a20
mov eax, dword [edi]
shl eax, 2
mov dword [esp + 0x60], eax
test eax, eax
je 0x418a20
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push edi
movq qword [edi], xmm0
call eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [ebx]
add ecx, dword [eax]
call fcn.004155e0
push dword [esp + 0x14]
mov edi, eax
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.00416510
mov ecx, dword [edi]
add esp, 4
mov eax, dword [edi + 4]
cmp esi, ecx
mov edx, ecx
cmovbe edx, esi
mov esi, ecx
sub esi, edx
cmp ecx, esi
lea eax, [eax + edx*4]
cmovbe esi, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], esi
mov eax, dword [eax]
mov dword [esp + 0x60], eax
lea edi, [eax*4]
mov eax, edi
not eax
cmp eax, 8
jb 0x418e97
lea eax, [edi + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x418e97
mov eax, dword [esp + 0x60]
mov dword [esi], eax
lea eax, [esi + 8]
mov dword [esi + 4], eax
test eax, eax
je 0x418af0
test edi, edi
je 0x418af0
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 8]
push edi
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
push 0x1f
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.00416690
mov edi, dword [esp + 0x1c]
add esp, 4
mov eax, dword [edi]
mov dword [esp + 0x5c], eax
lea ecx, [eax*4]
mov eax, ecx
not eax
cmp eax, 8
jb 0x418e97
lea eax, [ecx + 8]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x418e97
mov edx, dword [esp + 0x5c]
lea ecx, [esi + 8]
mov dword [esi], edx
mov dword [esi + 4], ecx
test ecx, ecx
je 0x418b80
lea eax, [edx*4]
test eax, eax
je 0x418b80
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x68]
add esp, 0xc
lea eax, [ecx*4]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [fcn.0040ae20]
call eax
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
cmp dword [eax], edx
cmova edx, dword [eax]
cmp dword [esi], edx
cmovb edx, dword [esi]
lea ecx, [edx + edx*2]
add ecx, ecx
call fcn.004155e0
mov edx, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x60], eax
push dword [eax + 4]
push dword [eax]
push edi
call fcn.00416110
mov edi, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x418bec
mov eax, dword [edi]
shl eax, 2
mov dword [esp + 0x60], eax
test eax, eax
je 0x418bec
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push edi
movq qword [edi], xmm0
call eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [esi + 4]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push dword [esp + 0x24]
call fcn.00415c80
mov ebx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 2
mov edx, dword [ebx]
cmp dword [esi], edx
push 1
cmova edx, dword [esi]
xor ecx, ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
call fcn.00415c80
mov edi, eax
add esp, 0x14
mov edx, edi
and edx, 1
neg edx
mov ecx, edx
and ecx, 1
push ecx
mov ecx, dword [esi + 4]
push edx
push edx
mov edx, dword [esi]
push ebx
push esi
call fcn.00415c80
mov eax, dword [esp + 0x70]
add esp, 0x14
add eax, edi
sub dword [esp + 0x58], 1
mov dword [esp + 0x5c], eax
jne 0x418c33
mov edi, dword [esp + 0x10]
push 0
push 0
push ecx
mov edx, dword [edi]
mov ecx, dword [edi + 4]
push 0
push eax
push edi
call fcn.00415d70
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov ebx, dword [esp + 0x4c]
test ecx, ecx
je 0x418cfd
mov edx, dword [esi]
cmp dword [ecx], edx
cmovb edx, dword [ecx]
mov dword [esp + 0x60], edx
lea edi, [edx*4]
push edi
push dword [esi + 4]
push dword [ecx + 4]
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [eax + 4]
add ecx, edi
mov dword [esp + 0x5c], ecx
je 0x418cf9
mov edi, dword [eax]
sub edi, dword [esp + 0x60]
shl edi, 2
test edi, edi
je 0x418cf9
push edi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push edi
push dword [esp + 0x60]
call eax
add esp, 8
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x418d33
mov eax, dword [ebx]
shl eax, 2
mov dword [esp + 0x60], eax
test eax, eax
je 0x418d33
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push ebx
movq qword [ebx], xmm0
call eax
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x418d88
mov eax, dword [ebx]
shl eax, 2
mov dword [esp + 0x60], eax
test eax, eax
je 0x418d88
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push ebx
movq qword [ebx], xmm0
call eax
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call ebx
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x418de3
mov ecx, dword [eax]
shl ecx, 2
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x418de3
push ecx
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
mov eax, dword [esp + 0x2c]
add esp, 8
xorps xmm0, xmm0
push 8
movq qword [eax], xmm0
push eax
mov eax, dword [fcn.0040ae20]
call eax
push dword [esp + 0x2c]
call ebx
mov ecx, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x418e33
mov eax, dword [edi]
shl eax, 2
mov dword [esp + 0x60], eax
test eax, eax
je 0x418e33
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push dword [esp + 0x60]
push dword [esp + 0x60]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push edi
movq qword [edi], xmm0
call eax
push edi
call ebx
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
je 0x418e79
mov edi, dword [esi]
shl edi, 2
test edi, edi
je 0x418e79
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [fcn.0040ae20]
add esp, 0xc
push edi
push dword [esp + 0x64]
call eax
add esp, 8
mov eax, dword [fcn.0040ae20]
xorps xmm0, xmm0
push 8
push esi
movq qword [esi], xmm0
call eax
push esi
call ebx
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00413280
call fcn.00413280
int3