Function at 0x4559f8
Capabilities:
Access peb ldr_data
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4bef4c
push ebx
lea ebx, [ebp + 8]
push esi
call fcn.0049af0c
mov word [ebp - 0x14], 8
mov edx, dword [ebx]
mov dword [edx], 0x4bfcac
cmp dword [0x4beefc], 0
jne 0x455a2e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00455cc4
pop ecx
mov eax, dword [ebx]
mov edx, dword [0x4bef04]
mov dword [eax + 4], edx
push 0
mov ecx, dword [0x4beef8]
push ecx
push 0
push 0
push 1
push 1
push 0x80000000
push 0x80000000
push 0x400000
push str.RWinSocket
push str.RSockWin
push 0
call sub.USER32.dll_CreateWindowExA
mov esi, eax
mov eax, dword [ebx]
mov dword [eax + 0x10], esi
push 0
push esi
call sub.USER32.dll_ShowWindow
inc dword [0x4bef04]
inc dword [0x4bef00]
mov edx, dword [ebx]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x2c]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
push 0
push edx
push 0x4d12ac
call fcn.00403998
add esp, 0xc
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x4c], eax
mov edx, dword [ebx]
mov dword [edx + 0x48], eax
mov ecx, dword [ebx]
mov dword [ecx + 0x44], 1
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0xffffffff
mov edx, dword [ebx]
mov dword [edx + 0x20], 0x78
mov ecx, dword [ebx]
mov dword [ecx + 0x24], 0x78
mov eax, dword [ebx]
mov dword [eax + 0x28], 0xffffffff
mov edx, dword [ebx]
mov dword [edx + 0x2c], 0x78
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x30], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x34], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x38], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x3c], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x40], ecx
mov eax, dword [ebx]
mov dword [eax + 8], 0xffffffff
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0xc], ecx
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x8c], ecx
mov eax, dword [ebx]
mov dword [eax + 0x88], ecx
mov eax, dword [ebx]
mov dword [eax + 0x102], ecx
mov eax, dword [ebx]
mov dword [eax + 0xd6], ecx
mov eax, dword [ebx]
mov dword [eax + 0xb2], ecx
mov eax, dword [ebx]
mov dword [eax + 0x78], ecx
mov edx, dword [ebx]
xor eax, eax
mov dword [edx + 0x106], eax
mov edx, dword [ebx]
mov dword [edx + 0xda], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x126], eax
mov edx, dword [ebx]
mov dword [edx + 0xf2], eax
mov ecx, dword [ebx]
mov eax, 0x1000
mov dword [ecx + 0x12e], eax
mov edx, dword [ebx]
mov dword [edx + 0xfa], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0xae], eax
mov edx, dword [ebx]
mov dword [edx + 0xba], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0xca], eax
mov edx, dword [ebx]
mov dword [edx + 0xc6], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x6c], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x64], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x74], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x54], eax
mov edx, dword [ebx]
mov dword [edx + 0x50], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret