Function at 0x50e5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x576e32
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
xor ebx, ebx
push 0xa0
lea eax, [esp + 0x34]
push ebx
push eax
mov edi, ecx
mov esi, edx
mov dword [esp + 0x38], ebx
call sub.MSVCR80.dll_memset
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0xdc], ebx
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xdc], 1
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov byte [esp + 0xdc], 2
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xdc], 3
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xe0], 4
call fcn.0051a800
lea edx, [esp + 0x30]
mov byte [esp + 0xe0], 5
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0050f6b0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005161e0
add esp, 0x10
test eax, eax
jne 0x50e813
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x38]
call fcn.005162f0
mov esi, dword [esp + 0x24]
add esp, 0x10
mov ecx, str.192.168.191.1
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x50e71d
test dx, dx
je 0x50e719
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x50e71d
add eax, 4
add ecx, 4
test dx, dx
jne 0x50e6f7
xor eax, eax
jmp 0x50e722
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x50e80b
lea eax, [esp + 0x14]
push eax
mov ecx, str.192.168.155.1
call fcn.004120d0
test eax, eax
je 0x50e80b
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5a9338
call fcn.004120d0
test eax, eax
je 0x50e80b
test byte [esp + 0x2c], 1
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x54], 0
jne 0x50e7ac
lea edx, [esp + 0x30]
push edx
push esi
mov esi, dword [sym.imp.MSVCR80.dll__wcsicmp]
call esi
add esp, 8
test eax, eax
jne 0x50e7a8
lea eax, [esp + 0x70]
push eax
push ebx
call esi
add esp, 8
test eax, eax
jne 0x50e7a8
lea ecx, [esp + 0x90]
push ecx
push ebp
call esi
add esp, 8
test eax, eax
je 0x50e833
mov esi, dword [esp + 0x14]
push 0xa4
lea edx, [esp + 0x30]
push 0
push edx
call sub.MSVCR80.dll_memset
push 0xf
push esi
mov esi, dword [sym.imp.MSVCR80.dll_wcsncpy]
lea eax, [esp + 0x44]
push eax
call esi
mov ecx, dword [esp + 0x3c]
push 0xf
push ecx
lea edx, [esp + 0x70]
push edx
call esi
push 0xf
lea eax, [esp + 0x98]
push ebx
push eax
call esi
push 0xf
lea ecx, [esp + 0xc4]
push ebp
push ecx
call esi
mov edx, dword [esp + 0x5c]
push 0xf
push edx
lea eax, [esp + 0xf4]
push eax
call esi
add esp, 0x48
jmp 0x50e833
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
push 0xa4
lea ecx, [esp + 0x30]
push 0
mov esi, 1
push ecx
mov dword [edi + 0x54], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
or dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0050f640
add edi, 0x6c
mov ecx, 0x29
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xe4], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e87b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e8a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0xdc], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e8c8
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add ebx, 0xfffffff0
mov byte [esp + 0xdc], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50e8ec
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0xdc], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e914
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e93f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.00569ed6
add esp, 0xcc
ret