Function at 0x40b3f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c46
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xeb0
mov eax, dword [0x534068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x404], 0
mov ecx, dword [edi]
cmp byte [ecx], 0
jne 0x40b44b
xor al, al
jmp 0x40cebb
lea eax, [ecx + 0xcc]
add ecx, 0xc0
push eax
call fcn.004155e0
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
mov byte [eax + 0x1e9], 0
mov eax, dword [edi]
mov byte [eax + 0x1e8], 0
call fcn.0040aa50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
mov ecx, dword [edi]
xorps xmm0, xmm0
push eax
add ecx, 0x100
movlpd qword [ebp - 0x1a8], xmm0
call fcn.0040cee0
mov esi, dword [edi]
lea ecx, [ebp - 0xb90]
push 0x50ad8c
add esi, 0xb0
call fcn.00402800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9b0]
push 0x50c17c
call fcn.00402800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x908]
push str.update
call fcn.00402800
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb90]
push eax
lea eax, [ebp - 0x9b0]
mov ecx, esi
push eax
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00473690
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x908]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9b0]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb90]
call fcn.004027f0
lea ecx, [ebp - 0x78]
call fcn.00405520
test al, al
jne 0x40b575
mov ecx, dword [edi]
lea eax, [ebp - 0x108]
push eax
call fcn.0040a830
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.00405520
test al, al
je 0x40b566
lea ecx, [ebp - 0x78]
call fcn.00406300
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
call fcn.004027f0
mov eax, dword [esi]
mov al, byte [eax + 8]
test al, al
je 0x40b585
mov ecx, esi
call fcn.00473c20
mov eax, dword [edi]
lea ecx, [eax + 4]
add eax, 0xc0
push ecx
mov dword [ebp - 0x3fc], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3f8], eax
call fcn.00403800
push dword [eax]
call fcn.00404230
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3f8]
mov ecx, dword [ecx]
add ecx, 4
call fcn.00405520
test al, al
jne 0x40b689
mov eax, dword [ebp - 0x3fc]
add eax, 0x30
mov ecx, eax
mov dword [ebp - 0x400], eax
call fcn.00405520
test al, al
jne 0x40b689
mov ecx, dword [ebp - 0x3fc]
push 0x50bf28
lea ecx, [ecx + 0x48]
call fcn.00409ca0
test al, al
je 0x40b621
push dword [ebp - 0x400]
mov ecx, dword [ebp - 0x3f8]
call fcn.004156a0
test al, al
jne 0x40b621
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00404260
xor eax, eax
jmp 0x40b698
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b63c
mov eax, dword [eax]
test eax, eax
je 0x40b635
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x408], 0xffffffff
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x3fc]
call fcn.00415ad0
mov byte [ebp - 0x3f2], al
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00404260
jmp 0x40b6a5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00404260
or eax, 0xffffffff
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 0x3f2], 0
mov eax, dword [esi]
mov al, byte [eax + 8]
test al, al
je 0x40b713
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
mov eax, dword [esi]
add eax, 0xc
push eax
call fcn.00405530
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x404], 1
call fcn.00405520
test al, al
jne 0x40b6f0
push 1
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00473a10
mov ecx, dword [edi]
mov byte [ecx], al
mov eax, 1
mov dword [ebp - 0x404], eax
and eax, 0xfffffffe
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.004027f0
mov eax, dword [ebp - 0x3f8]
xor cl, cl
mov byte [ebp - 0x3f1], 0
mov dword [ebp - 0x3fc], ecx
cmp eax, 2
je 0x40b73a
cmp eax, 1
je 0x40b73a
test eax, eax
jne 0x40c28b
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040e0c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.00405520
test al, al
jne 0x40b830
lea ecx, [ebp - 0x1c0]
call fcn.00405520
test al, al
jne 0x40b830
push 0x50ad8c
lea ecx, [ebp - 0x428]
call fcn.00402800
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd10]
push 0x50c190
call fcn.00402800
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xcf8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xd10]
mov ecx, esi
push eax
lea eax, [ebp - 0xcf8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xcf8]
call fcn.004027f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd10]
call fcn.004027f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x428]
call fcn.004027f0
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00405810
add esp, 8
test al, al
jne 0x40b821
mov ecx, edi
call fcn.0040df40
lea ecx, [ebp - 0x48]
call fcn.00406300
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.004027f0
cmp dword [ebp - 0x3f8], 1
jne 0x40b914
lea ecx, [ebp - 0x1c0]
call fcn.00405520
test al, al
jne 0x40b914
push 0x50ad8c
lea ecx, [ebp - 0x470]
call fcn.00402800
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x458]
push 0x50c190
call fcn.00402800
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x440]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x458]
mov ecx, esi
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x440]
call fcn.004027f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x458]
call fcn.004027f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x470]
call fcn.004027f0
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0046df50
add esp, 8
test al, al
jne 0x40b905
mov ecx, edi
call fcn.0040df40
lea ecx, [ebp - 0x48]
call fcn.00406300
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf0]
call fcn.004027f0
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push eax
call fcn.0040a830
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x60]
call fcn.00405520
test al, al
je 0x40b944
lea ecx, [ebp - 0x48]
call fcn.00405520
test al, al
je 0x40c267
jmp 0x40c260
push 0x50c1a4
lea ecx, [ebp - 0x4a0]
call fcn.00402800
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x488]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x1c
sub esp, 8
lea eax, [ebp - 0x4a0]
mov ecx, esi
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.00473860
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x40c], edx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x488]
call fcn.004027f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a0]
call fcn.004027f0
lea ecx, [ebp - 0x60]
call fcn.0046fc60
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x400]
test ecx, ecx
jne 0x40b9d4
test eax, eax
je 0x40c260
cmp edx, ecx
ja 0x40c260
jb 0x40b9ea
cmp dword [ebp - 0x410], eax
jae 0x40c260
lea ecx, [ebp - 0x308]
call fcn.0040aa50
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e8]
push 0x50ad8c
call fcn.00402800
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4d0]
push str.download_url
call fcn.00402800
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4b8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x4d0]
mov ecx, esi
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0xd28]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xd28]
call fcn.004027f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4b8]
call fcn.004027f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4d0]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e8]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x530]
call fcn.00402800
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x518]
push str.file_name
call fcn.00402800
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x500]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x518]
mov ecx, esi
push eax
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0xe90]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x2d8]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xe90]
call fcn.004027f0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x500]
call fcn.004027f0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x518]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x530]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x578]
call fcn.00402800
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x560]
push 0x50c190
call fcn.00402800
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x548]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x560]
mov ecx, esi
push eax
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0xea8]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xea8]
call fcn.004027f0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x548]
call fcn.004027f0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x560]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x578]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x5c0]
call fcn.00402800
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x5a8]
push 0x50c1e8
call fcn.00402800
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x590]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x5a8]
mov ecx, esi
push eax
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0xec0]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2c0]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xec0]
call fcn.004027f0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x590]
call fcn.004027f0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x5a8]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5c0]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x608]
call fcn.00402800
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x5f0]
push 0x50c17c
call fcn.00402800
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5d8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x5f0]
mov ecx, esi
push eax
lea eax, [ebp - 0x5d8]
push eax
lea eax, [ebp - 0xd40]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x270]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0xd40]
call fcn.004027f0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5d8]
call fcn.004027f0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x5f0]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x608]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x650]
call fcn.00402800
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x638]
push 0x50c204
call fcn.00402800
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x620]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x638]
mov ecx, esi
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0xd58]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x288]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xd58]
call fcn.004027f0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x620]
call fcn.004027f0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x638]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x650]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x698]
call fcn.00402800
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x680]
push str.server_version
call fcn.00402800
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x668]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x680]
mov ecx, esi
push eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0xd70]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x308]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0xd70]
call fcn.004027f0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x668]
call fcn.004027f0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x680]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x698]
call fcn.004027f0
push 0x50c1a4
lea ecx, [ebp - 0x6c8]
call fcn.00402800
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x6b0]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x3b
sub esp, 8
lea eax, [ebp - 0x6c8]
mov ecx, esi
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00473860
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x6b0]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x6c8]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x710]
call fcn.00402800
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6f8]
push 0x50c218
call fcn.00402800
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x6e0]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x6f8]
mov ecx, esi
push eax
lea eax, [ebp - 0x6e0]
push eax
lea eax, [ebp - 0xd88]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x258]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0xd88]
call fcn.004027f0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x6e0]
call fcn.004027f0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6f8]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x710]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0x758]
call fcn.00402800
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x740]
push 0x50c22c
call fcn.00402800
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x728]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x758]
push eax
lea eax, [ebp - 0x740]
mov ecx, esi
push eax
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0xda0]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x240]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0xda0]
call fcn.004027f0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x728]
call fcn.004027f0
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x740]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x758]
call fcn.004027f0
lea ecx, [ebp - 0x2f0]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x2d8]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x2a8]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x2c0]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x270]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x288]
call fcn.00405520
test al, al
jne 0x40c248
lea ecx, [ebp - 0x308]
call fcn.00405520
test al, al
jne 0x40c248
cmp dword [ebp - 0x28c], 0
ja 0x40c101
cmp dword [ebp - 0x290], 0
jbe 0x40c248
push 0x50ad8c
lea ecx, [ebp - 0x7a0]
call fcn.00402800
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x788]
push str.temp_file_md5
call fcn.00402800
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x770]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x46
lea eax, [ebp - 0x7a0]
push eax
lea eax, [ebp - 0x788]
mov ecx, esi
push eax
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x770]
call fcn.004027f0
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x788]
call fcn.004027f0
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x7a0]
call fcn.004027f0
lea ecx, [ebp - 0xa8]
call fcn.00405520
test al, al
jne 0x40c232
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.00480460
mov byte [ebp - 4], 0x4b
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.00480d30
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00480610
mov byte [ebp - 4], 0x4c
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.0046df50
mov ecx, dword [ebp - 0x3fc]
add esp, 8
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x3fc], ecx
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0xd8]
call fcn.004027f0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x24]
call fcn.0040e690
mov byte [ebp - 4], 0x4a
mov dword [ebp - 0x30], vtable.RC::RCFileHash.0
mov byte [ebp - 0x28], 1
jmp 0x40c239
mov byte [ebp - 0x3fc], 1
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa8]
call fcn.004027f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x308]
call fcn.0040ab10
cmp byte [ebp - 0x3fc], 0
jne 0x40c267
mov ecx, edi
call fcn.0040df40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.004027f0
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0x3fc]
cmp eax, 1
jne 0x40c758
mov ecx, dword [edi]
mov byte [ebp - 0x3f1], al
add ecx, 0x100
lea eax, [ebp - 0x220]
push eax
call fcn.0040cee0
mov eax, dword [edi]
mov cl, byte [ebp - 0x3f2]
push str.download_url
mov byte [eax + 0x1e8], cl
lea ecx, [ebp - 0x7d0]
call fcn.00402800
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x7b8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x7d0]
mov ecx, esi
push eax
lea eax, [ebp - 0x7b8]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x7b8]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7d0]
call fcn.004027f0
push str.file_name
lea ecx, [ebp - 0x800]
call fcn.00402800
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x7e8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x53
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x800]
mov ecx, esi
push eax
lea eax, [ebp - 0x7e8]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x7e8]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x800]
call fcn.004027f0
push 0x50c190
lea ecx, [ebp - 0x830]
call fcn.00402800
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x818]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x55
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x818]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x830]
call fcn.004027f0
push 0x50c1e8
lea ecx, [ebp - 0x860]
call fcn.00402800
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x848]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x57
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x860]
mov ecx, esi
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x848]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.004027f0
push 0x50c17c
lea ecx, [ebp - 0x890]
call fcn.00402800
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x878]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x59
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x890]
mov ecx, esi
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x878]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x890]
call fcn.004027f0
push 0x50c204
lea ecx, [ebp - 0x8c0]
call fcn.00402800
mov byte [ebp - 4], 0x5a
lea ecx, [ebp - 0x8a8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x5b
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x8c0]
mov ecx, esi
push eax
lea eax, [ebp - 0x8a8]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x5a
lea ecx, [ebp - 0x8a8]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c0]
call fcn.004027f0
push str.server_version
lea ecx, [ebp - 0x8f0]
call fcn.00402800
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x8d8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x5d
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x8f0]
mov ecx, esi
push eax
lea eax, [ebp - 0x8d8]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x8d8]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8f0]
call fcn.004027f0
push 0x50c1a4
lea ecx, [ebp - 0x938]
call fcn.00402800
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x920]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x120]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0046ddf0
add esp, 8
mov byte [ebp - 4], 0x60
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x938]
mov ecx, esi
push eax
lea eax, [ebp - 0x920]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x120]
call fcn.004027f0
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x920]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x938]
call fcn.004027f0
push 0x50c218
lea ecx, [ebp - 0x968]
call fcn.00402800
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x950]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x62
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x968]
mov ecx, esi
push eax
lea eax, [ebp - 0x950]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x950]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x968]
call fcn.004027f0
push 0x50c22c
lea ecx, [ebp - 0x998]
call fcn.00402800
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x980]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x64
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x998]
mov ecx, esi
push eax
lea eax, [ebp - 0x980]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x980]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x998]
call fcn.004027f0
push str.file_limit_speed
lea ecx, [ebp - 0x9e0]
call fcn.00402800
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x9c8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x138]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
call fcn.0046ddf0
add esp, 8
mov byte [ebp - 4], 0x67
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x9e0]
mov ecx, esi
push eax
lea eax, [ebp - 0x9c8]
push eax
call fcn.004737a0
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x138]
call fcn.004027f0
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x9c8]
call fcn.004027f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9e0]
call fcn.004027f0
mov ecx, esi
call fcn.00473c20
jmp 0x40ce97
test eax, eax
je 0x40c776
cmp eax, 2
je 0x40c776
mov eax, dword [edi]
mov byte [ebp - 0x3f1], 0
mov byte [eax + 0x1e9], 1
jmp 0x40ce97
test cl, cl
je 0x40ce97
lea ecx, [ebp - 0x3f0]
call fcn.0040aa50
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa28]
push 0x50ad8c
call fcn.00402800
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0xa10]
push str.download_url
call fcn.00402800
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x9f8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x6b
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa10]
mov ecx, esi
push eax
lea eax, [ebp - 0x9f8]
push eax
lea eax, [ebp - 0xdb8]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x6c
lea ecx, [ebp - 0x3d8]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0xdb8]
call fcn.004027f0
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x9f8]
call fcn.004027f0
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0xa10]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa28]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xa70]
call fcn.00402800
mov byte [ebp - 4], 0x6d
lea ecx, [ebp - 0xa58]
push str.file_name
call fcn.00402800
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0xa40]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x6f
lea eax, [ebp - 0xa70]
push eax
lea eax, [ebp - 0xa58]
mov ecx, esi
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xdd0]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x70
lea ecx, [ebp - 0x3c0]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x6f
lea ecx, [ebp - 0xdd0]
call fcn.004027f0
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0xa40]
call fcn.004027f0
mov byte [ebp - 4], 0x6d
lea ecx, [ebp - 0xa58]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa70]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xab8]
call fcn.00402800
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0xaa0]
push 0x50c190
call fcn.00402800
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0xa88]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x73
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0xaa0]
mov ecx, esi
push eax
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0xde8]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x390]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x73
lea ecx, [ebp - 0xde8]
call fcn.004027f0
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0xa88]
call fcn.004027f0
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0xaa0]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xab8]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xb00]
call fcn.00402800
mov byte [ebp - 4], 0x75
lea ecx, [ebp - 0xae8]
push 0x50c1e8
call fcn.00402800
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0xad0]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x77
lea eax, [ebp - 0xb00]
push eax
lea eax, [ebp - 0xae8]
mov ecx, esi
push eax
lea eax, [ebp - 0xad0]
push eax
lea eax, [ebp - 0xe00]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x3a8]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0xe00]
call fcn.004027f0
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0xad0]
call fcn.004027f0
mov byte [ebp - 4], 0x75
lea ecx, [ebp - 0xae8]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xb00]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xb48]
call fcn.00402800
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0xb30]
push 0x50c17c
call fcn.00402800
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0xb18]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x7b
lea eax, [ebp - 0xb48]
push eax
lea eax, [ebp - 0xb30]
mov ecx, esi
push eax
lea eax, [ebp - 0xb18]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x7c
lea ecx, [ebp - 0x358]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0xe18]
call fcn.004027f0
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0xb18]
call fcn.004027f0
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0xb30]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xb48]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xce0]
call fcn.00402800
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0xb78]
push 0x50c204
call fcn.00402800
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0xb60]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x7f
lea eax, [ebp - 0xce0]
push eax
lea eax, [ebp - 0xb78]
mov ecx, esi
push eax
lea eax, [ebp - 0xb60]
push eax
lea eax, [ebp - 0xe30]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x80
lea ecx, [ebp - 0x370]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0xe30]
call fcn.004027f0
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0xb60]
call fcn.004027f0
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0xb78]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xce0]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xbd8]
call fcn.00402800
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0xbc0]
push 0x50c218
call fcn.00402800
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0xba8]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x83
lea eax, [ebp - 0xbd8]
push eax
lea eax, [ebp - 0xbc0]
mov ecx, esi
push eax
lea eax, [ebp - 0xba8]
push eax
lea eax, [ebp - 0xe48]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x84
lea ecx, [ebp - 0x340]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x83
lea ecx, [ebp - 0xe48]
call fcn.004027f0
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0xba8]
call fcn.004027f0
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0xbc0]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xbd8]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xc20]
call fcn.00402800
mov byte [ebp - 4], 0x85
lea ecx, [ebp - 0xc08]
push str.server_version
call fcn.00402800
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0xbf0]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x87
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc08]
mov ecx, esi
push eax
lea eax, [ebp - 0xbf0]
push eax
lea eax, [ebp - 0xe60]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x88
lea ecx, [ebp - 0x3f0]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x87
lea ecx, [ebp - 0xe60]
call fcn.004027f0
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0xbf0]
call fcn.004027f0
mov byte [ebp - 4], 0x85
lea ecx, [ebp - 0xc08]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc20]
call fcn.004027f0
push 0x50c1a4
lea ecx, [ebp - 0xc50]
call fcn.00402800
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0xc38]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x8a
sub esp, 8
lea eax, [ebp - 0xc50]
mov ecx, esi
push eax
lea eax, [ebp - 0xc38]
push eax
call fcn.00473860
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], edx
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0xc38]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc50]
call fcn.004027f0
push 0x50ad8c
lea ecx, [ebp - 0xc98]
call fcn.00402800
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xc80]
push 0x50c22c
call fcn.00402800
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0xc68]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x8d
lea eax, [ebp - 0xc98]
push eax
lea eax, [ebp - 0xc80]
mov ecx, esi
push eax
lea eax, [ebp - 0xc68]
push eax
lea eax, [ebp - 0xe78]
push eax
call fcn.00473690
mov byte [ebp - 4], 0x8e
lea ecx, [ebp - 0x328]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x8d
lea ecx, [ebp - 0xe78]
call fcn.004027f0
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0xc68]
call fcn.004027f0
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xc80]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc98]
call fcn.004027f0
push str.file_limit_speed
lea ecx, [ebp - 0xcc8]
call fcn.00402800
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0xcb0]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x90
sub esp, 8
lea eax, [ebp - 0xcc8]
mov ecx, esi
push eax
lea eax, [ebp - 0xcb0]
push eax
call fcn.00473860
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0xcb0]
call fcn.004027f0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xcc8]
call fcn.004027f0
mov ecx, dword [edi]
lea eax, [ebp - 0x3f0]
push eax
add ecx, 0x100
call fcn.0040cee0
mov eax, dword [edi]
mov byte [ebp - 0x3f1], 1
mov byte [eax + 0x1e8], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f0]
call fcn.0040ab10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004027f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0040ab10
mov al, byte [ebp - 0x3f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bc969
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret