Function at 0x419db0
Capabilities:
Check if file exists
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f06
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x45e0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x65c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x660], eax
xor eax, eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], 0xf
mov byte [ebp - 0x4d4], al
mov dword [ebp - 0x564], eax
mov dword [ebp - 0x560], 7
mov word [ebp - 0x574], ax
push eax
push 0x400
push eax
lea ecx, [ebp - 0x5b4]
mov byte [ebp - 4], 2
call fcn.004079e0
mov edi, dword [ebp - 0x59c]
lea eax, [ebp - 0x574]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x4d4]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x5a4], 3
push eax
mov ecx, esi
movups xmmword [ebp - 0x5b4], xmm0
call fcn.00419020
test al, al
je 0x41ae39
push 0
lea eax, [ebp - 0x52c]
mov ecx, esi
push eax
call fcn.004193b0
push 0xffffffffffffffff
lea eax, [ebp - 0x55c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.004193b0
push 0
push 0x400
push 0
lea ecx, [ebp - 0x514]
mov byte [ebp - 4], 5
call fcn.004079e0
cmp dword [ebp - 0x4c0], 0x10
lea eax, [ebp - 0x4d4]
lea ecx, [ebp - 0x514]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x658]
push eax
call fcn.00406910
mov eax, dword [ebp - 0x5b0]
lea esi, [eax + eax*2]
mov eax, str.Patched
shl esi, 4
add esi, dword [ebp - 0x5b4]
nop
inc eax
cmp byte [eax], 0
jne 0x419f20
sub eax, str.Patched
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
lea ecx, [ebp - 0x5b4]
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x43c], str.Patched
push eax
call fcn.00405c10
cmp dword [ebp - 0x638], esi
jne 0x419f90
push edi
push 3
sub esp, 8
lea ecx, [ebp - 0x5b4]
mov eax, esp
mov dword [eax], str.Patched
mov dword [eax + 4], 7
call fcn.0040d5b0
push str.Patched
lea ecx, [ebp - 0x5b4]
call fcn.00405980
push 0
push 0x400
push 0
lea ecx, [ebp - 0x5f4]
mov dword [ebp - 0x644], eax
call fcn.004079e0
mov edi, dword [ebp - 0x5dc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5f4], xmm0
mov dword [ebp - 0x5e4], 3
mov dword [ebp - 0x63c], edi
movups xmmword [ebp - 0x474], xmm0
mov dword [ebp - 0x464], 4
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0x100005
mov dword [ebp - 0x43c], str.Sig_Categories
mov dword [ebp - 0x438], 0xe
push edi
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00414470
push str.Sig_Categories
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 7
call fcn.00405980
push edi
push str.Sig_Categories
lea ecx, [ebp - 0x514]
mov esi, eax
call fcn.00405980
push eax
mov ecx, esi
call fcn.0040d650
xorps xmm0, xmm0
mov dword [ebp - 0x464], 3
movups xmmword [ebp - 0x474], xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0x100005
mov dword [ebp - 0x43c], str.Categories
mov dword [ebp - 0x438], 0xa
push edi
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00414470
push str.Categories
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 7
call fcn.00405980
push str.Sig_Categories
lea ecx, [ebp - 0x514]
call fcn.00405980
mov dword [ebp - 0x654], eax
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x638], edi
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
cmp edi, eax
je 0x41ab6e
mov ecx, dword [0x45f264]
mov eax, dword fs:[0x2c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x650], eax
nop dword [eax]
test dword [edi + 0x10], 0x400000
mov ecx, edi
jne 0x41a11d
mov ecx, dword [edi]
mov eax, dword [ebp - 0x510]
lea esi, [eax + eax*2]
mov eax, ecx
shl esi, 4
add esi, dword [ebp - 0x514]
cmp byte [ecx], 0
je 0x41a13c
inc eax
cmp byte [eax], 0
jne 0x41a136
sub eax, ecx
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x664]
mov dword [ebp - 0x43c], ecx
push eax
lea ecx, [ebp - 0x514]
call fcn.00405c10
cmp dword [ebp - 0x664], esi
je 0x41ab4c
test dword [edi + 0x10], 0x400000
mov ecx, edi
jne 0x41a190
mov ecx, dword [edi]
cmp byte [ecx], 0
mov eax, ecx
je 0x41a19d
inc eax
cmp byte [eax], 0
jne 0x41a197
sub eax, ecx
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x668]
mov dword [ebp - 0x43c], ecx
push eax
lea ecx, [ebp - 0x514]
call fcn.00405c10
mov eax, dword [ebp - 0x510]
mov ecx, dword [ebp - 0x668]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ebp - 0x514]
cmp ecx, eax
je 0x41a1f9
add ecx, 0x18
jmp 0x41a254
mov eax, dword [ebp - 0x650]
mov ecx, dword [eax]
mov eax, dword [0x45f238]
cmp eax, dword [ecx + 4]
jle 0x41a24f
push 0x45f238
call fcn.0041c38b
add esp, 4
cmp dword [0x45f238], 0xffffffff
jne 0x41a24f
xorps xmm0, xmm0
mov dword [0x45f230], 0
push 0x4470c0
movups xmmword [0x45f220], xmm0
call fcn.0041c783
push 0x45f238
call fcn.0041c34c
add esp, 8
mov ecx, 0x45f220
mov eax, dword [ecx + 4]
lea esi, [eax + eax*2]
mov eax, str.Detections
shl esi, 4
add esi, dword [ecx]
inc eax
cmp byte [eax], 0
jne 0x41a264
sub eax, str.Detections
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x66c]
mov dword [ebp - 0x43c], str.Detections
push eax
call fcn.00405c10
cmp dword [ebp - 0x66c], esi
je 0x41ab4c
test dword [edi + 0x10], 0x400000
mov eax, edi
jne 0x41a2bf
mov eax, dword [edi]
push str.Detections
push eax
lea ecx, [ebp - 0x514]
call fcn.00405980
mov ecx, eax
call fcn.00405980
mov esi, dword [eax]
nop dword [eax]
mov ecx, edi
call fcn.00414ad0
mov ecx, eax
cmp byte [ecx], 0
je 0x41a2f6
nop
inc eax
cmp byte [eax], 0
jne 0x41a2f0
sub eax, ecx
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x670]
mov dword [ebp - 0x43c], ecx
push eax
lea ecx, [ebp - 0x514]
call fcn.00405c10
mov eax, dword [ebp - 0x510]
mov ecx, dword [ebp - 0x670]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ebp - 0x514]
cmp ecx, eax
je 0x41a352
lea edi, [ecx + 0x18]
jmp 0x41a3ad
mov eax, dword [ebp - 0x650]
mov ecx, dword [eax]
mov eax, dword [0x45f238]
cmp eax, dword [ecx + 4]
jle 0x41a3a8
push 0x45f238
call fcn.0041c38b
add esp, 4
cmp dword [0x45f238], 0xffffffff
jne 0x41a3a8
xorps xmm0, xmm0
mov dword [0x45f230], 0
push 0x4470c0
movups xmmword [0x45f220], xmm0
call fcn.0041c783
push 0x45f238
call fcn.0041c34c
add esp, 8
mov edi, 0x45f220
mov eax, str.Detections
inc eax
cmp byte [eax], 0
jne 0x41a3b2
sub eax, str.Detections
mov dword [ebp - 0x42c], 0x100005
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x678]
mov dword [ebp - 0x43c], str.Detections
push eax
call fcn.00405c10
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x678]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi]
cmp ecx, eax
je 0x41a410
add ecx, 0x18
jmp 0x41a46b
mov eax, dword [ebp - 0x650]
mov ecx, dword [eax]
mov eax, dword [0x45f238]
cmp eax, dword [ecx + 4]
jle 0x41a466
push 0x45f238
call fcn.0041c38b
add esp, 4
cmp dword [0x45f238], 0xffffffff
jne 0x41a466
xorps xmm0, xmm0
mov dword [0x45f230], 0
push 0x4470c0
movups xmmword [0x45f220], xmm0
call fcn.0041c783
push 0x45f238
call fcn.0041c34c
add esp, 8
mov ecx, 0x45f220
mov eax, dword [ecx + 4]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ecx]
cmp esi, eax
je 0x41ab46
cmp dword [esi + 0x28], 4
jne 0x41ab38
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x640], edx
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp edx, eax
je 0x41ab38
mov eax, dword [edx + 0x10]
shr eax, 9
test al, 1
je 0x41ab1b
mov ecx, dword [edx]
lea edi, [ebp - 0x5f6]
nop dword [eax + eax]
mov eax, 0xcccccccd
add edi, 0xfffffffe
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x41a4c0
xor eax, eax
mov dword [ebp - 0x4ac], edx
mov word [ebp - 0x4bc], ax
lea eax, [ebp - 0x5f6]
mov dword [ebp - 0x4a8], 7
cmp edi, eax
je 0x41a514
sub eax, edi
lea ecx, [ebp - 0x4bc]
sar eax, 1
push eax
push edi
call fcn.00404130
mov eax, dword [ebp - 0x648]
or eax, 6
mov dword [ebp - 0x648], eax
mov edi, dword [ebp - 0x65c]
add edi, 0x50
mov dword [ebp - 0x674], edi
or eax, 8
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x64c], eax
xor ecx, ecx
mov eax, dword [edi + 0x10]
inc eax
mov word [ebp - 0x45c], cx
push eax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
call fcn.00409d70
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41a576
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x45c]
push eax
call fcn.00403f00
push 1
push 0x44925c
lea ecx, [ebp - 0x45c]
call fcn.00403f00
cmp dword [ebp - 0x518], 8
lea eax, [ebp - 0x52c]
push dword [ebp - 0x51c]
cmovae eax, dword [ebp - 0x52c]
lea ecx, [ebp - 0x45c]
push eax
call fcn.00403f00
mov edi, dword [ebp - 0x648]
xor ecx, ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x43c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x42c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, edi
or eax, 0x18
mov dword [ebp - 0x64c], eax
push 1
push 0x44925c
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0xe
call fcn.00403f00
mov dword [ebp - 0x464], 0
xor ecx, ecx
mov dword [ebp - 0x460], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x474], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x464], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, edi
or eax, 0x38
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x4a8], 8
lea eax, [ebp - 0x4bc]
push dword [ebp - 0x4ac]
cmovae eax, dword [ebp - 0x4bc]
lea ecx, [ebp - 0x474]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403f00
mov dword [ebp - 0x534], 0
xor ecx, ecx
mov dword [ebp - 0x530], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x544], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x534], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, edi
or eax, 0x78
mov dword [ebp - 0x64c], eax
push 5
push 0x44b2e8
lea ecx, [ebp - 0x544]
mov byte [ebp - 4], 0x10
call fcn.00403f00
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x494], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, edi
or eax, 0xf8
cmp dword [ebp - 0x490], 8
mov dword [ebp - 0x648], eax
lea eax, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x4a4]
mov edi, eax
call fcn.00403c50
lea ecx, [ebp - 0x544]
call fcn.00403c50
lea ecx, [ebp - 0x474]
call fcn.00403c50
lea ecx, [ebp - 0x43c]
call fcn.00403c50
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0xc
call fcn.00403c50
test edi, edi
jne 0x41ab06
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0041ee20
mov eax, dword [ebp - 0x640]
lea ecx, [ebp - 0x55c]
add esp, 0xc
cmp dword [ebp - 0x548], 8
cmovae ecx, dword [ebp - 0x55c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x674]
cmp dword [eax + 0x14], 8
jb 0x41a7de
mov eax, dword [eax]
push edx
push ecx
push eax
push str._s_s_lu.json
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00409f70
add esp, 0x18
mov dword [ebp - 0x42c], 0
xor eax, eax
mov dword [ebp - 0x428], 7
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x43c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a820
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00404130
mov ecx, dword [ebp - 0x65c]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 0x11
push eax
call fcn.0041b500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x12
jb 0x41a86d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a890
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4a4]
call fcn.00404040
lea ecx, [ebp - 0x474]
call fcn.00403bf0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0x15
call fcn.00403c50
cmp dword [ebp - 0x494], 0
je 0x41aafb
push 0
push 0x400
push 0
lea ecx, [ebp - 0x634]
call fcn.004079e0
cmp dword [ebp - 0x490], 0x10
lea eax, [ebp - 0x4a4]
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 0x16
cmovae eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x680]
push eax
call fcn.00406910
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.0041aef0
add esp, 8
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x644]
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.00409110
test al, al
jne 0x41a9c2
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x43c], xmm0
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov edi, dword [ebp - 0x63c]
lea ecx, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x45c]
push edi
push dword [ebp - 0x44c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00415040
xorps xmm0, xmm0
mov dword [ebp - 0x464], 3
movups xmmword [ebp - 0x474], xmm0
push edi
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x19
push ecx
mov ecx, dword [ebp - 0x644]
push eax
call fcn.00414470
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x644]
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.00405980
test dword [esi + 0x10], 0x400000
mov edi, eax
mov eax, esi
jne 0x41a9f1
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00409110
test al, al
jne 0x41aa78
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x43c], xmm0
mov edx, dword [esi + 0x10]
mov byte [ebp - 4], 0x1a
and edx, 0x400000
je 0x41aa2d
movsx eax, byte [esi + 0xb]
mov ecx, 0xb
sub ecx, eax
jmp 0x41aa30
mov ecx, dword [esi + 4]
mov eax, esi
test edx, edx
jne 0x41aa38
mov eax, dword [esi]
push dword [ebp - 0x63c]
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00415040
xorps xmm0, xmm0
mov dword [ebp - 0x464], 4
movups xmmword [ebp - 0x474], xmm0
push dword [ebp - 0x63c]
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x1b
push ecx
push eax
mov ecx, edi
call fcn.00414470
test dword [esi + 0x10], 0x400000
mov eax, esi
jne 0x41aa85
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00405980
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
mov edi, eax
movups xmmword [ebp - 0x43c], xmm0
push dword [ebp - 0x63c]
mov eax, dword [ebp - 0x640]
lea ecx, [ebp - 0x43c]
push 0
mov byte [ebp - 4], 0x1c
push dword [eax]
call fcn.00415100
push eax
mov ecx, edi
call fcn.00414e80
lea ecx, [ebp - 0x45c]
call fcn.00403bf0
lea ecx, [ebp - 0x634]
call fcn.00414650
push dword [ebp - 0x60c]
call fcn.00422f30
push 1
push dword [ebp - 0x610]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x4a4]
call fcn.00403bf0
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 7
call fcn.00403c50
mov edx, dword [ebp - 0x640]
mov eax, dword [esi + 0x1c]
add edx, 0x18
mov dword [ebp - 0x640], edx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x41a4a2
mov edi, dword [ebp - 0x638]
add esi, 0x30
jmp 0x41a2e0
mov edi, dword [ebp - 0x638]
mov edx, dword [ebp - 0x654]
add edi, 0x18
mov dword [ebp - 0x638], edi
mov eax, dword [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x41a110
mov ecx, dword [ebp - 0x644]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, eax
cmp eax, ecx
je 0x41add7
nop dword [eax]
cmp dword [eax + 0x1c], 0
jne 0x41aba2
add eax, 0x30
cmp eax, ecx
jne 0x41ab90
jmp 0x41add7
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0041ee20
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0041ee20
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x424]
push eax
push 0
push 0x44b45c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41ac76
mov esi, dword [ebp - 0x660]
lea ecx, [ebp - 0x5f4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00414650
push dword [ebp - 0x5cc]
call fcn.00422f30
push 1
push dword [ebp - 0x5d0]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x514]
call fcn.00414650
push dword [ebp - 0x4ec]
call fcn.00422f30
push 1
push dword [ebp - 0x4f0]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x55c]
call fcn.00403c50
lea ecx, [ebp - 0x52c]
call fcn.00403c50
jmp 0x41ae81
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac80
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48c]
call fcn.00404130
xorps xmm0, xmm0
mov dword [ebp - 0x44c], 0
movups xmmword [ebp - 0x45c], xmm0
mov dword [ebp - 0x448], 0x100
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x444], eax
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x42c], 0x100
mov byte [ebp - 0x428], 0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x5b4]
call fcn.0040cfc0
cmp dword [ebp - 0x478], 8
lea eax, [ebp - 0x48c]
push 0
cmovae eax, dword [ebp - 0x48c]
push 0
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41ad81
mov esi, dword [ebp - 0x450]
lea ecx, [ebp - 0x45c]
sub esi, dword [ebp - 0x454]
push 1
mov dword [ebp - 0x654], 0
call fcn.0040d780
push 0
mov byte [eax], 0
lea eax, [ebp - 0x654]
dec dword [ebp - 0x450]
push eax
push esi
push dword [ebp - 0x454]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41ada4
cmp dword [ebp - 0x478], 8
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], 0
cmovae eax, dword [ebp - 0x48c]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x438]
call fcn.00422f30
push 1
push dword [ebp - 0x43c]
call fcn.0041c226
push dword [ebp - 0x454]
call fcn.00422f30
push 1
push dword [ebp - 0x458]
call fcn.0041c226
add esp, 0x18
lea ecx, [ebp - 0x5f4]
call fcn.00414650
push dword [ebp - 0x5cc]
call fcn.00422f30
push 1
push dword [ebp - 0x5d0]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x514]
call fcn.00414650
push dword [ebp - 0x4ec]
call fcn.00422f30
push 1
push dword [ebp - 0x4f0]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x55c]
call fcn.00403c50
lea ecx, [ebp - 0x52c]
call fcn.00403c50
mov esi, dword [ebp - 0x660]
xor eax, eax
movups xmm0, xmmword [ebp - 0x48c]
mov word [ebp - 0x48c], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x47c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 7
lea ecx, [ebp - 0x5b4]
call fcn.00414650
push dword [ebp - 0x58c]
call fcn.00422f30
push 1
push dword [ebp - 0x590]
call fcn.0041c226
add esp, 0xc
lea ecx, [ebp - 0x574]
call fcn.00403c50
lea ecx, [ebp - 0x4d4]
call fcn.00403bf0
lea ecx, [ebp - 0x48c]
call fcn.00403c50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c1e0
mov esp, ebp
pop ebp
ret 4