Function at 0x100056b0
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026ae5
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
mov dword [ebp - 0x2c], 0
mov ecx, edx
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005700
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.100063e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
mov eax, dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x12c], ecx
cmp eax, 0xf
jb 0x100057d0
add eax, 0xfffffff2
add eax, ecx
mov dword [ebp - 0x134], eax
sub eax, ecx
push eax
push 0x2d
push ecx
call fcn.10011290
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100057d0
nop word [eax + eax]
mov edx, edi
mov ecx, str.__proxy_server
mov esi, 0xb
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10005781
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10005770
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100057a8
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x100057a8
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x100057a8
cmp esi, 0xffffffff
je 0x100057a4
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x100057a8
xor eax, eax
jmp 0x100057ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000583b
mov eax, dword [ebp - 0x134]
inc edi
sub eax, edi
push eax
push 0x2d
push edi
call fcn.10011290
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10005760
push str..proxy.ini
push 0x200
push 0x10033ae8
push 0x1002f198
push str.Proxy
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
setne byte [0x10033ac8]
mov ecx, dword [ebp - 0x28]
movzx esi, byte [0x10033ac8]
cmp ecx, 0xf
jbe 0x10005c9f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005c95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005cbc
jmp 0x10005c95
sub edi, dword [ebp - 0x12c]
cmp edi, 0xffffffff
je 0x100057d0
push 0x2f
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str..__proxy_server_1_2__.__s____s0_1_._
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.100063e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x12c], eax
push 1
mov byte [ebp - 4], 2
call fcn.1000e0bf
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10006680
mov byte [ebp - 4], 4
lea esi, [ebp - 0x54]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmp ecx, 0xf
push ecx
cmova esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
cmova edx, dword [ebp - 0x54]
add eax, esi
push eax
push edx
call fcn.100068b0
push 0x38
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.1000f540
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
add esp, 0xc
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x24]
add esi, edx
cmp dword [ebp - 0x28], 0xf
cmova eax, dword [ebp - 0x3c]
mov dword [ebp - 0x12c], eax
test edi, edi
je 0x10005c01
push 0x80
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.1000f540
mov eax, dword [edi + 0x14]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x1c]
add esp, 0xc
movups xmmword [ebp - 0x10c], xmm0
movups xmmword [ebp - 0xfc], xmm0
movups xmmword [ebp - 0xec], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xa4], ecx
mov al, byte [edi + 8]
shr al, 3
and al, 1
mov byte [ebp - 0xa0], al
lea eax, [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10005a21
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.10008670
push ecx
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x10c]
call fcn.100071e0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xcc]
mov byte [ebp - 0x125], al
test edx, edx
je 0x10005a9d
mov ecx, dword [ebp - 0xc4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10005a75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005cc1
push ecx
push edx
call fcn.1000ce77
add esp, 8
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xec]
call fcn.10006bc0
lea ecx, [ebp - 0x10c]
call fcn.10006bc0
cmp byte [ebp - 0x125], 0
je 0x10005c01
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jne 0x10005c01
cmp byte [esi + 0x20], 0
je 0x10005af4
mov edx, dword [esi + 0x1c]
mov ecx, edx
mov eax, dword [esi + 0x18]
jmp 0x10005afa
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x13c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x14c], xmm0
cmp eax, edx
jne 0x10005b39
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
jmp 0x10005b48
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.100063e0
lea edx, [ebp - 0x14c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x124]
call fcn.100054b0
mov ecx, dword [ebp - 0x138]
cmp ecx, 0xf
jbe 0x10005b97
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005b8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005cc6
push ecx
push edx
call fcn.1000ce77
add esp, 8
mov edi, dword [ebp - 0x110]
lea ecx, [ebp - 0x124]
mov esi, dword [ebp - 0x124]
cmp edi, 7
mov eax, dword [ebp - 0x114]
cmova ecx, esi
add eax, eax
push eax
push ecx
push 0x10033ae8
call fcn.1000f6a0
add esp, 0xc
mov byte [0x10033ac8], 1
cmp edi, 7
jbe 0x10005c01
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10005bf7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005ccb
push ecx
push esi
call fcn.1000ce77
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.10005f30
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10005c3b
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x10005c3b
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10005c3b
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x10005c24
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x10005c5c
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10005c5c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x100057fd
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005c86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005ccb
push ecx
push edx
call fcn.1000ce77
add esp, 8
jmp 0x100057fd
push ecx
push edx
call fcn.1000ce77
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret
call fcn.10014c66
call fcn.10014c66
call fcn.10014c66
call fcn.10014c66
int3