Function at 0x4cf5f0
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.0044c960
mov byte [esp + 0xb], al
test esi, esi
jne 0x4cf625
mov dword [esp + 0x14], 0
xor eax, eax
jmp 0x4cf62f
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.00466670
add esp, 4
lea eax, [esp + 0xb]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.00466670
add esp, 4
push esi
call fcn.00466670
add esp, 4
lea eax, [ebp + 0xc]
push eax
call fcn.00466670
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.004cfaa0
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.00466670
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x4c]
push eax
call fcn.00466670
add esp, 4
push esi
call fcn.00466670
add esp, 4
push ebx
call fcn.00466670
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.004cfaf0
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 0x4cf7c4
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.00466670
add esp, 4
lea eax, [esp + 0x48]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x40]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x3c]
push eax
call fcn.00466670
add esp, 4
push esi
call fcn.00466670
add esp, 4
push edi
call fcn.00466670
add esp, 4
push ebx
call fcn.00466670
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.00466670
add esp, 4
mov ecx, dword [esp + 0x24]
call fcn.004d0660
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.004d0670
mov ecx, esi
call fcn.004d06a0
mov ecx, esi
call fcn.004d06c0
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
lea edi, [esp + 0x78]
mov dword [edi], eax
push edi
call fcn.00466670
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 0x4cfa95
mov eax, dword [esp + 0x54]
mov ecx, eax
neg ecx
cmovl ecx, eax
imul ecx, dword [esp + 0x14]
cmp ecx, 0x65
jl 0x4cf922
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004d06e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
call fcn.004d0750
mov edi, eax
xor esi, esi
lea eax, [esp + 0x70]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x2c]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x6c]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x68]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x64]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x28]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x60]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea eax, [esp + 0x5c]
mov dword [eax], esi
push eax
call fcn.00466670
add esp, 4
lea ebx, [esp + 0xf0]
push 0x22c
push esi
push ebx
call fcn.0048ef90
add esp, 0xc
mov ecx, edi
mov edx, ebx
call fcn.004d0770
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.0046db00
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x4cfa30
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 2
jb 0x4cfa1c
call fcn.0046eab0
push dword [esp + 0xc]
call fcn.00471760
add esp, 4
lea eax, [esp + 0xf0]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4cf9cc
jmp 0x4cfa8b
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 0x4cfa01
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 0x4cfa01
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
int3
int3