Function at 0x403fe0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492623
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x4b3cc4]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3cc4]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov eax, dword [esp + 0x330]
mov dword [esp + 0x24], eax
push 0x16
xor ebp, ebp
push str.downloadingstatus.dat
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], ebp
call fcn.00405900
mov ecx, dword [esp + 0x334]
push 0x49922c
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebp
call fcn.00472966
add esp, 0xc
cmp dword [esp + 0x18], ebp
je 0x4042e4
lea eax, [esp + 0x28]
push eax
call fcn.00405a70
mov byte [esp + 0x328], 1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004731e8
add esp, 4
push eax
call fcn.004729b9
mov ecx, eax
mov eax, 0x6c16c16d
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, dword [esp + 0x1c]
add esp, 4
shr ecx, 9
push edx
mov esi, ecx
call fcn.00472c66
add esp, 4
cmp esi, ebp
jle 0x4042ad
lea eax, [esi - 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
push 0x18
call fcn.00465873
add esp, 4
cmp eax, ebp
je 0x4040df
mov esi, eax
call fcn.00402480
mov ebx, eax
jmp 0x4040e1
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x54]
push 0x2d0
push edx
call fcn.00473139
mov eax, dword [esp + 0x128]
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x124]
lea edx, [esp + 0x5c]
push edx
mov dword [ebx + 8], ecx
call fcn.00409210
mov esi, eax
add esp, 0x14
cmp esi, ebp
jne 0x404122
xor eax, eax
jmp 0x404136
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x404127
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.004015e0
cmp esi, ebp
je 0x40414c
push esi
call fcn.004658a2
add esp, 4
lea eax, [esp + 0xb0]
push eax
call fcn.00409210
mov esi, eax
add esp, 4
lea ecx, [ebx + 4]
cmp esi, ebp
jne 0x404169
xor eax, eax
jmp 0x40417f
mov eax, esi
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x404170
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004015e0
cmp esi, ebp
je 0x404193
push esi
call fcn.004658a2
add esp, 4
lea ecx, [esp + 0x11c]
push ecx
call fcn.00409210
mov esi, eax
add esp, 4
lea ecx, [ebx + 0x10]
cmp esi, ebp
jne 0x4041b0
xor eax, eax
jmp 0x4041c4
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x4041b5
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004015e0
cmp esi, ebp
je 0x4041d8
push esi
call fcn.004658a2
add esp, 4
lea edx, [esp + 0x21c]
push edx
call fcn.00409210
mov esi, eax
add esp, 4
lea ecx, [ebx + 0x14]
cmp esi, ebp
jne 0x4041f5
xor eax, eax
jmp 0x40420f
mov eax, esi
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x404200
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004015e0
cmp esi, ebp
je 0x404223
push esi
call fcn.004658a2
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3ac]
push ebx
call fcn.004085e0
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jne 0x40423f
cmp eax, ebp
jne 0x40429a
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
cmp edx, ebp
jne 0x404253
xor ecx, ecx
jmp 0x40425c
mov ecx, dword [esp + 0x3c]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x38]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x404276
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x38], eax
jmp 0x40429a
mov esi, eax
cmp edx, eax
jbe 0x404281
call fcn.00472e89
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
call fcn.00406050
mov eax, 1
sub dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
jne 0x4040c6
mov eax, dword [esp + 0x18]
push eax
call fcn.00473475
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebp
je 0x4042cb
push eax
call fcn.004658a2
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.004658a2
add esp, 4
mov dword [esp + 0x328], 0xffffffff
mov eax, dword [esp + 0x334]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.00472007
add esp, 0x318
ret 8