Function at 0x413f44
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push 0xffffffffffffffff
push 0x4a1eea
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x18c], ebx
lea eax, [esp + 0x3d]
push 0x3f
push ebx
push eax
mov byte [esp + 0x48], bl
call fcn.00482250
xor eax, eax
push 0xfe
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push ebx
push eax
call fcn.00482250
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x44]
push str.___________________________x_x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x90]
push str.Content_Type:_multipart_form_data__boundary_S_r_n_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x58]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414015
mov eax, dword [edi + 0x10]
sub ecx, edx
lea eax, [eax + ecx*2]
add eax, 0x400
lea ecx, [esp + 0x24]
add eax, dword [esi + 0x10]
push eax
call fcn.00415963
mov ebx, 0x4b6708
push ebx
call fcn.004012c1
pop ecx
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040edea
lea eax, [esp + 0x3c]
push eax
call fcn.004012c1
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040edea
mov ebp, 0x4b670c
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
mov ebx, str.Content_Disposition:_form_data__name_pp__r_n
push ebx
call fcn.004012c1
pop ecx
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
push 0xffffffffffffffff
xor eax, eax
lea ecx, [esp + 0x28]
push eax
push esi
call fcn.0040ed4a
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
mov ebx, 0x4b6708
push ebx
call fcn.004012c1
pop ecx
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040edea
lea eax, [esp + 0x3c]
push eax
call fcn.004012c1
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
mov esi, str.Content_Disposition:_form_data__name_filedata__r_n
push esi
call fcn.004012c1
pop ecx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.0040edea
mov esi, str.Content_Type:_application_octet_stream_r_n
push esi
call fcn.004012c1
pop ecx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
push 0xffffffffffffffff
xor esi, esi
lea ecx, [esp + 0x28]
push esi
push edi
call fcn.0040ed4a
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebx
call fcn.004012c1
pop ecx
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040edea
lea eax, [esp + 0x3c]
push eax
call fcn.004012c1
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebx
call fcn.004012c1
pop ecx
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040edea
push ebp
call fcn.004012c1
pop ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040edea
push esi
push esi
push esi
push esi
push str.liebao
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4141f4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4141ea
call esi
mov esi, eax
jmp 0x41436d
mov esi, 0xffff
jmp 0x41436d
push esi
push 0x50
push str.api.liebao.cn
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebp, eax
test ebp, ebp
jne 0x414228
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41421e
call esi
mov esi, eax
jmp 0x414366
mov esi, 0xffff
jmp 0x414366
push 0x100
push esi
push esi
push esi
push str._upgrade_ss.php
push 0x4b6670
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x414266
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41425c
call esi
mov esi, eax
jmp 0x41435f
mov esi, 0xffff
jmp 0x41435f
lea ecx, [esp + 0x7c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x41426d
push esi
push dword [esp + 0x38]
sub ecx, edx
lea eax, [esp + 0x2c]
push dword [esp + 0x3c]
sar ecx, 1
cmp dword [esp + 0x44], 0x10
cmovae eax, dword [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x90]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x414319
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x414319
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x414319
xor ebx, ebx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x41434b
lea eax, [esi + 1]
push eax
call fcn.0047b664
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41434f
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x41432b
push ebx
call fcn.0047b62c
pop ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4142ce
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41434f
call esi
mov esi, eax
jmp 0x414354
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41433d
call esi
mov esi, eax
jmp 0x414342
mov esi, 0xffff
push ebx
call fcn.0047b62c
pop ecx
jmp 0x414354
mov esi, ebx
jmp 0x414354
mov esi, 0xffff
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ebx, dword [esp + 0x20]
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
or dword [esp + 0x18c], 0xffffffff
xor eax, eax
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.0040162e
mov eax, esi
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0047aabf
add esp, 0x17c
ret