Function at 0x40b9c0
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 0x4e67c6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xeb0
mov eax, dword [0x538074]
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 0x40ba1b
xor al, al
jmp 0x40d47c
lea eax, [ecx + 0xcc]
add ecx, 0xc0
push eax
call fcn.00415d30
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
mov byte [eax + 0x1e9], 0
mov eax, dword [edi]
mov byte [eax + 0x1e8], 0
call fcn.0040b020
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.0040d4a0
mov esi, dword [edi]
lea ecx, [ebp - 0xb90]
push 0x50c6f4
add esi, 0xb0
call fcn.00403010
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9b0]
push 0x50dcb4
call fcn.00403010
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x908]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x908]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9b0]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb90]
call fcn.00402fc0
lea ecx, [ebp - 0x78]
call fcn.00402f40
test al, al
jne 0x40bb45
mov ecx, dword [edi]
lea eax, [ebp - 0x108]
push eax
call fcn.0040ae00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.00402f40
test al, al
je 0x40bb36
lea ecx, [ebp - 0x78]
call fcn.00406a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
call fcn.00402fc0
mov eax, dword [esi]
mov al, byte [eax + 8]
test al, al
je 0x40bb55
mov ecx, esi
call fcn.00478f60
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.00404210
push dword [eax]
call fcn.00404bc0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3f8]
mov ecx, dword [ecx]
add ecx, 4
call fcn.00402f40
test al, al
jne 0x40bc59
mov eax, dword [ebp - 0x3fc]
add eax, 0x30
mov ecx, eax
mov dword [ebp - 0x400], eax
call fcn.00402f40
test al, al
jne 0x40bc59
mov ecx, dword [ebp - 0x3fc]
push 0x50da60
lea ecx, [ecx + 0x48]
call fcn.0040a270
test al, al
je 0x40bbf1
push dword [ebp - 0x400]
mov ecx, dword [ebp - 0x3f8]
call fcn.00415df0
test al, al
jne 0x40bbf1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00404bf0
xor eax, eax
jmp 0x40bc68
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40bc0c
mov eax, dword [eax]
test eax, eax
je 0x40bc05
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.00416220
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.00404bf0
jmp 0x40bc75
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00404bf0
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 0x40bce3
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
mov eax, dword [esi]
add eax, 0xc
push eax
call fcn.00403080
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x404], 1
call fcn.00402f40
test al, al
jne 0x40bcc0
push 1
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00478d50
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.00402fc0
mov eax, dword [ebp - 0x3f8]
xor cl, cl
mov byte [ebp - 0x3f1], 0
mov dword [ebp - 0x3fc], ecx
cmp eax, 2
je 0x40bd0a
cmp eax, 1
je 0x40bd0a
test eax, eax
jne 0x40c84c
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040e670
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.00402f40
test al, al
jne 0x40bdfb
lea ecx, [ebp - 0x1c0]
call fcn.00402f40
test al, al
jne 0x40bdfb
push 0x50c6f4
lea ecx, [ebp - 0x428]
call fcn.00403010
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd10]
push 0x50dcc8
call fcn.00403010
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xcf8]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xcf8]
call fcn.00402fc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd10]
call fcn.00402fc0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x428]
call fcn.00402fc0
lea edx, [ebp - 0x1c0]
lea ecx, [ebp - 0xc0]
call fcn.004060b0
test al, al
jne 0x40bdec
mov ecx, edi
call fcn.0040e4f0
lea ecx, [ebp - 0x48]
call fcn.00406a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.00402fc0
cmp dword [ebp - 0x3f8], 1
jne 0x40beda
lea ecx, [ebp - 0x1c0]
call fcn.00402f40
test al, al
jne 0x40beda
push 0x50c6f4
lea ecx, [ebp - 0x470]
call fcn.00403010
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x458]
push 0x50dcc8
call fcn.00403010
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x440]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x440]
call fcn.00402fc0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x458]
call fcn.00402fc0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x470]
call fcn.00402fc0
lea edx, [ebp - 0x1c0]
lea ecx, [ebp - 0xf0]
call fcn.00474b40
test al, al
jne 0x40becb
mov ecx, edi
call fcn.0040e4f0
lea ecx, [ebp - 0x48]
call fcn.00406a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf0]
call fcn.00402fc0
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push eax
call fcn.0040ae00
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x60]
call fcn.00402f40
test al, al
je 0x40bf0a
lea ecx, [ebp - 0x48]
call fcn.00402f40
test al, al
je 0x40c828
jmp 0x40c821
push 0x50dcdc
lea ecx, [ebp - 0x4a0]
call fcn.00403010
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x488]
push str.update
call fcn.00403010
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.00478ba0
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x40c], edx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x488]
call fcn.00402fc0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a0]
call fcn.00402fc0
lea ecx, [ebp - 0x60]
call fcn.0047be60
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x400]
test ecx, ecx
jne 0x40bf9a
test eax, eax
je 0x40c821
cmp edx, ecx
ja 0x40c821
jb 0x40bfb0
cmp dword [ebp - 0x410], eax
jae 0x40c821
lea ecx, [ebp - 0x308]
call fcn.0040b020
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e8]
push 0x50c6f4
call fcn.00403010
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4d0]
push str.download_url
call fcn.00403010
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4b8]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xd28]
call fcn.00402fc0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4b8]
call fcn.00402fc0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4d0]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e8]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x530]
call fcn.00403010
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x518]
push str.file_name
call fcn.00403010
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x500]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x2d8]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xe90]
call fcn.00402fc0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x500]
call fcn.00402fc0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x518]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x530]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x578]
call fcn.00403010
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x560]
push 0x50dcc8
call fcn.00403010
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x548]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xea8]
call fcn.00402fc0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x548]
call fcn.00402fc0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x560]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x578]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x5c0]
call fcn.00403010
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x5a8]
push 0x50dd20
call fcn.00403010
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x590]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2c0]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xec0]
call fcn.00402fc0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x590]
call fcn.00402fc0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x5a8]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5c0]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x608]
call fcn.00403010
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x5f0]
push 0x50dcb4
call fcn.00403010
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5d8]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x270]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0xd40]
call fcn.00402fc0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5d8]
call fcn.00402fc0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x5f0]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x608]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x650]
call fcn.00403010
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x638]
push 0x50dd3c
call fcn.00403010
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x620]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x288]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xd58]
call fcn.00402fc0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x620]
call fcn.00402fc0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x638]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x650]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x698]
call fcn.00403010
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x680]
push str.server_version
call fcn.00403010
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x668]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x308]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0xd70]
call fcn.00402fc0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x668]
call fcn.00402fc0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x680]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x698]
call fcn.00402fc0
push 0x50dcdc
lea ecx, [ebp - 0x6c8]
call fcn.00403010
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x6b0]
push str.update
call fcn.00403010
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.00478ba0
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x6b0]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x6c8]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x710]
call fcn.00403010
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6f8]
push 0x50dd50
call fcn.00403010
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x6e0]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x258]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0xd88]
call fcn.00402fc0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x6e0]
call fcn.00402fc0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6f8]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x710]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x758]
call fcn.00403010
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x740]
push 0x50dd64
call fcn.00403010
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x728]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x240]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0xda0]
call fcn.00402fc0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x728]
call fcn.00402fc0
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x740]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x758]
call fcn.00402fc0
lea ecx, [ebp - 0x2f0]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x2d8]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x2a8]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x2c0]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x270]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x288]
call fcn.00402f40
test al, al
jne 0x40c809
lea ecx, [ebp - 0x308]
call fcn.00402f40
test al, al
jne 0x40c809
cmp dword [ebp - 0x28c], 0
ja 0x40c6c7
cmp dword [ebp - 0x290], 0
jbe 0x40c809
push 0x50c6f4
lea ecx, [ebp - 0x7a0]
call fcn.00403010
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x788]
push str.temp_file_md5
call fcn.00403010
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x770]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x770]
call fcn.00402fc0
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x788]
call fcn.00402fc0
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x7a0]
call fcn.00402fc0
lea ecx, [ebp - 0xa8]
call fcn.00402f40
test al, al
jne 0x40c7f3
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.00487030
mov byte [ebp - 4], 0x4b
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.00487900
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x30]
call fcn.004871e0
mov byte [ebp - 4], 0x4c
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xd8]
call fcn.00474b40
mov ecx, dword [ebp - 0x3fc]
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.00402fc0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x24]
call fcn.0040ec40
mov byte [ebp - 4], 0x4a
mov dword [ebp - 0x30], vtable.RC::RCFileHash.0
mov byte [ebp - 0x28], 1
jmp 0x40c7fa
mov byte [ebp - 0x3fc], 1
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa8]
call fcn.00402fc0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x308]
call fcn.0040b0e0
cmp byte [ebp - 0x3fc], 0
jne 0x40c828
mov ecx, edi
call fcn.0040e4f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.00402fc0
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0x3fc]
cmp eax, 1
jne 0x40cd19
mov ecx, dword [edi]
mov byte [ebp - 0x3f1], al
add ecx, 0x100
lea eax, [ebp - 0x220]
push eax
call fcn.0040d4a0
mov eax, dword [edi]
mov cl, byte [ebp - 0x3f2]
push str.download_url
mov byte [eax + 0x1e8], cl
lea ecx, [ebp - 0x7d0]
call fcn.00403010
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x7b8]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x7b8]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7d0]
call fcn.00402fc0
push str.file_name
lea ecx, [ebp - 0x800]
call fcn.00403010
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x7e8]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x7e8]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x800]
call fcn.00402fc0
push 0x50dcc8
lea ecx, [ebp - 0x830]
call fcn.00403010
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x818]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x818]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x830]
call fcn.00402fc0
push 0x50dd20
lea ecx, [ebp - 0x860]
call fcn.00403010
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x848]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x848]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.00402fc0
push 0x50dcb4
lea ecx, [ebp - 0x890]
call fcn.00403010
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x878]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x878]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x890]
call fcn.00402fc0
push 0x50dd3c
lea ecx, [ebp - 0x8c0]
call fcn.00403010
mov byte [ebp - 4], 0x5a
lea ecx, [ebp - 0x8a8]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x5a
lea ecx, [ebp - 0x8a8]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c0]
call fcn.00402fc0
push str.server_version
lea ecx, [ebp - 0x8f0]
call fcn.00403010
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x8d8]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x8d8]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8f0]
call fcn.00402fc0
push 0x50dcdc
lea ecx, [ebp - 0x938]
call fcn.00403010
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x920]
push str.update
call fcn.00403010
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x120]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.004749e0
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.00478ae0
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x120]
call fcn.00402fc0
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x920]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x938]
call fcn.00402fc0
push 0x50dd50
lea ecx, [ebp - 0x968]
call fcn.00403010
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x950]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x950]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x968]
call fcn.00402fc0
push 0x50dd64
lea ecx, [ebp - 0x998]
call fcn.00403010
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x980]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x980]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x998]
call fcn.00402fc0
push str.file_limit_speed
lea ecx, [ebp - 0x9e0]
call fcn.00403010
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x9c8]
push str.update
call fcn.00403010
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x138]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
call fcn.004749e0
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.00478ae0
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x138]
call fcn.00402fc0
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x9c8]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9e0]
call fcn.00402fc0
mov ecx, esi
call fcn.00478f60
jmp 0x40d458
test eax, eax
je 0x40cd37
cmp eax, 2
je 0x40cd37
mov eax, dword [edi]
mov byte [ebp - 0x3f1], 0
mov byte [eax + 0x1e9], 1
jmp 0x40d458
test cl, cl
je 0x40d458
lea ecx, [ebp - 0x3f0]
call fcn.0040b020
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa28]
push 0x50c6f4
call fcn.00403010
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0xa10]
push str.download_url
call fcn.00403010
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x9f8]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x6c
lea ecx, [ebp - 0x3d8]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0xdb8]
call fcn.00402fc0
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x9f8]
call fcn.00402fc0
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0xa10]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa28]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xa70]
call fcn.00403010
mov byte [ebp - 4], 0x6d
lea ecx, [ebp - 0xa58]
push str.file_name
call fcn.00403010
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0xa40]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x70
lea ecx, [ebp - 0x3c0]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x6f
lea ecx, [ebp - 0xdd0]
call fcn.00402fc0
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0xa40]
call fcn.00402fc0
mov byte [ebp - 4], 0x6d
lea ecx, [ebp - 0xa58]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xa70]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xab8]
call fcn.00403010
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0xaa0]
push 0x50dcc8
call fcn.00403010
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0xa88]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x390]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x73
lea ecx, [ebp - 0xde8]
call fcn.00402fc0
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0xa88]
call fcn.00402fc0
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0xaa0]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xab8]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xb00]
call fcn.00403010
mov byte [ebp - 4], 0x75
lea ecx, [ebp - 0xae8]
push 0x50dd20
call fcn.00403010
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0xad0]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x3a8]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0xe00]
call fcn.00402fc0
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0xad0]
call fcn.00402fc0
mov byte [ebp - 4], 0x75
lea ecx, [ebp - 0xae8]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xb00]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xb48]
call fcn.00403010
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0xb30]
push 0x50dcb4
call fcn.00403010
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0xb18]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x7c
lea ecx, [ebp - 0x358]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0xe18]
call fcn.00402fc0
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0xb18]
call fcn.00402fc0
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0xb30]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xb48]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xce0]
call fcn.00403010
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0xb78]
push 0x50dd3c
call fcn.00403010
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0xb60]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x80
lea ecx, [ebp - 0x370]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0xe30]
call fcn.00402fc0
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0xb60]
call fcn.00402fc0
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0xb78]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xce0]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xbd8]
call fcn.00403010
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0xbc0]
push 0x50dd50
call fcn.00403010
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0xba8]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x84
lea ecx, [ebp - 0x340]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x83
lea ecx, [ebp - 0xe48]
call fcn.00402fc0
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0xba8]
call fcn.00402fc0
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0xbc0]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xbd8]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xc20]
call fcn.00403010
mov byte [ebp - 4], 0x85
lea ecx, [ebp - 0xc08]
push str.server_version
call fcn.00403010
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0xbf0]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x88
lea ecx, [ebp - 0x3f0]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x87
lea ecx, [ebp - 0xe60]
call fcn.00402fc0
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0xbf0]
call fcn.00402fc0
mov byte [ebp - 4], 0x85
lea ecx, [ebp - 0xc08]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc20]
call fcn.00402fc0
push 0x50dcdc
lea ecx, [ebp - 0xc50]
call fcn.00403010
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0xc38]
push str.update
call fcn.00403010
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.00478ba0
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], edx
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0xc38]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc50]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0xc98]
call fcn.00403010
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xc80]
push 0x50dd64
call fcn.00403010
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0xc68]
push str.update
call fcn.00403010
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.004789d0
mov byte [ebp - 4], 0x8e
lea ecx, [ebp - 0x328]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x8d
lea ecx, [ebp - 0xe78]
call fcn.00402fc0
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0xc68]
call fcn.00402fc0
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xc80]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc98]
call fcn.00402fc0
push str.file_limit_speed
lea ecx, [ebp - 0xcc8]
call fcn.00403010
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0xcb0]
push str.update
call fcn.00403010
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.00478ba0
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0xcb0]
call fcn.00402fc0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xcc8]
call fcn.00402fc0
mov ecx, dword [edi]
lea eax, [ebp - 0x3f0]
push eax
add ecx, 0x100
call fcn.0040d4a0
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.0040b0e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00402fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0040b0e0
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.004be500
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret