Function at 0x40d210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4821d3
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x368], eax
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx], 0
je 0x40de1c
cmp dword [ecx + 0x128], 0
lea edi, [ecx + 0x100]
je 0x40de15
cmp dword [edi + 0x40], 0
je 0x40de15
cmp dword [edi + 0x70], 0
je 0x40de15
cmp dword [edi + 0x58], 0
je 0x40de15
cmp dword [edi + 0xa8], 0
je 0x40de15
cmp dword [edi + 0x90], 0
je 0x40de15
cmp dword [edi + 0x10], 0
je 0x40de15
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x40de15
cmp dword [ecx + 0xc8], 0
jne 0x40d33f
push 0xc
call fcn.00467355
mov ecx, eax
add esp, 4
mov dword [esp + 0x20c], ecx
mov dword [esp + 0x380], 0
test ecx, ecx
je 0x40d319
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx], vtable.RC::ISimpleDownloadEvent.0
mov byte [esp + 0x380], 1
mov dword [ecx], vtable.RC::RCInstallDownloadEvent.0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [esp + 0x380], 0
jmp 0x40d31b
xor ecx, ecx
mov dword [esp + 0x380], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0xc8], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc8]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
cmp byte [eax + 4], 0
jne 0x40de1c
lea eax, [esp + 0x2d4]
mov ecx, esi
push eax
call fcn.0040e290
mov dword [esp + 0x380], 2
cmp dword [esp + 0x2e4], 0
mov eax, dword [esi]
je 0x40d399
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x40d38c
mov eax, dword [ecx]
push 0
push 0
push 1
call dword [eax + 0xc]
mov byte [esp + 0x213], 1
jmp 0x40ddf5
lea ecx, [eax + 0xb0]
add eax, 0xe4
mov dword [esp + 0x20c], ecx
lea ecx, [esp + 0x34c]
push eax
call fcn.004031b0
mov byte [esp + 0x380], 3
lea ecx, [esp + 0x34c]
call fcn.00408cc0
test al, al
jne 0x40d3dc
lea ecx, [esp + 0x34c]
call fcn.00409410
lea ecx, [esp + 0x34c]
call fcn.00408cc0
test al, al
jne 0x40d3f8
mov byte [esp + 0x213], al
jmp 0x40dde1
lea eax, [edi + 0x30]
push eax
lea edx, [esp + 0x350]
lea ecx, [esp + 0x2c]
call fcn.00405d10
add esp, 4
mov byte [esp + 0x380], 4
lea ecx, [esp + 0x34c]
push eax
call fcn.004032b0
mov byte [esp + 0x380], 3
lea ecx, [esp + 0x28]
call fcn.004032f0
lea ecx, [esp + 0x34c]
call fcn.00408b70
test al, al
je 0x40d451
lea ecx, [esp + 0x34c]
call fcn.0041af80
lea ecx, [esp + 0x34c]
call fcn.00408b70
test al, al
je 0x40d46d
lea ecx, [esp + 0x34c]
call fcn.0041b610
lea ecx, [esp + 0x214]
call fcn.0041cca0
mov byte [esp + 0x380], 5
lea eax, [edi + 0x18]
lea ecx, [esp + 0x214]
cmp ecx, eax
je 0x40d499
push 0xffffffffffffffff
push 0
push eax
call fcn.004035e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0x238]
call fcn.004035e0
mov byte [esp + 0x274], 1
lea ecx, [esp + 0x284]
mov eax, dword [edi + 0x78]
mov dword [esp + 0x27c], eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x280], eax
lea eax, [edi + 0x60]
cmp ecx, eax
je 0x40d4e5
push 0xffffffffffffffff
push 0
push eax
call fcn.004035e0
mov eax, dword [esi]
lea ecx, [esp + 0x364]
add eax, 0xa0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x368], xmm0
call fcn.0040ee00
mov byte [esp + 0x380], 6
mov ecx, dword [esp + 0x364]
test ecx, ecx
je 0x40d536
call fcn.0041d2c0
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040ef50
lea ecx, [esp + 0x364]
call fcn.0040ef50
push str.local_path
lea ecx, [esp + 0x17c]
call fcn.004031e0
mov byte [esp + 0x380], 7
lea ecx, [esp + 0x70]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 8
lea eax, [esp + 0x34c]
mov ecx, dword [esp + 0x20c]
push eax
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 7
lea ecx, [esp + 0x70]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x178]
call fcn.004032f0
push 0x493a94
lea ecx, [esp + 0x5c]
call fcn.004031e0
mov byte [esp + 0x380], 9
lea ecx, [esp + 0xa0]
push str.download_status
call fcn.004031e0
mov byte [esp + 0x380], 0xa
lea ecx, [esp + 0xb8]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0xb
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x20c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0xa
lea ecx, [esp + 0xb8]
call fcn.004032f0
mov byte [esp + 0x380], 9
lea ecx, [esp + 0xa0]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x58]
call fcn.004032f0
push 0x493a78
lea ecx, [esp + 0x1f4]
call fcn.004031e0
mov byte [esp + 0x380], 0xc
lea ecx, [esp + 0x1a8]
push str.temp_file_md5
call fcn.004031e0
mov byte [esp + 0x380], 0xd
lea ecx, [esp + 0xe8]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0xe
lea eax, [esp + 0x1f0]
mov ecx, dword [esp + 0x20c]
push eax
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0xd
lea ecx, [esp + 0xe8]
call fcn.004032f0
mov byte [esp + 0x380], 0xc
lea ecx, [esp + 0x1a8]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x1f0]
call fcn.004032f0
mov ecx, dword [esp + 0x20c]
call fcn.00423360
lea ecx, [edi + 0x48]
mov edx, 0x493ac4
call fcn.004072c0
test al, al
jne 0x40d72a
mov edx, 0x496bf0
lea ecx, [edi + 0x48]
call fcn.004072c0
test al, al
je 0x40d86c
cmp dword [edi + 0xd8], 0
je 0x40d86c
mov eax, dword [esi]
lea ecx, [esp + 0x36c]
add eax, 0xa8
xorps xmm0, xmm0
push eax
movq qword [esp + 0x370], xmm0
call fcn.0040ee00
mov byte [esp + 0x380], 0xf
mov ecx, dword [esp + 0x36c]
test ecx, ecx
je 0x40d788
call fcn.0041c8e0
mov ecx, dword [esi]
add ecx, 0xa8
call fcn.0040ef50
lea ecx, [esp + 0x36c]
call fcn.0040ef50
push 4
call fcn.00467355
add esp, 4
mov dword [esp + 0x208], eax
mov byte [esp + 0x380], 0x10
test eax, eax
je 0x40d7b4
mov ecx, eax
mov dword [eax], 0
call fcn.0041c200
jmp 0x40d7b6
xor eax, eax
mov byte [esp + 0x380], 0xf
lea ecx, [esp + 0x36c]
push eax
call fcn.0040f0a0
mov ecx, dword [esi]
lea eax, [esp + 0x36c]
push eax
add ecx, 0xa8
call fcn.0040eeb0
mov eax, dword [esi]
mov edx, dword [esp + 0x36c]
mov ecx, dword [eax + 0xc4]
mov eax, dword [edx]
mov dword [eax + 0x1c0], ecx
mov eax, dword [edx]
mov eax, dword [eax + 8]
test eax, eax
je 0x40d803
mov dword [eax + 8], ecx
mov ecx, dword [esi]
lea eax, [ecx + 0x1fc]
push eax
lea eax, [ecx + 0x1e4]
mov ecx, edx
push eax
call fcn.0041c910
mov ecx, dword [esp + 0x36c]
lea eax, [esp + 0x34c]
push eax
push edi
call fcn.0041c640
mov ecx, dword [esi]
add ecx, 0xa8
mov byte [esp + 0x213], al
call fcn.0040ef50
lea ecx, [esp + 0x36c]
call fcn.0040ef50
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x36c]
call fcn.0040ee70
mov al, byte [esp + 0x213]
jmp 0x40d8e7
push 4
call fcn.00467355
add esp, 4
mov dword [esp + 0x208], eax
mov byte [esp + 0x380], 0x11
test eax, eax
je 0x40d898
mov ecx, eax
mov dword [eax], 0
call fcn.0041cd60
jmp 0x40d89a
xor eax, eax
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x364]
push eax
call fcn.0040f150
mov ecx, dword [esi]
lea eax, [esp + 0x364]
push eax
add ecx, 0xa0
call fcn.0040eeb0
mov eax, dword [esi]
mov ecx, dword [esp + 0x364]
push dword [eax + 0xc8]
lea eax, [esp + 0x218]
push eax
call fcn.0041ce80
mov byte [esp + 0x213], al
test al, al
je 0x40d906
lea ecx, [esp + 0x34c]
call fcn.00408b70
test al, al
jne 0x40dbfc
mov byte [esp + 0x213], al
xor eax, eax
mov dword [esp + 0x344], 0
mov dword [esp + 0x348], 0
mov dword [esp + 0x348], 7
mov dword [esp + 0x344], 0
mov word [esp + 0x334], ax
mov byte [esp + 0x380], 0x15
lea edx, [esp + 0x34c]
push str..tmp
lea ecx, [esp + 0x2f0]
call fcn.00409920
add esp, 4
mov byte [esp + 0x380], 0x16
lea ecx, [esp + 0x2ec]
call fcn.00408b70
test al, al
je 0x40da03
xorps xmm0, xmm0
lea ecx, [esp + 0x31c]
movdqu xmmword [esp + 0x31c], xmm0
movq qword [esp + 0x32c], xmm0
call fcn.0041daa0
mov byte [esp + 0x380], 0x17
lea eax, [esp + 0x2ec]
push eax
lea ecx, [esp + 0x320]
call fcn.0041d5a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x320]
call fcn.0041dc50
mov byte [esp + 0x380], 0x18
lea ecx, [esp + 0x334]
push eax
call fcn.004032b0
mov byte [esp + 0x380], 0x17
lea ecx, [esp + 0x10]
call fcn.004032f0
mov byte [esp + 0x380], 0x16
lea ecx, [esp + 0x31c]
call fcn.0040d0f0
push str.temp_file_md5
lea ecx, [esp + 0x44]
call fcn.004031e0
mov byte [esp + 0x380], 0x19
lea ecx, [esp + 0x148]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0x1a
lea eax, [esp + 0x334]
mov edi, dword [esp + 0x20c]
mov ecx, edi
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x150]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0x19
lea ecx, [esp + 0x148]
call fcn.004032f0
mov byte [esp + 0x380], 0x16
lea ecx, [esp + 0x40]
call fcn.004032f0
mov byte [esp + 0x380], 0x15
lea ecx, [esp + 0x2ec]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x334]
call fcn.004032f0
cmp byte [esp + 0x213], 0
je 0x40dcf3
push 0x493ac4
lea ecx, [esp + 0x1dc]
call fcn.004031e0
mov byte [esp + 0x380], 0x1b
lea ecx, [esp + 0x88]
push str.download_status
call fcn.004031e0
mov byte [esp + 0x380], 0x1c
lea ecx, [esp + 0x118]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0x1d
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0x1c
lea ecx, [esp + 0x118]
call fcn.004032f0
mov byte [esp + 0x380], 0x1b
lea ecx, [esp + 0x88]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x1d8]
call fcn.004032f0
push 0x493a78
lea ecx, [esp + 0x164]
call fcn.004031e0
mov byte [esp + 0x380], 0x1e
lea ecx, [esp + 0x190]
push str.temp_file_md5
call fcn.004031e0
mov byte [esp + 0x380], 0x1f
lea ecx, [esp + 0x1c0]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0x20
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0x194]
mov ecx, edi
push eax
lea eax, [esp + 0x1c8]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0x1f
lea ecx, [esp + 0x1c0]
call fcn.004032f0
mov byte [esp + 0x380], 0x1e
lea ecx, [esp + 0x190]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x160]
jmp 0x40dd94
xorps xmm0, xmm0
lea ecx, [esp + 0x304]
movdqu xmmword [esp + 0x304], xmm0
movq qword [esp + 0x314], xmm0
call fcn.0041daa0
mov byte [esp + 0x380], 0x12
lea eax, [esp + 0x34c]
push eax
lea ecx, [esp + 0x308]
call fcn.0041d5a0
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x308]
call fcn.0041dc50
mov byte [esp + 0x380], 0x13
lea edx, [edi + 0x60]
lea ecx, [esp + 0x2bc]
call fcn.0040f8d0
test al, al
jne 0x40dcbf
lea ecx, [esp + 0x34c]
call fcn.0041af80
push str..tmp
lea edx, [esp + 0x350]
lea ecx, [esp + 0x2a8]
call fcn.00409920
add esp, 4
mov byte [esp + 0x380], 0x14
lea ecx, [esp + 0x2a4]
call fcn.0041af80
mov byte [esp + 0x213], 0
mov byte [esp + 0x380], 0x13
lea ecx, [esp + 0x2a4]
call fcn.004032f0
mov byte [esp + 0x380], 0x12
lea ecx, [esp + 0x2bc]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0x304]
call fcn.0040d0f0
mov edi, dword [esp + 0x20c]
jmp 0x40daa2
push 0x496bf0
lea ecx, [esp + 0xd4]
call fcn.004031e0
mov byte [esp + 0x380], 0x21
lea ecx, [esp + 0x100]
push str.download_status
call fcn.004031e0
mov byte [esp + 0x380], 0x22
lea ecx, [esp + 0x130]
push str.update
call fcn.004031e0
mov byte [esp + 0x380], 0x23
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x104]
mov ecx, edi
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00422d50
mov byte [esp + 0x380], 0x22
lea ecx, [esp + 0x130]
call fcn.004032f0
mov byte [esp + 0x380], 0x21
lea ecx, [esp + 0x100]
call fcn.004032f0
mov byte [esp + 0x380], 6
lea ecx, [esp + 0xd0]
call fcn.004032f0
mov ecx, edi
call fcn.00423360
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040ef50
lea ecx, [esp + 0x364]
call fcn.0040ef50
mov byte [esp + 0x380], 5
lea ecx, [esp + 0x364]
call fcn.0040ee70
mov byte [esp + 0x380], 3
lea ecx, [esp + 0x214]
call fcn.0040de50
mov byte [esp + 0x380], 2
lea ecx, [esp + 0x34c]
call fcn.004032f0
mov dword [esp + 0x380], 0xffffffff
lea ecx, [esp + 0x2d4]
call fcn.004032f0
mov al, byte [esp + 0x213]
jmp 0x40de1e
mov ecx, esi
call fcn.0040df70
xor al, al
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.00466b29
add esp, 0x378
ret