Function at 0x4e4e50
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b517
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53c074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
cmp dword [eax], 0
je 0x4e4e92
cmp dword [eax + 4], 0
je 0x4e4e92
mov al, 1
jmp 0x4e4e94
xor al, al
test al, al
jne 0x4e4eaf
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
call fcn.004c3728
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [eax], ecx
lea ebx, [eax + 4]
xor edi, edi
nop dword [eax]
push 0x88
call fcn.004c3728
mov edx, dword [0x5459f4]
mov esi, eax
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], eax
mov dword [ebx], esi
test edx, edx
jne 0x4e4f0c
call fcn.004ab930
test eax, eax
je 0x4e4efd
xor edx, edx
jmp 0x4e4f0c
mov dword [0x5459f4], 0x5459f8
mov edx, 0x5459f8
mov dword [esi + 4], edx
lea ecx, [esi + 0x10]
mov dword [esi + 8], 0x10
lea eax, [edx + 8]
mov dword [esi + 0x2c], 8
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x14], eax
push ecx
push dword [edi + 0x52c31c]
mov dword [eax], ecx
mov dword [edx + 0xc], ecx
mov ecx, esi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x84], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x4c], 0x11
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], esi
call fcn.004b1610
add edi, 4
add esp, 8
add ebx, 4
cmp edi, 0xc
jb 0x4e4ed0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov al, byte [eax + 0x14]
test al, al
je 0x4e4fc9
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4e4fb4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e4fc9
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov al, byte [eax + 0x78]
mov byte [0x53ca65], al
test al, al
je 0x4e4fed
call fcn.0050bfe0
test eax, eax
je 0x4e4fed
or dword [0x545728], 1
mov ecx, dword [ebx + 0xc]
call fcn.004f5c10
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov al, byte [eax + 0x15]
test al, al
je 0x4e50bf
cmp dword [0x545724], 0
jne 0x4e5096
push 0x24
call fcn.004c3728
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
push 0x304
mov dword [0x545724], esi
call fcn.004c3728
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.BasicLog.0
call fcn.00401f80
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x4e508a
mov dword [ecx], esi
add dword [eax + 4], 4
jmp 0x4e5096
lea edx, [ebp - 0x14]
push edx
push ecx
mov ecx, eax
call fcn.00405630
push 0x52c1b0
push 2
push dword [0x545724]
call fcn.004eca30
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x240
call fcn.004c3728
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.005173a0
mov dword [ebp - 4], 0xffffffff
push 0x70
mov dword [0x545804], eax
call fcn.004c3728
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x44]
mov dl, byte [ecx + 0x12]
mov al, byte [ecx + 0x11]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x14], ecx
mov byte [esi], 1
mov byte [esi + 1], al
mov byte [esi + 2], dl
test edi, edi
je 0x4e5132
push edi
call fcn.004d53f1
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x4e5134
xor eax, eax
mov edx, dword [0x5459f4]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
test edx, edx
jne 0x4e5167
call fcn.004ab930
test eax, eax
je 0x4e5158
xor edx, edx
jmp 0x4e5167
mov dword [0x5459f4], 0x5459f8
mov edx, 0x5459f8
mov dword [esi + 0x14], edx
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], 0xd
lea eax, [edx + 8]
mov dword [esi + 0x3c], 8
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
mov dword [edx + 0xc], ecx
mov ecx, esi
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x10], esi
mov dword [ebx + 0x10], esi
call fcn.00517a00
mov ecx, dword [ebx + 0xc]
call fcn.0050a9b0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x5459f4]
test ecx, ecx
jne 0x4e51fa
call fcn.004ab930
test eax, eax
je 0x4e51eb
xor ecx, ecx
jmp 0x4e51fa
mov dword [0x5459f4], 0x5459f8
mov ecx, 0x5459f8
call fcn.004abed0
mov ecx, dword [0x5459f4]
mov esi, eax
test ecx, ecx
jne 0x4e5227
call fcn.004ab930
test eax, eax
je 0x4e5218
xor ecx, ecx
jmp 0x4e5227
mov dword [0x5459f4], 0x5459f8
mov ecx, 0x5459f8
call fcn.004aacc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret