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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd8f
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x557460]
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.0041cf70
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 0x41b9f0
sub ecx, edx
push ecx
push str.http:__iquicksee.luxiaoche.com_intf_index_tokentoken
lea ecx, [ebp - 0x28]
call fcn.00409ab0
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.0041ccd0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41ba5c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ba52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf3d
push edx
push ecx
call fcn.00440184
add esp, 8
lea eax, [ebp - 0xd0]
xor bl, bl
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xe9], bl
call fcn.00404fa0
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.00409ab0
push 0
push 0x5179a9
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.00409ab0
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.004391c0
add esp, 0x1c
test al, al
je 0x41bbd2
cmp dword [ebp - 0x30], 0
je 0x41bbd2
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0041d7d0
mov bl, al
mov byte [ebp - 0xe9], bl
test bl, bl
je 0x41bbc6
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041d5d0
cmp dword [ebp - 0x18], 0
ja 0x41bb4b
lea ecx, [ebp - 0x28]
call fcn.00405600
jmp 0x41bd65
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 0x41bb82
lea ecx, [ebp - 0x28]
call fcn.00405600
jmp 0x41bd65
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.00405600
jmp 0x41bd65
push 0x5191d0
push str.error_syntax
jmp 0x41bbdc
push 0x5191d0
push str.failed
call fcn.004076f0
mov ecx, eax
call fcn.0041da00
push 0
push 0x5179a9
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00409ab0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.0041d5d0
cmp dword [ebp - 0x18], 0
ja 0x41bc37
lea ecx, [ebp - 0x28]
call fcn.00405600
jmp 0x41bd2b
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 0x41bd1d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x41bd1d
cmp esi, 0xffffffff
je 0x41bd1d
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x41bca4
mov dword [ebp - 0x48], esi
mov byte [ebp + esi - 0x58], al
jmp 0x41bcaf
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.00412970
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.00409ab0
lea ecx, [ebp - 0x58]
call fcn.004055b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00405600
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0041d7d0
mov bl, al
jmp 0x41bd2b
lea ecx, [ebp - 0x28]
call fcn.00405600
mov bl, byte [ebp - 0xe9]
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x41bd65
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf42
push edx
push ecx
call fcn.00440184
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41bd99
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf47
push edx
push ecx
call fcn.00440184
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 0x41bddf
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bdd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf4c
push edx
push ecx
call fcn.00440184
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 0x41be28
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41be1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf51
push edx
push ecx
call fcn.00440184
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 0x41be77
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41be6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf56
push edx
push ecx
call fcn.00440184
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 0x41becc
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bec2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf5b
push edx
push ecx
call fcn.00440184
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 0x41bf1d
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bf13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf60
push edx
push ecx
call fcn.00440184
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.0044042c
mov esp, ebp
pop ebp
ret 4
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
call fcn.004d7e49
int3