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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55eeb7
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x5b31c8]
xor eax, esp
push eax
lea eax, [esp + 0x138]
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 + 0x20], ecx
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00461ae3
push ecx
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x144], esi
call fcn.00461ae3
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov byte [esp + 0x140], 1
push eax
mov dword [ecx], eax
add ecx, 8
mov dword [esp + 0x2c], ecx
call fcn.00461b5e
mov ecx, dword [esp + 0x40]
mov eax, 0x89
mov edx, dword [esp + 0x20]
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 0x461065
mov edi, dword [esp + 0x40]
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 0x461043
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x18], 0x8000
call fcn.0044d5a6
mov ecx, eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x30], eax
lea edi, [esp + 0x100]
xor eax, eax
stosd dword es:[edi], eax
push 0xffffffffffffffff
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x108]
mov edi, dword [esp + 0x38]
push eax
push 0x89
push ecx
mov ecx, edi
call fcn.0044d7fc
test al, al
jne 0x4610b5
push 5
xor edi, edi
pop ecx
inc edi
jmp 0x461151
cmp dword [edi + 8], esi
je 0x461106
mov ecx, edi
call fcn.0044ba67
push ecx
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x3c]
mov ecx, dword [edi + 8]
push dword [esp + 0x20]
push dword [esp + 0x50]
push edx
push eax
push dword [esp + 0x124]
lea eax, [esp + 0x120]
push eax
call fcn.0045becd
cmp eax, 0xffffffff
je 0x461106
cmp eax, 0xfffffffe
jne 0x4610fe
push 3
pop ecx
xor edi, edi
inc edi
jmp 0x46110b
test eax, eax
jle 0x461106
mov ecx, esi
jmp 0x4610f9
xor edi, edi
inc edi
mov ecx, edi
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x461155
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push 0x1388
push eax
push dword [esp + 0x3c]
mov ecx, dword [ecx + 0x24]
push dword [esp + 0x20]
mov dword [esp + 0x28], 0x8000
push dword [esp + 0x50]
push 0x89
call fcn.0044d5a6
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x24]
call fcn.0044a979
mov ecx, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
inc dword [edx + 0x98]
test ecx, ecx
jne 0x46135e
test eax, eax
jle 0x46135e
inc dword [edx + 0x9c]
call fcn.0052c840
test eax, eax
jg 0x46123c
call fcn.005334c0
test eax, eax
je 0x4611af
call fcn.005334c0
push eax
lea ecx, [esp + 0x11c]
call fcn.00401b61
mov dword [esp + 0x14], eax
push 2
pop eax
mov byte [esp + 0x140], al
mov ebx, edi
jmp 0x4611d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.005312f0
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push 2
pop eax
mov dword [esp + 0x140], 3
mov ebx, eax
push esi
push 0x28e
push str.ipproxy.cpp
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebx
call fcn.0052bdc0
push 4
pop ecx
mov dword [esp + 0x140], ecx
add eax, 8
push dword [esp + 0x18]
or ebx, ecx
push ecx
push str.obtain_client_proxy_successed__length:
push ecx
push 0x57dd08
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
push eax
call fcn.00434297
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
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_]
mov dword [esp + 0x140], 3
test bl, 4
je 0x46125c
and ebx, 0xfffffffb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebx
call fcn.0052bfb0
test bl, 2
je 0x461272
push esi
push edi
lea ecx, [esp + 0x108]
and ebx, 0xfffffffd
call fcn.00401c56
mov dword [esp + 0x140], edi
test bl, 1
je 0x461290
xor ebx, ebx
lea ecx, [esp + 0x118]
push ebx
push edi
call fcn.00401c56
jmp 0x461292
xor ebx, ebx
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push 2
pop edx
mov dword [edi], eax
cmp eax, edx
jl 0x461462
mov eax, dword [esp + 0x34]
mov ecx, 0x91
movzx eax, word [eax]
mov word [edi + 4], ax
cmp cx, ax
je 0x46145e
mov ecx, dword [esp + 0x20]
mov esi, edx
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00461b5e
push esi
pop eax
cmp dword [edi], eax
jle 0x461356
mov ecx, dword [esp + 0x28]
mov edi, ebx
mov dword [esp + 0x30], 0xc
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv dword [esp + 0x30]
cmp dword [esp + 0x14], eax
jae 0x461356
mov ecx, dword [ecx]
mov eax, dword [esp + 0x34]
push 2
mov eax, dword [eax + esi]
add esi, 4
mov dword [edi + ecx + 4], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx]
mov ax, word [eax + esi]
mov word [edi + ecx + 8], ax
mov ecx, dword [esp + 0x2c]
pop eax
add esi, eax
push 2
mov eax, dword [ecx]
pop edx
mov word [edi + eax], dx
mov eax, dword [ecx]
cmp dword [edi + eax + 4], ebx
jne 0x461345
mov eax, dword [esp + 0x24]
inc dword [eax + 0xac]
inc dword [esp + 0x14]
push 0xc
pop eax
add edi, eax
mov eax, dword [esp + 0x2c]
cmp esi, dword [eax]
jl 0x4612ee
xor eax, eax
inc eax
jmp 0x461460
call fcn.0052c840
test eax, eax
jg 0x461415
call fcn.005334c0
test eax, eax
je 0x461396
call fcn.005334c0
push eax
lea ecx, [esp + 0x104]
call fcn.00401b61
mov dword [esp + 0x20], eax
mov byte [esp + 0x140], 5
push 8
jmp 0x4613bd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.005312f0
pop ecx
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x140], 6
push 0x10
pop ebx
push esi
push 0x293
push str.ipproxy.cpp
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebx
call fcn.0052bdc0
push str.obtain_client_proxy_failed_
push ecx
push 0x57dd08
push ecx
push dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x154], 7
or ebx, 0x20
push eax
mov dword [esp + 0x34], ebx
call fcn.00434297
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
pop ecx
pop ecx
mov dword [esp + 0x140], 6
test bl, 0x20
je 0x461435
and ebx, 0xffffffdf
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebx
call fcn.0052bfb0
test bl, 0x10
je 0x46144b
push esi
push edi
lea ecx, [esp + 0x120]
and ebx, 0xffffffef
call fcn.00401c56
test bl, 8
je 0x46145e
push esi
push edi
lea ecx, [esp + 0x108]
call fcn.00401c56
xor al, al
mov bl, al
lea ecx, [esp + 0x34]
call fcn.00408eb1
lea ecx, [esp + 0x40]
call fcn.00408eb1
mov al, bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret 8