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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bc2f
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x554418]
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.0041cf50
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 0x41b9d0
sub ecx, edx
push ecx
push str.http:__iquicksee.luxiaoche.com_intf_index_tokentoken
lea ecx, [ebp - 0x28]
call fcn.00409aa0
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.0041ccb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41ba3c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ba32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf1d
push edx
push ecx
call fcn.0043ee21
add esp, 8
lea eax, [ebp - 0xd0]
xor bl, bl
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xe9], bl
call fcn.00404f90
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.00409aa0
push 0
push 0x516999
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.00409aa0
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.00437e60
add esp, 0x1c
test al, al
je 0x41bbb2
cmp dword [ebp - 0x30], 0
je 0x41bbb2
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0041d7b0
mov bl, al
mov byte [ebp - 0xe9], bl
test bl, bl
je 0x41bba6
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041d5b0
cmp dword [ebp - 0x18], 0
ja 0x41bb2b
lea ecx, [ebp - 0x28]
call fcn.004055f0
jmp 0x41bd45
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 0x41bb62
lea ecx, [ebp - 0x28]
call fcn.004055f0
jmp 0x41bd45
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.004055f0
jmp 0x41bd45
push 0x5181c0
push str.error_syntax
jmp 0x41bbbc
push 0x5181c0
push str.failed
call fcn.004076e0
mov ecx, eax
call fcn.0041d9e0
push 0
push 0x516999
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00409aa0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.0041d5b0
cmp dword [ebp - 0x18], 0
ja 0x41bc17
lea ecx, [ebp - 0x28]
call fcn.004055f0
jmp 0x41bd0b
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 0x41bcfd
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x41bcfd
cmp esi, 0xffffffff
je 0x41bcfd
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x41bc84
mov dword [ebp - 0x48], esi
mov byte [ebp + esi - 0x58], al
jmp 0x41bc8f
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.00412960
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.00409aa0
lea ecx, [ebp - 0x58]
call fcn.004055a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004055f0
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0041d7b0
mov bl, al
jmp 0x41bd0b
lea ecx, [ebp - 0x28]
call fcn.004055f0
mov bl, byte [ebp - 0xe9]
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x41bd45
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf22
push edx
push ecx
call fcn.0043ee21
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41bd79
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf27
push edx
push ecx
call fcn.0043ee21
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 0x41bdbf
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bdb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf2c
push edx
push ecx
call fcn.0043ee21
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 0x41be08
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bdfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf31
push edx
push ecx
call fcn.0043ee21
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 0x41be57
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41be4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf36
push edx
push ecx
call fcn.0043ee21
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 0x41beac
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bea2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf3b
push edx
push ecx
call fcn.0043ee21
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 0x41befd
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf40
push edx
push ecx
call fcn.0043ee21
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.0043f0c9
mov esp, ebp
pop ebp
ret 4
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
call fcn.004d7009
int3