Function at 0x1002902f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xac
mov eax, 0x10077ee7
call fcn.1004e336
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
call fcn.10029841
mov ebx, 0x1000
lea eax, [ebp - 0xb8]
push ebx
push 1
push edi
push eax
call fcn.10029b07
and dword [ebp - 4], 0
call fcn.10029841
push ebx
push 2
push edi
lea eax, [ebp - 0x58]
push eax
call fcn.10029b07
mov byte [ebp - 4], 1
push dword [ebp - 0x48]
push str.web_qq_readsize:_d
call fcn.10034d47
cmp dword [esi + 0x14], 0x10
pop ecx
pop ecx
jb 0x1002908f
mov esi, dword [esi]
push ecx
mov edx, str.POST__cgi_bin_upload_
mov ecx, esi
call fcn.100323e5
test eax, eax
je 0x100292fb
push str.ie_web_qq
call fcn.10034d47
lea ecx, [ebp - 0x70]
mov dword [esp], str.X_QQMAIL_FILENAME
call fcn.100017d6
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x40]
call fcn.1001a49f
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.1001a016
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
call fcn.100039d4
add esp, 0xc
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push ebx
push 1
call fcn.10001805
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001805
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10001805
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x78], eax
je 0x10029162
push ebx
push ebx
lea edx, [ebp - 0x88]
call fcn.1002952f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1000970b
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100065b4
jmp 0x10029267
push str.filename
call fcn.100017d6
push ecx
push 0x400
push ebx
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.1001a7ad
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
mov esi, eax
push ebx
push 1
call fcn.10001805
cmp esi, 0xffffffff
je 0x100292d9
push str.___
lea ecx, [ebp - 0x40]
call fcn.100017d6
push ecx
push 0x400
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.1001a7ad
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
mov esi, eax
push ebx
push 1
call fcn.10001805
cmp esi, 0xffffffff
je 0x100292d9
push str.___
lea ecx, [ebp - 0x40]
inc esi
call fcn.100017d6
push ecx
push 0x400
push esi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.1001a7ad
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
mov ebx, eax
push 0
push 1
call fcn.10001805
cmp ebx, 0xffffffff
je 0x100292f7
sub ebx, esi
lea eax, [ebp - 0xa0]
push ebx
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.10001727
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.10003992
push eax
lea ecx, [ebp - 0x28]
call fcn.1000970b
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.100065b4
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.10001805
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.filePath:_ls
call fcn.10034d47
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100292d9
push 0x1008cd98
lea ecx, [ebp - 0x70]
call fcn.1000587d
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
call fcn.1002944e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10028a27
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100065b4
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100065b4
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100065b4
lea ecx, [ebp - 0x88]
push ebx
push 1
call fcn.100065b4
jmp 0x1002942d
xor ebx, ebx
jmp 0x100292d9
push str.Chrome_web_qq
call fcn.10034d47
cmp dword [ebp - 0x48], 0x16c
pop ecx
jbe 0x1002942b
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
cmovae eax, dword [ebp - 0x58]
push dword [eax + 0x158]
call esi
push 0x100893dc
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.1000587d
push 0
push ebx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.1002952f
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.100065b4
cmp dword [ebp - 0x18], 0
je 0x1002941e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002941e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.qq_file:_ls
call fcn.10034d47
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
pop ecx
cmovae eax, dword [ebp - 0x58]
pop ecx
push dword [eax + 0x15c]
call esi
mov esi, eax
push esi
push ebx
push str.fileSize:_u__offset:_u_n
call fcn.10034d47
add esp, 0xc
test esi, esi
jne 0x10029414
push 0x1008cd98
lea ecx, [ebp - 0x88]
call fcn.1000587d
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
call fcn.1002944e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10028a27
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.100065b4
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.100065b4
jmp 0x10029416
xor ebx, ebx
lea ecx, [ebp - 0x28]
jmp 0x100292ea
push 0x1008cec4
call fcn.10034d47
pop ecx
jmp 0x10029414
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.10001805
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.10001805
call fcn.1004e2e0
ret 0x10