Function at 0x4188f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507dbf
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x551580]
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 edi, ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00419ed0
mov ecx, str.http:__iquicksee.luxiaoche.com_intf_index_tokentoken
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418950
sub ecx, edx
push ecx
push str.http:__iquicksee.luxiaoche.com_intf_index_tokentoken
lea ecx, [ebp - 0x28]
call fcn.00408ce0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00419c30
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4189bc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4189b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418e9d
push edx
push ecx
call fcn.0043b077
add esp, 8
lea eax, [ebp - 0xd0]
xor bl, bl
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xe9], bl
call fcn.00404c40
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], bl
push 0x21
push str.application_x_www_form_urlencoded
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00408ce0
push 0
push 0x5129bd
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00408ce0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x70]
push dword [edi]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00434080
add esp, 0x1c
test al, al
je 0x418b32
cmp dword [ebp - 0x30], 0
je 0x418b32
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0041a730
mov bl, al
mov byte [ebp - 0xe9], bl
test bl, bl
je 0x418b26
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041a530
cmp dword [ebp - 0x18], 0
ja 0x418aab
lea ecx, [ebp - 0x28]
call fcn.00405280
jmp 0x418cc5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x418ae2
lea ecx, [ebp - 0x28]
call fcn.00405280
jmp 0x418cc5
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0xf0]
push 0
push ecx
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
mov dword [ebp - 0xf0], 0
cmovae eax, dword [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00405280
jmp 0x418cc5
push 0x514938
push str.error_syntax
jmp 0x418b3c
push 0x514938
push str.failed
call fcn.00406ba0
mov ecx, eax
call fcn.0041a960
push 0
push 0x5129bd
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00408ce0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.0041a530
cmp dword [ebp - 0x18], 0
ja 0x418b97
lea ecx, [ebp - 0x28]
call fcn.00405280
jmp 0x418c8b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x418c7d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x418c7d
cmp esi, 0xffffffff
je 0x418c7d
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x418c04
mov dword [ebp - 0x48], esi
mov byte [ebp + esi - 0x58], al
jmp 0x418c0f
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.0040f820
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0xf0]
push 0
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0xf0], 0
cmovae eax, dword [ebp - 0x58]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xa0]
push eax
call fcn.00408ce0
lea ecx, [ebp - 0x58]
call fcn.00405230
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00405280
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0041a730
mov bl, al
jmp 0x418c8b
lea ecx, [ebp - 0x28]
call fcn.00405280
mov bl, byte [ebp - 0xe9]
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x418cc5
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418cbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ea2
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x418cf9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418cef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ea7
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x418d3f
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418d35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eac
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x418d88
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418d7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb1
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x418dd7
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418dcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb6
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 0x10
jb 0x418e2c
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418e22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ebb
push edx
push ecx
call fcn.0043b077
add esp, 8
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp edx, 0x10
jb 0x418e7d
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418e73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ec0
push edx
push ecx
call fcn.0043b077
add esp, 8
mov al, bl
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.0043b31f
mov esp, ebp
pop ebp
ret 4
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
call fcn.004d3209
int3