Function at 0x401999
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x414350
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x41f018]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x41f018]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x401e8c
xor ecx, ecx
cmp cx, word [eax]
je 0x401e8c
push dword [0x4208ec]
lea eax, [esp + 0x14]
push dword [0x4208e8]
mov edi, 0x4208e8
push eax
call fcn.00402255
lea eax, [esp + 0x38]
push eax
call fcn.0040b3df
mov dword [esp + 0x228], ebx
push str.http:__121.9.201.163:8019
lea esi, [esp + 0x70]
call fcn.00408399
mov byte [esp + 0x228], 1
mov eax, dword [0x4152c4]
cmp dword [eax], 3
mov dword [esp + 0x10], ebx
jl 0x401e60
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 8]
call dword [0x415328]
test eax, eax
je 0x401e60
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x228], 2
mov eax, dword [0x4152c0]
mov eax, dword [eax]
mov esi, dword [0x4152f0]
push str._stack
push dword [eax + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x401b3d
push str._BugReport.aspx
lea eax, [esp + 0x70]
push eax
call fcn.00401f30
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 8]
lea esi, [esp + 0xa8]
call fcn.00408399
mov byte [esp + 0x228], 3
push ebx
push ebx
mov eax, esi
push eax
lea ebx, [esp + 0x30]
call fcn.0040182e
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x228], 2
push 1
xor edi, edi
call fcn.004083e3
test ebx, ebx
je 0x401c99
lea eax, [esp + 0x14]
push eax
call fcn.0040855f
mov byte [esp + 0x228], 4
lea esi, [esp + 0x14]
call fcn.004085fe
cmp dword [esp + 0x80], 8
mov edx, dword [esp + 0x6c]
jae 0x401b18
lea edx, [esp + 0x6c]
mov esi, dword [esp + 0x24]
push ebx
push esi
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00408b76
test eax, eax
je 0x401c80
mov byte [esi + eax], 0
push esi
jmp 0x401c75
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push str._dmp
push dword [eax + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x401cab
mov eax, dword [0x4152c4]
cmp dword [eax], 4
jl 0x401cab
push str._DmpReport.aspx
lea eax, [esp + 0x70]
push eax
call fcn.00401f30
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 0xc]
lea esi, [esp + 0xc4]
call fcn.00408399
mov byte [esp + 0x228], 5
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call fcn.00411752
pop ecx
mov bl, al
mov byte [esp + 0x228], 2
push 1
xor edi, edi
call fcn.004083e3
test bl, bl
je 0x401c99
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 8]
lea esi, [esp + 0x8c]
call fcn.00408399
mov byte [esp + 0x228], 6
push 1
mov eax, esi
push 0x10
push eax
lea ebx, [esp + 0x30]
call fcn.0040182e
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x228], 2
push 1
call fcn.004083e3
cmp ebx, 0x10
jbe 0x401c99
mov edi, dword [esp + 0x24]
push 0x10
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x30]
sub eax, edi
sub eax, ebx
push eax
lea eax, [edi + ebx]
push eax
call dword [0x4152fc]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
add ebx, 0x10
call fcn.0040855f
mov byte [esp + 0x228], 7
lea esi, [esp + 0x14]
call fcn.004085fe
cmp dword [esp + 0x80], 8
mov edx, dword [esp + 0x6c]
jae 0x401c5d
lea edx, [esp + 0x6c]
push ebx
push edi
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00408b76
test eax, eax
je 0x401c80
mov byte [edi + eax], 0
push edi
call dword [0x4152bc]
pop ecx
mov dword [esp + 0x10], eax
lea esi, [esp + 0x14]
call fcn.004086c8
mov byte [esp + 0x228], 2
mov eax, esi
push eax
call fcn.0040859e
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 8]
call dword [0x415018]
xor ebx, ebx
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push str._dmpw
push dword [eax + 4]
call dword [0x4152f0]
pop ecx
pop ecx
test eax, eax
jne 0x401e4f
mov eax, dword [0x4152c4]
cmp dword [eax], 4
jl 0x401e4f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x228], 8
push 1
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0040254f
pop ecx
mov byte [esp + 0x240], 9
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 0xc]
lea esi, [esp + 0xa4]
call fcn.00408399
mov byte [esp + 0x240], 0xa
push eax
mov byte [esp + 0x244], 0xb
lea edi, [esp + 0x30]
call fcn.0040259f
add esp, 0x1c
mov byte [esp + 0x228], 8
push 1
xor edi, edi
call fcn.004083e3
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 3
jb 0x401e3e
push 0x22
pop ecx
mov esi, str.http:__softstat.kugou.com_brokenFile.aspx_version_sflag_shash_s
lea edi, [esp + 0x184]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0xe0]
movsw word es:[edi], word [esi]
call fcn.00402ab1
mov byte [esp + 0x228], 0xc
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 0x38]
push edx
push ecx
lea esi, [ecx + 0x1c]
push esi
push ecx
push ecx
call fcn.00402b91
add esp, 4
call fcn.00402b91
add esp, 4
call fcn.00402b91
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.00402bf9
pop ecx
mov byte [esp + 0x228], 0xd
mov ebx, eax
lea eax, [esp + 0x6c]
call fcn.00407ef9
mov byte [esp + 0x228], 0xc
push 1
xor edi, edi
lea esi, [esp + 0x8c]
call fcn.004083e3
mov byte [esp + 0x228], 8
lea eax, [esp + 0xdc]
push eax
call fcn.00401eb4
mov eax, dword [0x4152c0]
mov eax, dword [eax]
push dword [eax + 8]
lea esi, [esp + 0x8c]
call fcn.00408399
mov byte [esp + 0x228], 0xe
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00401431
pop ecx
mov byte [esp + 0x228], 8
push 1
call fcn.004083e3
mov byte [esp + 0x228], 2
lea esi, [esp + 0x14]
call fcn.004022a0
mov byte [esp + 0x228], 1
lea esi, [esp + 0x24]
call fcn.004020de
mov byte [esp + 0x228], 0
push 1
xor edi, edi
lea esi, [esp + 0x70]
call fcn.004083e3
or dword [esp + 0x228], 0xffffffff
lea esi, [esp + 0x38]
call fcn.0040b476
mov eax, dword [esp + 0x10]
jmp 0x401e8e
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00411a5a
mov esp, ebp
pop ebp
ret 0x10