Function at 0x42f670
Capabilities:
Connect to http server
Create http request
Get file size
Print debug messages
Read and send data from client to server
Read data from internet
Read file on windows
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4e4775
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xac]
mov dword [esp + 0xa8], ebx
rep stosd dword es:[edi], eax
push 0x5000
call fcn.004d46ce
add esp, 4
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x88]
push ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], 0x493e0
mov byte [esp + 0x8c], al
call fcn.00407190
mov edi, 0x518908
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x518908
lea ecx, [esp + 0x90]
call fcn.00406db0
push 0x509dcc
lea ecx, [esp + 0x5c]
mov dword [esp + 0xdc], ebx
call fcn.004d49fb
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0xdc], 1
call fcn.00407190
mov edi, 0x518908
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x518908
lea ecx, [esp + 0x38]
call fcn.00406db0
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 2
mov byte [esp + 0x18], dl
call fcn.00407190
mov edi, 0x518908
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x518908
lea ecx, [esp + 0x1c]
call fcn.00406db0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 3
mov byte [esp + 0x60], al
call fcn.00407190
mov edi, str._____________________________40099aabb3793
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._____________________________40099aabb3793
lea ecx, [esp + 0x64]
call fcn.00406db0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x78], cl
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 4
call fcn.00407190
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Content_Type:_multipart_form_data__boundary
lea ecx, [esp + 0x7c]
call fcn.00406db0
mov edi, dword [esp + 0xe8]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
mov byte [esp + 0xf4], 5
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x430260
mov edx, eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x44], eax
push eax
lea eax, [esp + 0x5c]
push 0x509d74
push eax
call fcn.004d3a22
add esp, 8
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
call fcn.004d49fb
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0042ea70
mov edx, dword [eax]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xd8], 6
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.00406db0
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 5
call fcn.004d498d
mov edx, dword [0x4ea898]
lea eax, [esp + 0x5c]
push edx
push ebx
push eax
lea ecx, [esp + 0x80]
call fcn.00406a10
mov edi, 0x509cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cd8
lea ecx, [esp + 0x7c]
call fcn.00406af0
mov edi, 0x509cd4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42f919
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x509cd4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov edi, 0x509cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cd8
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, 0x509cd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cd4
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x5c]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00406a10
mov edi, str._r_nContent_Disposition:_form_data__name_len_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_nContent_Disposition:_form_data__name_len_
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, str._r_n_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, 0x509cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cd8
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, 0x509cd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cd4
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edx, dword [0x4ea898]
push edx
push 0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x1c]
push eax
call fcn.00406a10
mov edi, str._r_nContent_Disposition:_form_data__name_identity_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_nContent_Disposition:_form_data__name_identity_
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, str._r_n_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.00406af0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x518b40
call fcn.004d4702
lea ecx, [esp + 0x2c]
push ecx
call fcn.00415810
add esp, 8
mov edx, dword [eax]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xd8], 7
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00406af0
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 5
call fcn.004d498d
mov edi, str._r_n__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_n__
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edx, dword [0x4ea898]
lea eax, [esp + 0x5c]
push edx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00406a10
mov ecx, dword [0x509d80]
lea edx, [esp + 0x98]
push ecx
push 0x509d74
push edx
call fcn.004aeeec
mov edi, str._r_nContent_Disposition:_form_data__name_PID_
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_nContent_Disposition:_form_data__name_PID_
lea ecx, [esp + 0x1c]
call fcn.00406af0
mov edi, str._r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fb35
call fcn.004c0b21
test esi, esi
jbe 0x42fb7a
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fb7a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str._r_n_r_n
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fba1
call fcn.004c0b21
test esi, esi
jbe 0x42fbe8
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fbe8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x98]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov edi, 0x509cd8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fc0d
call fcn.004c0b21
test esi, esi
jbe 0x42fc52
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fc52
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, 0x509cd8
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov edi, 0x509cd4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fc77
call fcn.004c0b21
test esi, esi
jbe 0x42fcbc
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fcbc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, 0x509cd4
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x5c]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00406a10
mov edi, str._r_nContent_Disposition:_form_data__filename_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ea898]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x42fcf8
call fcn.004c0b21
test esi, esi
jbe 0x42fd3d
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.004085a0
test al, al
je 0x42fd3d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str._r_nContent_Disposition:_form_data__filename_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x88]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.00406a10
mov edi, str.____name_upload_data_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fd7c
call fcn.004c0b21
test esi, esi
jbe 0x42fdc1
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fdc1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str.____name_upload_data_
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov edi, str.__r_nContent_Type:_text_html_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fde6
call fcn.004c0b21
test esi, esi
jbe 0x42fe2b
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004085a0
test al, al
je 0x42fe2b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str.__r_nContent_Type:_text_html_r_n_r_n
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408580
mov edi, str._r_n__
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x38]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42fe50
call fcn.004c0b21
test esi, esi
jbe 0x42fe95
mov ecx, dword [esp + 0x38]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x34]
push ebp
call fcn.004085a0
test al, al
je 0x42fe95
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, str._r_n__
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.00408580
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x5c]
push eax
push 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.00406a10
mov edi, str.___r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ea898]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
cmp edx, esi
ja 0x42fed1
call fcn.004c0b21
test esi, esi
jbe 0x42ff16
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x34]
lea ebp, [eax + esi]
push ebp
call fcn.004085a0
test al, al
je 0x42ff16
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.___r_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.00408580
push 0
push 0
push 0
push 1
push str.HttpSendRequest
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x84], eax
je 0x430258
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
push 1
push 0
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x42ff68
xor ebx, ebx
jmp 0x430232
mov ecx, dword [esp + 0xe4]
push 0
push 0x4400000
push 0
push 0
push 0
push ecx
push 0x509bf8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x48], ebp
jne 0x42ff9a
xor ebx, ebx
jmp 0x430236
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea edx, [esp + 0x50]
push 4
push edx
push 2
push ebp
call esi
lea eax, [esp + 0x50]
push 4
push eax
push 5
push ebp
call esi
lea ecx, [esp + 0x50]
push 4
push ecx
push 7
push ebp
call esi
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x42ffd1
mov eax, 0x4ea894
mov edx, dword [esp + 0x7c]
push 0x20000000
push edx
push eax
push ebp
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x42fff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x430236
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
add ecx, eax
add ecx, edx
push 0
push 0
lea edx, [esp + 0xb0]
push 0
push edx
push ebp
mov dword [esp + 0xbc], 0x28
mov dword [esp + 0xd8], ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x43003c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x430236
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 1
mov dword [esp + 0x40], eax
jne 0x430092
mov eax, dword [esp + 0x1c]
cmp eax, 0x5000
jbe 0x43006a
mov eax, 0x4fff
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x43007d
mov eax, 0x4ea894
push ecx
push eax
push ebx
call fcn.004b0350
mov eax, dword [esp + 0x30]
add esp, 0xc
mov byte [eax + ebx], 0
jmp 0x4300ae
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push 0
push ecx
push 0x5000
push ebx
push edx
call esi
test eax, eax
je 0x430176
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
push ecx
push ebx
push ebp
call edi
test eax, eax
je 0x43002f
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
add ecx, edx
cmp eax, 0x5000
mov dword [esp + 0x70], ecx
jae 0x4300e4
cmp dword [esp + 0x40], 1
ja 0x4300f2
cmp dword [esp + 0x40], 0x7d0
jbe 0x43004c
mov ecx, dword [esp + 0x38]
cmp ecx, 0x5000
jbe 0x430103
mov ecx, 0x4fff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x430114
mov eax, 0x4ea894
push ecx
push eax
push ebx
call fcn.004b0350
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [eax + ebx], 0
mov edx, dword [esp + 0x24]
push ecx
push edx
push ebx
push ebp
call edi
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push ebp
mov dword [esp + 0x3c], 0
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x430160
xor ebx, ebx
jmp 0x430236
lea ecx, [esp + 0x24]
push ecx
push 0x2800
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x43017d
xor ebx, ebx
jmp 0x430236
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov byte [edx + edi], 0
call esi
push 0x509cd8
call esi
mov eax, dword [0x51347c]
mov dword [esp + 0x28], eax
push ecx
mov bl, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edi
mov byte [esp + 0xe0], bl
call fcn.004d49fb
lea ecx, [esp + 0x48]
push ecx
call fcn.00415b20
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 9
call fcn.004d4ac6
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], bl
call fcn.004d498d
push 0
lea ecx, [esp + 0x2c]
call fcn.004d4dbd
push eax
push 0x509d48
push edi
call fcn.004aeeec
add esp, 0xc
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
call fcn.004d4e0c
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 5
call fcn.004d498d
push str.200
push edi
call fcn.004b0b80
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
inc ebx
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x84]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
test ebp, ebp
je 0x43024d
push ebp
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x430258
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43026b
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
je 0x43027e
push eax
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x78]
cmp ecx, esi
je 0x4302a1
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x430298
cmp al, 0xff
je 0x430298
dec al
mov byte [ecx], al
jmp 0x4302a1
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], esi
cmp ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
je 0x4302d3
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4302ca
cmp al, 0xff
je 0x4302ca
dec al
mov byte [ecx], al
jmp 0x4302d3
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], esi
cmp ecx, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
je 0x430302
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4302f9
cmp al, 0xff
je 0x4302f9
dec al
mov byte [ecx], al
jmp 0x430302
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x430331
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x430328
cmp al, 0xff
je 0x430328
dec al
mov byte [ecx], al
jmp 0x430331
push ecx
call fcn.004d46f7
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0xd8], 0
call fcn.004d498d
mov ecx, dword [esp + 0x8c]
cmp ecx, esi
je 0x430375
mov al, byte [ecx - 1]
test al, al
je 0x43036b
cmp al, 0xff
je 0x43036b
dec al
mov byte [ecx - 1], al
jmp 0x430375
dec ecx
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 0x10