Function at 0x468450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4cc854]
push ebx
push esi
mov dword [esp + 0xc], eax
add ecx, 0x158c
mov dword [esp + 0x38], 0
push ecx
lea ecx, [esp + 0x10]
call fcn.0048c53c
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x4684cb
push 0x4c2288
lea ecx, [esp + 0x10]
call fcn.0048c7df
push str.ZRECConfig.ini
lea ecx, [esp + 0x10]
call fcn.0048c7df
lea ecx, [esp + 0x20]
call fcn.00490080
mov edx, dword [esp + 0xc]
push 0
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.00490192
test eax, eax
je 0x468712
push edi
lea ecx, [esp + 0x24]
call fcn.0049048c
inc eax
push eax
call fcn.0048c144
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.0049048c
mov ecx, eax
xor eax, eax
inc ecx
mov edi, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x24]
call fcn.0049048c
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004902af
push esi
lea ecx, [esp + 0x10]
call fcn.0048c471
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
mov edi, dword [eax - 8]
call fcn.0049048c
cmp edi, eax
pop edi
jne 0x468704
lea ecx, [esp + 0x20]
call fcn.004903ad
push esi
call fcn.0048c16d
mov ecx, dword [0x4cc854]
add esp, 4
mov dword [esp + 0x14], ecx
push str._IP_
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call fcn.0048a476
test eax, eax
jl 0x4686f6
push str.__IP_
lea ecx, [esp + 0xc]
call fcn.0048a476
test eax, eax
jl 0x4686f6
push str.__IP_
lea ecx, [esp + 0xc]
call fcn.0048a476
push str._IP_
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0048a476
sub esi, eax
cmp esi, 4
jl 0x4686f6
mov edx, dword [0x4cc854]
mov dword [esp + 0x10], edx
push str._IP_
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 4
call fcn.0048a476
mov esi, 0xfffffffc
push str.__IP_
lea ecx, [esp + 0xc]
sub esi, eax
call fcn.0048a476
add esi, eax
lea ecx, [esp + 8]
push esi
push str._IP_
call fcn.0048a476
add eax, 4
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0048a2ca
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.0048c403
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0048a3dc
mov eax, dword [eax]
push 0x4c5168
push eax
mov byte [esp + 0x40], 6
call fcn.0047514f
add esp, 8
test eax, eax
je 0x4686b4
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c5168
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.0048c403
test bl, bl
je 0x4686b6
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 4
call fcn.0048c403
test bl, bl
jne 0x4686e8
mov ecx, dword [esp + 0x10]
xor esi, esi
xor eax, eax
mov edx, dword [ecx - 8]
test edx, edx
jle 0x4686e8
cmp byte [eax + ecx], 0x2e
jne 0x4686de
inc esi
inc eax
cmp eax, edx
jl 0x4686d7
cmp esi, 3
je 0x468746
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.0048c403
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004900d5
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048c403
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
or esi, 0xffffffff
cmp eax, esi
jne 0x4687ae
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.0048c403
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004900d5
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], esi
call fcn.0048c403
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.0048c53c
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.0048c403
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004900d5
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], esi
call fcn.0048c403
mov ecx, dword [esp + 0x30]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4