Function at 0x4d8ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x320
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x58], eax
call fcn.00451310
mov byte [esp + 0xb], al
test esi, esi
jne 0x4d9025
mov dword [esp + 0x14], 0
xor eax, eax
jmp 0x4d902f
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
lea esi, [esp + 0x54]
mov dword [esi], eax
lea eax, [esp + 0x58]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0xb]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.00466ab0
add esp, 4
push esi
call fcn.00466ab0
add esp, 4
lea eax, [ebp + 0xc]
push eax
call fcn.00466ab0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
xor ecx, ecx
inc ecx
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
push ecx
push eax
call edi
lea ecx, [esp + 0x50]
mov dword [ecx], eax
call fcn.004d94a0
lea ecx, [esp + 0x24]
mov dword [ecx], eax
call esi
push 2
push eax
call edi
lea ecx, [esp + 0x4c]
mov dword [ecx], eax
mov ebx, 0xfffffffe
push 0
push ebx
call edi
lea esi, [esp + 0x8c]
mov dword [esi], eax
xor eax, eax
inc eax
push eax
push ebx
call edi
lea ebx, [esp + 0x88]
mov dword [ebx], eax
lea eax, [esp + 0x24]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x4c]
push eax
call fcn.00466ab0
add esp, 4
push esi
call fcn.00466ab0
add esp, 4
push ebx
call fcn.00466ab0
add esp, 4
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x90]
movdqu xmmword [esi + 0x1c], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, esi
mov edx, eax
call fcn.004d94f0
mov al, byte [esi]
mov byte [esp + 0xa], al
mov dword [esp + 0x18], 0
mov edx, 0
mov esi, 0
mov ebx, 0
mov edi, 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
test al, al
mov eax, 0
je 0x4d91c4
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x20], edx
mov edx, esi
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
mov ecx, edi
lea edi, [esp + 0x48]
mov dword [edi], eax
lea eax, [esp + 0x44]
mov edi, dword [esp + 0x18]
mov dword [eax], edi
lea eax, [esp + 0x40]
mov dword [eax], edx
lea eax, [esp + 0x3c]
mov dword [eax], esi
lea esi, [esp + 0x84]
mov dword [esi], ebx
lea edi, [esp + 0x80]
mov dword [edi], ecx
lea ebx, [esp + 0x7c]
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [esp + 0xa]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x48]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x40]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x3c]
push eax
call fcn.00466ab0
add esp, 4
push esi
call fcn.00466ab0
add esp, 4
push edi
call fcn.00466ab0
add esp, 4
push ebx
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.00466ab0
add esp, 4
mov ecx, dword [esp + 0x24]
call fcn.004da0b0
lea esi, [esp + 0xc0]
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x1c], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ecx, esi
call fcn.004da0c0
mov ecx, esi
call fcn.004da0f0
mov ecx, esi
call fcn.004da110
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
lea edi, [esp + 0x78]
mov dword [edi], eax
push edi
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x74]
mov dword [eax], ebx
lea ecx, [ebp + 8]
push ebx
push dword [ebp + 0xc]
push eax
push ebx
push ecx
push dword [edi]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
push dword [edi]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
jne 0x4d9495
mov eax, dword [esp + 0x54]
mov ecx, eax
neg ecx
cmovs ecx, eax
imul ecx, dword [esp + 0x14]
cmp ecx, 0x65
jl 0x4d9322
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004da130
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
call fcn.004da1a0
mov edi, eax
xor esi, esi
lea eax, [esp + 0x70]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x2c]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x6c]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x68]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x64]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x28]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x60]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea eax, [esp + 0x5c]
mov dword [eax], esi
push eax
call fcn.00466ab0
add esp, 4
lea ebx, [esp + 0xf0]
push 0x22c
push esi
push ebx
call fcn.00497b10
add esp, 0xc
mov ecx, edi
mov edx, ebx
call fcn.004da1c0
mov dword [esp + 0xc], 0xffffffff
push dword [esp + 0xf8]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
push eax
call fcn.0046f070
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x4d9430
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 2
jb 0x4d941c
call fcn.00471300
push dword [esp + 0xc]
call fcn.00474440
add esp, 4
lea eax, [esp + 0xf0]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4d93cc
jmp 0x4d948b
push 0
push eax
mov esi, dword [sym.imp.USER32.dll_GetGuiResources]
call esi
mov ebx, eax
push 1
push dword [esp + 0x10]
call esi
xor esi, esi
inc dword [esp + 0x70]
add dword [esp + 0x68], eax
add dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
cmovl ecx, ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x108], ecx
jne 0x4d9401
inc dword [esp + 0x64]
add dword [esp + 0x5c], eax
add dword [esp + 0x60], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
cmovl eax, ebx
mov dword [esp + 0x28], eax
jmp 0x4d9401
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
int3
int3