Function at 0x45ccad
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56fb07
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.0045d7aa
push ecx
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x13c], esi
call fcn.0045d7aa
mov ecx, dword [esp + 0x20]
xor eax, eax
mov byte [esp + 0x138], 1
push eax
mov dword [ecx], eax
add ecx, 8
mov dword [esp + 0x2c], ecx
call fcn.0045d825
mov ecx, dword [esp + 0x38]
mov eax, 0x89
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], 8
mov word [ecx], ax
mov ax, word [edx]
mov word [ecx + 2], ax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, esi
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
je 0x45cd9e
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + 8]
inc ebx
mov al, byte [ecx + eax]
mov byte [edi + ecx + 8], al
inc ecx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
cmp ecx, eax
jb 0x45cd7c
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x8000
push eax
push dword [esp + 0x34]
push dword [esp + 0x20]
push dword [esp + 0x48]
push ecx
mov ecx, dword [edi + 0x24]
call fcn.004476bb
mov ecx, dword [edi + 0x24]
push eax
call fcn.0044449b
mov ecx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x45ce0e
mov ecx, dword [edi + 0x24]
lea eax, [esp + 0x10]
push 0x1388
push eax
push dword [esp + 0x34]
mov dword [esp + 0x1c], 0x8000
push dword [esp + 0x20]
push dword [esp + 0x48]
push 0x89
call fcn.004476bb
mov ecx, dword [edi + 0x24]
push eax
call fcn.00444268
mov ecx, eax
mov eax, dword [esp + 0x10]
inc dword [edi + 0x98]
test ecx, ecx
jne 0x45d028
test eax, eax
jle 0x45d028
inc dword [edi + 0x9c]
call fcn.0053e160
test eax, eax
jg 0x45cef9
call fcn.00541a50
test eax, eax
je 0x45ce67
call fcn.00541a50
push eax
lea ecx, [esp + 0xfc]
call fcn.00401bca
mov dword [esp + 0x14], eax
push 2
xor edi, edi
pop eax
inc edi
mov byte [esp + 0x138], al
mov ebx, edi
jmp 0x45ce94
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.00542c10
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push 2
pop eax
xor edi, edi
mov dword [esp + 0x138], 3
mov ebx, eax
inc edi
push esi
push 0x28e
push str.ipproxy.cpp
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], ebx
call fcn.0053d6e0
push 4
pop ecx
mov dword [esp + 0x138], ecx
add eax, 8
push dword [esp + 0x10]
or ebx, ecx
push ecx
push str.obtain_client_proxy_successed__length:
push ecx
push 0x584598
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
push eax
call fcn.0042cfb7
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
jmp 0x45cefc
xor edi, edi
inc edi
mov dword [esp + 0x138], 3
test bl, 4
je 0x45cf1c
and ebx, 0xfffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.0053d8d0
test bl, 2
je 0x45cf32
push esi
push edi
lea ecx, [esp + 0x118]
and ebx, 0xfffffffd
call fcn.00401cbf
mov dword [esp + 0x138], edi
test bl, 1
je 0x45cf50
xor ebx, ebx
lea ecx, [esp + 0xf8]
push ebx
push edi
call fcn.00401cbf
jmp 0x45cf52
xor ebx, ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push 2
pop edx
mov dword [esi], eax
cmp eax, edx
jl 0x45d128
mov eax, dword [esp + 0x2c]
mov ecx, 0x91
movzx eax, word [eax]
mov word [esi + 4], ax
cmp cx, ax
je 0x45d124
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
lea ecx, [esi + 8]
push eax
call fcn.0045d825
push 2
pop eax
cmp dword [esi], eax
jle 0x45d020
mov ecx, dword [esp + 0x28]
mov edi, ebx
mov dword [esp + 0x1c], 0xc
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
jae 0x45d020
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push 2
mov eax, dword [eax + edx]
add edx, 4
mov dword [edi + ecx + 4], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx]
mov ax, word [eax + edx]
mov word [edi + ecx + 8], ax
mov ecx, dword [esp + 0x2c]
pop eax
add edx, eax
push 2
mov eax, dword [ecx]
pop esi
mov dword [esp + 0x10], edx
mov word [edi + eax], si
mov eax, dword [ecx]
mov esi, dword [esp + 0x24]
cmp dword [edi + eax + 4], ebx
jne 0x45d00f
inc dword [esi + 0xac]
inc dword [esp + 0x14]
push 0xc
pop eax
add edi, eax
mov eax, dword [esp + 0x20]
cmp edx, dword [eax]
jl 0x45cfb0
xor eax, eax
inc eax
jmp 0x45d126
call fcn.0053e160
test eax, eax
jg 0x45d0d8
call fcn.00541a50
test eax, eax
je 0x45d05e
call fcn.00541a50
push eax
lea ecx, [esp + 0x114]
call fcn.00401bca
mov edi, eax
mov byte [esp + 0x138], 5
push 8
jmp 0x45d083
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.00542c10
pop ecx
pop ecx
mov edi, eax
mov dword [esp + 0x138], 6
push 0x10
pop ebx
push esi
push 0x293
push str.ipproxy.cpp
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], ebx
call fcn.0053d6e0
push str.obtain_client_proxy_failed_
push ecx
push 0x584598
push ecx
add eax, 8
mov dword [esp + 0x148], 7
push edi
or ebx, 0x20
push eax
mov dword [esp + 0x30], ebx
call fcn.0042cfb7
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov dword [esp + 0x138], 6
test bl, 0x20
je 0x45d0f8
and ebx, 0xffffffdf
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.0053d8d0
xor edi, edi
inc edi
test bl, 0x10
je 0x45d111
push esi
push edi
lea ecx, [esp + 0x100]
and ebx, 0xffffffef
call fcn.00401cbf
test bl, 8
je 0x45d124
push esi
push edi
lea ecx, [esp + 0x118]
call fcn.00401cbf
xor al, al
mov bl, al
lea ecx, [esp + 0x2c]
call fcn.00408df6
lea ecx, [esp + 0x38]
call fcn.00408df6
mov al, bl
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0055fedc
mov esp, ebp
pop ebp
ret 8