Function at 0x430976
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfe03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov dword [ebp - 0x10], ecx
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x1e6e
push 0x10
push str.Aa21T
push dword [ebp + 0x14]
call fcn.004ae720
add esp, 0xc
push 0x10
push str.Aa21T
push dword [ebp + 0x20]
call fcn.004ae720
add esp, 0xc
push str.SOFTWAREMarcotteGsock_
lea ecx, [ebp - 0x24]
call fcn.004053d4
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00406100
push 0x4dae74
lea ecx, [ebp - 0x111]
call fcn.004053d4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x111]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x111]
call fcn.004055b0
push 0x4d96ec
lea ecx, [ebp - 0x13e]
call fcn.004053d4
mov byte [ebp - 4], 2
push 0x4ddfd8
lea ecx, [ebp - 0xff]
call fcn.004053d4
mov byte [ebp - 4], 3
push 0
push 0
push 0
lea eax, [ebp - 0x13e]
push eax
lea eax, [ebp - 0xff]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1a1]
push eax
call fcn.0044e0b7
add esp, 0x1c
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 4
push dword [ebp - 0xb4]
mov ecx, dword [ebp + 0x18]
call fcn.00405662
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a1]
call fcn.004055b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xff]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13e]
call fcn.004055b0
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
call fcn.00405662
push str.127.0.0.1
mov ecx, dword [ebp + 0x1c]
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
je 0x430afa
push 0x4ddfec
mov ecx, dword [ebp + 0x1c]
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
jne 0x430b02
mov ecx, dword [ebp + 0x1c]
call fcn.00406f8f
mov dword [ebp - 0xbc], 0x10
push 0x4ddff8
lea ecx, [ebp - 0xed]
call fcn.004053d4
mov byte [ebp - 4], 5
push 0
push 0
lea eax, [ebp - 0xbc]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0xed]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e353
add esp, 0x18
test eax, eax
jne 0x430b51
mov dword [ebp - 0x88], 1
jmp 0x430b58
and dword [ebp - 0x88], 0
mov al, byte [ebp - 0x88]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xed]
call fcn.004055b0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x430b8a
push 0x10
push str.Aa21T
push dword [ebp + 0x20]
call fcn.004ae720
add esp, 0xc
push str.GatewayAddress
lea ecx, [ebp - 0x159]
call fcn.004053d4
mov byte [ebp - 4], 6
push 0
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x159]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c5]
push eax
call fcn.0044e0b7
add esp, 0x1c
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 7
push dword [ebp - 0xcc]
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c5]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x159]
call fcn.004055b0
push str.template:__
lea ecx, [ebp - 0x50]
call fcn.004053d4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.004085af
push eax
lea ecx, [ebp - 0x50]
call fcn.00405b2a
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
call fcn.004b08c0
add esp, 0xc
test eax, eax
jne 0x430d17
push 0
lea ecx, [ebp - 0x50]
call fcn.004085af
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004088c2
push str.SOFTWAREMarcotteGsock_
lea ecx, [ebp - 0x24]
call fcn.0040574c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00406100
push 0x4dae74
lea ecx, [ebp - 0x123]
call fcn.004053d4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x123]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x123]
call fcn.004055b0
push str.GatewayAddress
lea ecx, [ebp - 0x16b]
call fcn.004053d4
mov byte [ebp - 4], 0xa
push 0
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x16b]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1b3]
push eax
call fcn.0044e0b7
add esp, 0x1c
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0xdc]
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1b3]
call fcn.004055b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x16b]
call fcn.004055b0
push 0
push 0
push 0x4de020
mov ecx, dword [ebp + 0x18]
call fcn.00405b2a
push eax
call fcn.00407a21
add esp, 0x10
test eax, eax
jne 0x430d3d
mov ecx, dword [ebp + 0x18]
call fcn.00406f8f
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00405995
movzx eax, al
test eax, eax
je 0x4314fa
push 0x4dae48
lea ecx, [ebp - 0x44]
call fcn.004053d4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
call fcn.004085af
push eax
lea ecx, [ebp - 0x44]
call fcn.00405b2a
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
call fcn.004b08c0
add esp, 0xc
test eax, eax
jne 0x431420
push dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call fcn.004052c0
mov byte [ebp - 4], 0xd
push 0
lea ecx, [ebp - 0x44]
call fcn.004085af
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.004088c2
lea ecx, [ebp - 0x5c]
call fcn.004054e3
mov byte [ebp - 4], 0xe
push 1
lea eax, [ebp - 0xe4]
push eax
push 0x2f
lea ecx, [ebp - 0x34]
call fcn.00409a58
test eax, eax
je 0x430de8
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x34]
call fcn.00406fa2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x45], 0
jne 0x430e57
push 0xa3
call fcn.0040245f
pop ecx
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x80], 0
je 0x430e1d
push 0
push 0
mov ecx, dword [ebp - 0x80]
call fcn.00481e21
mov dword [ebp - 0x90], eax
jmp 0x430e24
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xa0]
mov dword [eax + 0x45], ecx
push 0x7530
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x45]
call fcn.0048391f
mov ecx, eax
call fcn.00440bdb
push 0x4d96ec
lea ecx, [ebp - 0x17d]
call fcn.004053d4
mov byte [ebp - 4], 0x10
push 0x4d96ec
lea ecx, [ebp - 0x135]
call fcn.004053d4
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x17d]
push eax
lea eax, [ebp - 0x135]
push eax
push 0x50
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x45]
call fcn.004821ab
test eax, eax
jne 0x430eab
mov dword [ebp - 0x78], 1
jmp 0x430eaf
and dword [ebp - 0x78], 0
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x12], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x135]
call fcn.004055b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x17d]
call fcn.004055b0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x430f3e
lea ecx, [ebp - 0x34]
call fcn.00405b2a
push eax
push str.Unable_to_connect_to_host__s_r_n
call fcn.00403bd8
pop ecx
pop ecx
and dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.004055b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.004055b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0xe0]
jmp 0x431522
push 0x493e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x45]
call fcn.0048391f
mov ecx, eax
call fcn.00440bdb
lea ecx, [ebp - 0x244]
call fcn.0041f990
lea ecx, [ebp - 0x204]
call fcn.0042583a
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x204]
call fcn.0041dda9
push 0x4dc1f0
lea ecx, [ebp - 0x150]
call fcn.004053d4
mov byte [ebp - 4], 0x13
push 0
push 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x198]
call fcn.0042345d
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x150]
call fcn.004055b0
push 0x4d96ec
lea ecx, [ebp - 0xf6]
call fcn.004053d4
mov byte [ebp - 4], 0x16
push 0x4d96ec
lea ecx, [ebp - 0x162]
call fcn.004053d4
mov byte [ebp - 4], 0x17
push 0x4d96ec
lea ecx, [ebp - 0x174]
call fcn.004053d4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x198]
call fcn.00423876
push eax
lea ecx, [ebp - 0x147]
call fcn.004053d4
mov byte [ebp - 4], 0x19
push 0
push 0
lea eax, [ebp - 0xf6]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x162]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x147]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x45]
call fcn.00482211
test eax, eax
jne 0x431054
mov dword [ebp - 0x7c], 1
jmp 0x431058
and dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x13], al
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x147]
call fcn.004055b0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x174]
call fcn.004055b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x162]
call fcn.004055b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xf6]
call fcn.004055b0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x4310a9
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x45]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4310d8
push 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0xc8], eax
jmp 0x4310df
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x45], 0
cmp dword [ebp - 0x84], 0xc8
je 0x4311c5
lea ecx, [ebp - 0x198]
call fcn.00423876
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
push str.Unable_to_copy_file__s_to__s_r_n
call fcn.00403bd8
add esp, 0xc
and dword [ebp - 0x28], 0
jmp 0x431125
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x204]
call fcn.0047e16a
cmp dword [ebp - 0x28], eax
jge 0x431159
push dword [ebp - 0x28]
lea ecx, [ebp - 0x204]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
push str.___s_r_n
call fcn.00403bd8
pop ecx
pop ecx
jmp 0x43111e
and dword [ebp - 0xb0], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x198]
call fcn.004235b4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x204]
call fcn.00425937
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.004055b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.004055b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0xb0]
jmp 0x431522
lea ecx, [ebp - 0x238]
call fcn.00425fe1
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x198]
call fcn.00423876
push eax
lea ecx, [ebp - 0x108]
call fcn.004053d4
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x238]
call fcn.0042633e
test eax, eax
jne 0x431211
mov dword [ebp - 0x8c], 1
jmp 0x431218
and dword [ebp - 0x8c], 0
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0x14], al
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x108]
call fcn.004055b0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x4312b3
and dword [ebp - 0xd8], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x238]
call fcn.0042605e
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x198]
call fcn.004235b4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x204]
call fcn.00425937
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.004055b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.004055b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0xd8]
jmp 0x431522
lea ecx, [ebp - 0x68]
call fcn.004054e3
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x74]
call fcn.004054e3
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x238]
call fcn.0042615d
test eax, eax
je 0x431375
lea ecx, [ebp - 0x74]
call fcn.004085af
test eax, eax
jne 0x4312fa
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x74]
call fcn.00405662
push 6
push str.mgate:
lea ecx, [ebp - 0x68]
call fcn.00405b2a
push eax
call fcn.004b08c0
add esp, 0xc
test eax, eax
jne 0x431370
push 0
push 6
push 0
lea ecx, [ebp - 0x68]
call fcn.004088c2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406cbb
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0x1e
push dword [ebp - 0xd0]
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1bc]
call fcn.004055b0
lea ecx, [ebp - 0x74]
call fcn.00406f8f
jmp 0x431375
jmp 0x4312cb
lea ecx, [ebp - 0x74]
call fcn.004085af
test eax, eax
je 0x4313c3
lea eax, [ebp - 0x1aa]
push eax
lea ecx, [ebp - 0x74]
call fcn.00406cbb
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x1f
push dword [ebp - 0x9c]
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1aa]
call fcn.004055b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x74]
call fcn.004055b0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x68]
call fcn.004055b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x238]
call fcn.0042605e
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x198]
call fcn.004235b4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x204]
call fcn.00425937
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.004055b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.004055b0
push str.GatewayPort
lea ecx, [ebp - 0x11a]
call fcn.004053d4
mov byte [ebp - 4], 0x20
push 0
push 0
push 1
push 0x1e6e
lea eax, [ebp - 0x11a]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e447
add esp, 0x18
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x11a]
call fcn.004055b0
mov dword [ebp - 0x98], 0x10
push 0x4ddff8
lea ecx, [ebp - 0x12c]
call fcn.004053d4
mov byte [ebp - 4], 0x21
push 0
push 0
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e353
add esp, 0x18
test eax, eax
jne 0x4314b5
mov dword [ebp - 0x94], 1
jmp 0x4314bc
and dword [ebp - 0x94], 0
mov al, byte [ebp - 0x94]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x12c]
call fcn.004055b0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4314ee
push 0x10
push str.Aa21T
push dword [ebp + 0x14]
call fcn.004ae720
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004055b0
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c