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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d5c3
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
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.0045e425
push ecx
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x13c], esi
call fcn.0045e425
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.0045e4a0
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 0x45da21
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 0x45d9ff
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.00448333
mov ecx, dword [edi + 0x24]
push eax
call fcn.00445130
mov ecx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x45da91
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.00448333
mov ecx, dword [edi + 0x24]
push eax
call fcn.00444efd
mov ecx, eax
mov eax, dword [esp + 0x10]
inc dword [edi + 0x98]
test ecx, ecx
jne 0x45dcab
test eax, eax
jle 0x45dcab
inc dword [edi + 0x9c]
call fcn.0053bc30
test eax, eax
jg 0x45db7c
call fcn.0053f520
test eax, eax
je 0x45daea
call fcn.0053f520
push eax
lea ecx, [esp + 0xfc]
call fcn.00401c4a
mov dword [esp + 0x14], eax
push 2
xor edi, edi
pop eax
inc edi
mov byte [esp + 0x138], al
mov ebx, edi
jmp 0x45db17
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.005406e0
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.0053b1b0
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 0x5805d4
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
push eax
call fcn.0042dd8b
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
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 0x45db7f
xor edi, edi
inc edi
mov dword [esp + 0x138], 3
test bl, 4
je 0x45db9f
and ebx, 0xfffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.0053b3a0
test bl, 2
je 0x45dbb5
push esi
push edi
lea ecx, [esp + 0x118]
and ebx, 0xfffffffd
call fcn.00401d3f
mov dword [esp + 0x138], edi
test bl, 1
je 0x45dbd3
xor ebx, ebx
lea ecx, [esp + 0xf8]
push ebx
push edi
call fcn.00401d3f
jmp 0x45dbd5
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 0x45ddab
mov eax, dword [esp + 0x2c]
mov ecx, 0x91
movzx eax, word [eax]
mov word [esi + 4], ax
cmp cx, ax
je 0x45dda7
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.0045e4a0
push 2
pop eax
cmp dword [esi], eax
jle 0x45dca3
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 0x45dca3
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 0x45dc92
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 0x45dc33
xor eax, eax
inc eax
jmp 0x45dda9
call fcn.0053bc30
test eax, eax
jg 0x45dd5b
call fcn.0053f520
test eax, eax
je 0x45dce1
call fcn.0053f520
push eax
lea ecx, [esp + 0x114]
call fcn.00401c4a
mov edi, eax
mov byte [esp + 0x138], 5
push 8
jmp 0x45dd06
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.005406e0
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.0053b1b0
push str.obtain_client_proxy_failed_
push ecx
push 0x5805d4
push ecx
add eax, 8
mov dword [esp + 0x148], 7
push edi
or ebx, 0x20
push eax
mov dword [esp + 0x30], ebx
call fcn.0042dd8b
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
pop ecx
pop ecx
mov dword [esp + 0x138], 6
test bl, 0x20
je 0x45dd7b
and ebx, 0xffffffdf
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.0053b3a0
xor edi, edi
inc edi
test bl, 0x10
je 0x45dd94
push esi
push edi
lea ecx, [esp + 0x100]
and ebx, 0xffffffef
call fcn.00401d3f
test bl, 8
je 0x45dda7
push esi
push edi
lea ecx, [esp + 0x118]
call fcn.00401d3f
xor al, al
mov bl, al
lea ecx, [esp + 0x2c]
call fcn.00408f76
lea ecx, [esp + 0x38]
call fcn.00408f76
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.0055daac
mov esp, ebp
pop ebp
ret 8