Function at 0x431020
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c738
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2a8], 0
mov ecx, dword [ebx]
cmp byte [ecx], 0
jne 0x431068
xor al, al
jmp 0x43281e
lea eax, [ecx + 0xcc]
add ecx, 0xc0
push eax
call fcn.00439820
mov eax, dword [ebx]
lea ecx, [ebp - 0x278]
mov byte [eax + 0x1e9], 0
mov eax, dword [ebx]
mov byte [eax + 0x1e8], 0
call fcn.004159f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x278]
mov ecx, dword [ebx]
xorps xmm0, xmm0
push eax
add ecx, 0x100
movlpd qword [ebp - 0x200], xmm0
call fcn.0041e290
mov edi, dword [ebx]
lea ecx, [ebp - 0x5c]
push 0x5582bc
add edi, 0xb0
call fcn.00402a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push 0x55c8f4
call fcn.00402a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004a0180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00402a30
lea ecx, [ebp - 0xa4]
call fcn.00404470
test al, al
jne 0x431180
mov ecx, dword [ebx]
lea eax, [ebp - 0x40]
push eax
call fcn.00430300
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00404470
test al, al
je 0x431174
lea ecx, [ebp - 0xa4]
call fcn.00412b10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov eax, dword [edi]
mov al, byte [eax + 8]
test al, al
je 0x431190
mov ecx, edi
call fcn.004a07a0
mov eax, dword [ebx]
mov dword [ebp - 0x44], 0
mov esi, dword [eax + 0xc0]
lea ecx, [eax + 4]
add eax, 0xc0
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x44], esi
test esi, esi
je 0x4311cd
mov ecx, dword [esi]
test ecx, ecx
je 0x4311cd
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x2a4]
mov byte [ebp - 4], 9
mov ecx, dword [eax]
add ecx, 4
call fcn.00404470
test al, al
jne 0x4312c0
mov eax, dword [ebp - 0x2a0]
add eax, 0x30
mov ecx, eax
mov dword [ebp - 0x29c], eax
call fcn.00404470
test al, al
jne 0x4312c0
mov ecx, dword [ebp - 0x2a0]
push 0x55665c
lea ecx, [ecx + 0x48]
call fcn.0040afe0
test al, al
je 0x431250
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2a4]
call fcn.00439900
test al, al
jne 0x431250
mov byte [ebp - 4], 7
test esi, esi
je 0x431249
mov eax, dword [esi]
test eax, eax
je 0x431242
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x44], 0
xor esi, esi
jmp 0x4312df
test esi, esi
je 0x431266
mov eax, dword [esi]
test eax, eax
je 0x431261
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 0x44], esi
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x29c], 0xffffffff
push eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x2a0]
call fcn.0043a010
mov byte [ebp - 0x295], al
mov byte [ebp - 4], 7
test esi, esi
je 0x4312b8
mov ecx, dword [esi]
test ecx, ecx
je 0x4312b1
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x44], 0
mov esi, dword [ebp - 0x29c]
jmp 0x4312e6
mov byte [ebp - 4], 7
test esi, esi
je 0x4312dc
mov eax, dword [esi]
test eax, eax
je 0x4312d5
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x44], 0
or esi, 0xffffffff
mov byte [ebp - 0x295], 0
mov eax, dword [edi]
mov al, byte [eax + 8]
test al, al
je 0x431354
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
mov eax, dword [edi]
add eax, 0xc
push eax
call fcn.00404520
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x2a8], 1
call fcn.00404470
test al, al
jne 0x431331
push 1
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.004a0530
mov ecx, dword [ebx]
mov byte [ecx], al
mov eax, 1
mov dword [ebp - 0x2a8], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00402a30
xor al, al
mov byte [ebp - 0x279], 0
mov dword [ebp - 0x44], eax
cmp esi, 2
je 0x431372
cmp esi, 1
je 0x431372
test esi, esi
jne 0x431d4a
lea eax, [ebp - 0x74]
mov ecx, ebx
push eax
call fcn.00433710
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.00404470
test al, al
jne 0x431448
lea ecx, [ebp - 0x218]
call fcn.00404470
test al, al
jne 0x431448
push 0x5582bc
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
push 0x55c908
call fcn.00402a40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x294]
call fcn.00402a30
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x28]
call fcn.0040ab30
test al, al
jne 0x43143c
mov ecx, ebx
call fcn.00433590
lea ecx, [ebp - 0x74]
call fcn.00412b10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00402a30
cmp esi, 1
jne 0x431508
lea ecx, [ebp - 0x218]
call fcn.00404470
test al, al
jne 0x431508
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x294]
push 0x55c908
call fcn.00402a40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.00402a30
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x5c]
call fcn.004900e0
test al, al
jne 0x4314fc
mov ecx, ebx
call fcn.00433590
lea ecx, [ebp - 0x74]
call fcn.00412b10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov ecx, dword [ebx]
lea eax, [ebp - 0x8c]
push eax
call fcn.00430300
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x8c]
call fcn.00404470
test al, al
je 0x43153e
lea ecx, [ebp - 0x74]
call fcn.00404470
test al, al
je 0x431d2c
jmp 0x431d25
push 0x55c91c
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x1c
sub esp, 8
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0380
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x294]
call fcn.00402a30
lea ecx, [ebp - 0x8c]
call fcn.0048dfe0
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x29c]
test ecx, ecx
jne 0x4315c8
test eax, eax
je 0x431d25
cmp edx, ecx
ja 0x431d25
jb 0x4315de
cmp dword [ebp - 0x2a0], eax
jae 0x431d25
lea ecx, [ebp - 0x190]
call fcn.004159f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
push 0x5582bc
call fcn.00402a40
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x294]
push str.download_url
call fcn.00402a40
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x178]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x294]
push str.file_name
call fcn.00402a40
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x160]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x294]
push 0x55c908
call fcn.00402a40
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x130]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x294]
push 0x55c960
call fcn.00402a40
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x148]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x294]
push 0x55c8f4
call fcn.00402a40
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xf8]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x294]
push 0x55c97c
call fcn.00402a40
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x110]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x294]
push str.server_version
call fcn.00402a40
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x190]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x55c91c
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x3b
sub esp, 8
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0380
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x294]
push 0x55c990
call fcn.00402a40
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0xe0]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x294]
push 0x55c9a4
call fcn.00402a40
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0xc8]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
lea ecx, [ebp - 0x178]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0x160]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0x130]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0x148]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0xf8]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0x110]
call fcn.00404470
test al, al
jne 0x431d10
lea ecx, [ebp - 0x190]
call fcn.00404470
test al, al
jne 0x431d10
cmp dword [ebp - 0x114], 0
ja 0x431c14
cmp dword [ebp - 0x118], 0
jbe 0x431d10
push 0x5582bc
lea ecx, [ebp - 0x5c]
call fcn.00402a40
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x294]
push str.temp_file_md5
call fcn.00402a40
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x46
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x5c]
call fcn.00402a30
lea ecx, [ebp - 0x40]
call fcn.00404470
test al, al
jne 0x431d00
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00412690
call fcn.00497940
mov byte [ebp - 4], 0x4b
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00497f80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00497af0
mov byte [ebp - 4], 0x4c
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004900e0
mov ecx, dword [ebp - 0x44]
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x5c]
call fcn.00412630
jmp 0x431d04
mov byte [ebp - 0x44], 1
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x190]
call fcn.00415ab0
cmp byte [ebp - 0x44], 0
jne 0x431d2c
mov ecx, ebx
call fcn.00433590
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov eax, dword [ebp - 0x44]
cmp esi, 1
jne 0x4321a5
mov ecx, dword [ebx]
lea eax, [ebp - 0x278]
push eax
add ecx, 0x100
mov byte [ebp - 0x279], 1
call fcn.0041e290
mov eax, dword [ebx]
mov cl, byte [ebp - 0x295]
push str.download_url
mov byte [eax + 0x1e8], cl
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x4e
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push str.file_name
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x50
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c908
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x52
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c960
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x53
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x54
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x53
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c8f4
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c97c
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x58
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push str.server_version
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x5a
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c91c
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0x294]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x5c
lea eax, [ebp - 0x28]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push eax
call fcn.0048ff80
add esp, 0xc
mov byte [ebp - 4], 0x5d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x55c990
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x5f
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push 0x55c9a4
lea ecx, [ebp - 0x294]
call fcn.00402a40
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x61
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.00402a30
push str.file_limit_speed
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x294]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x63
lea eax, [ebp - 0x28]
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push eax
call fcn.0048ff80
add esp, 0xc
mov byte [ebp - 4], 0x64
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004a02a0
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov ecx, edi
call fcn.004a07a0
jmp 0x4327f7
test esi, esi
je 0x4321c3
cmp esi, 2
je 0x4321c3
mov eax, dword [ebx]
mov byte [ebp - 0x279], 0
mov byte [eax + 0x1e9], 1
jmp 0x4327f7
test al, al
je 0x4327f7
lea ecx, [ebp - 0x190]
call fcn.004159f0
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
push 0x5582bc
call fcn.00402a40
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x294]
push str.download_url
call fcn.00402a40
mov byte [ebp - 4], 0x67
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x68
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0x178]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x67
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x294]
push str.file_name
call fcn.00402a40
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x6c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x6d
lea ecx, [ebp - 0x160]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x6c
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0x294]
push 0x55c908
call fcn.00402a40
mov byte [ebp - 4], 0x6f
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x70
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0x130]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x70
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x6f
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0x294]
push 0x55c960
call fcn.00402a40
mov byte [ebp - 4], 0x73
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x74
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x75
lea ecx, [ebp - 0x148]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x73
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x72
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0x294]
push 0x55c8f4
call fcn.00402a40
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x78
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0xf8]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0x294]
push 0x55c97c
call fcn.00402a40
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x7c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0x110]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x7c
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0x294]
push 0x55c990
call fcn.00402a40
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x80
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0xe0]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x80
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0x294]
push str.server_version
call fcn.00402a40
mov byte [ebp - 4], 0x83
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x84
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x85
lea ecx, [ebp - 0x190]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x84
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 0x83
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push 0x55c91c
lea ecx, [ebp - 0x8c]
call fcn.00402a40
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x87
sub esp, 8
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0380
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0x86
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x8c]
call fcn.00402a30
push 0x5582bc
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov byte [ebp - 4], 0x88
lea ecx, [ebp - 0x294]
push 0x55c9a4
call fcn.00402a40
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x8a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0180
mov byte [ebp - 4], 0x8b
lea ecx, [ebp - 0xc8]
push eax
call fcn.004044e0
mov byte [ebp - 4], 0x8a
lea ecx, [ebp - 0x8c]
call fcn.00402a30
mov byte [ebp - 4], 0x89
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x88
lea ecx, [ebp - 0x294]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x40]
call fcn.00402a30
push str.file_limit_speed
lea ecx, [ebp - 0x5c]
call fcn.00402a40
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0x28]
push str.update
call fcn.00402a40
mov byte [ebp - 4], 0x8d
sub esp, 8
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0380
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 0x8c
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov ecx, dword [ebx]
lea eax, [ebp - 0x190]
push eax
add ecx, 0x100
call fcn.0041e290
mov eax, dword [ebx]
mov byte [ebp - 0x279], 1
mov byte [eax + 0x1e8], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x190]
call fcn.00415ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00415ab0
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret