Function at 0x409fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e602e
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x50a0b0]
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 ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], eax
call fcn.00402bb0
mov dword [ebp - 0x1d8], 0x4e9d64
mov dword [ebp - 0x1c8], 0x4e9d6c
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x128], 1
call fcn.00402540
mov eax, dword [ebp - 0x1d8]
push 8
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1dc], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004bf48c
mov esi, eax
add esp, 4
test esi, esi
je 0x40a0c1
push 1
mov byte [ebp - 4], 4
call fcn.004ab9a9
add esp, 4
mov dword [esi + 4], eax
jmp 0x40a0c3
xor esi, esi
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
push str.username
mov ecx, ebx
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
push str.proxy_username
mov ecx, ebx
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
call fcn.00406380
add esp, 4
test eax, eax
jns 0x40a1c3
or esi, 0xffffffff
jmp 0x40a75e
push str.ActiveBackupforBusinessAgentINFO
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00401a50
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 8
jb 0x40a1ec
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040e0e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.00403880
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push 0x4e9dd8
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.004c91bf
mov edi, eax
add esp, 8
mov dword [ebp - 0x124], edi
test edi, edi
jne 0x40a24b
or esi, 0xffffffff
jmp 0x40a709
push 0xffffffffffffffff
push 0x4e9ca0
lea ecx, [ebp - 0x40]
call fcn.0040d7c0
cmp eax, 0xffffffff
je 0x40a3c1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407220
mov edi, dword [ebp - 0x48]
add esp, 8
test edi, edi
je 0x40a383
lea esi, [edi + 2]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x128], 7
cmp esi, 0xf
jbe 0x40a302
cmp esi, 0x7fffffff
ja 0x40a860
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x40a2da
mov esi, SysReAllocString
jmp 0x40a2e4
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040af80
mov cl, byte [ebp - 0x28]
mov dword [ebp - 0x14], esi
mov byte [eax], cl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edi
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b190
push 2
push 0x4e9ddc
lea ecx, [ebp - 0x28]
call fcn.0040b190
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00401710
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00404110
lea ecx, [ebp - 0x70]
call fcn.00403830
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x40a383
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a379
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a865
push edx
push ecx
call fcn.004bf4bc
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x40a3bb
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86f
push edx
push ecx
call fcn.004bf4bc
add esp, 8
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
push str.proxy_domain
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
lea ecx, [ebp - 0x70]
mov esi, dword [eax + 0x10]
call fcn.00403830
test esi, esi
je 0x40a4dd
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
push str.proxy_domain
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
push 2
push 0x4e9ddc
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040b190
mov edx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00401710
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.00404110
lea ecx, [ebp - 0x70]
call fcn.00403830
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x40a4bf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86a
push edx
push ecx
call fcn.004bf4bc
add esp, 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xa
call fcn.00403830
lea eax, [ebp - 0x1c8]
push str._CONNECTION__n
push eax
call fcn.004010f0
add esp, 8
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
push str.address
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
mov esi, eax
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 0xf
push str.ADDRESS
push eax
call fcn.004010f0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x40a52c
mov ecx, dword [esi]
push 0x4e9e00
push dword [esi + 0x10]
push ecx
push eax
call fcn.00401f80
add esp, 0xc
push eax
call fcn.004010f0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00403830
lea eax, [ebp - 0x1c8]
push str.ACCOUNT
push eax
call fcn.004010f0
add esp, 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
push 0x4e9e00
push dword [ebp - 0x30]
push ecx
push eax
call fcn.00401f80
add esp, 0xc
push eax
call fcn.004010f0
lea eax, [ebp - 0x1c8]
push str._PROXY__n
push eax
call fcn.004010f0
add esp, 0x10
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
push str.proxy_ip
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
mov esi, eax
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 0x10
push str.ADDRESS
push eax
call fcn.004010f0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x40a5d9
mov ecx, dword [esi]
push 0x4e9e00
push dword [esi + 0x10]
push ecx
push eax
call fcn.00401f80
add esp, 0xc
push eax
call fcn.004010f0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00403830
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
push str.proxy_port
call fcn.004a2100
mov ecx, eax
call fcn.004a2e90
mov esi, eax
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 0x11
push str.PORT
push eax
call fcn.004010f0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x40a63b
mov ecx, dword [esi]
push 0x4e9e00
push dword [esi + 0x10]
push ecx
push eax
call fcn.00401f80
add esp, 0xc
push eax
call fcn.004010f0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00403830
lea eax, [ebp - 0x1c8]
push str.ACCOUNT
push eax
call fcn.004010f0
add esp, 8
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
cmovae ecx, dword [ebp - 0x88]
push 0x4e9e00
push dword [ebp - 0x78]
push ecx
push eax
call fcn.00401f80
add esp, 0xc
push eax
call fcn.004010f0
lea eax, [ebp - 0x1c8]
push str.PASSWORD_n
push eax
call fcn.004010f0
add esp, 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x1d8]
push eax
call fcn.0040deb0
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0040deb0
cmp dword [eax + 0x14], 0x10
jb 0x40a6df
mov eax, dword [eax]
push edi
push dword [esi + 0x10]
push 1
push eax
call fcn.004c93f5
add esp, 0x10
lea ecx, [ebp - 0x70]
call fcn.00403830
lea ecx, [ebp - 0x58]
call fcn.00403830
push edi
call fcn.004c9084
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x40a743
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86f
push edx
push ecx
call fcn.004bf4bc
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x40a795
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a78b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86f
push edx
push ecx
call fcn.004bf4bc
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x40a7de
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86f
push edx
push ecx
call fcn.004bf4bc
add esp, 8
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00404280
lea ecx, [ebp - 0x120]
call fcn.00403ba0
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40a842
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a838
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86f
push edx
push ecx
call fcn.004bf4bc
add esp, 8
mov eax, esi
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.004bf929
mov esp, ebp
pop ebp
ret
call fcn.0040af60
call fcn.004c4cda
call fcn.004c4cda
call fcn.004c4cda
int3