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

Disassembly:
push 0xffffffffffffffff
push 0x5d63f4
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebx, dword [0x696980]
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
xor esi, esi
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x4c40e6
xor edi, edi
jmp 0x4c40b0
mov ecx, dword [0x696988]
add ecx, edi
push ebp
call fcn.00420870
test eax, eax
je 0x4c4182
mov edx, dword [0x696988]
push ebp
lea ecx, [edi + edx + 0x24]
call fcn.00420870
test eax, eax
je 0x4c4182
inc esi
add edi, 0x48
cmp esi, ebx
jb 0x4c40b0
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0x4a9330
call fcn.0046fe30
push 0x7f00
xor edi, edi
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ebx, dword [esp + 0xb8]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb4]
push ebx
inc edx
or eax, 0xb
push ebp
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
call fcn.004c35a0
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
mov dword [esp + 0xa4], edi
lea ebp, [edi + 8]
cmp dword [esp + 0x60], edi
je 0x4c41d0
cmp dword [esp + 0x64], ebp
jb 0x4c41ac
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
jmp 0x4c41b4
test byte [esp + 0xb8], 1
mov ecx, dword [0x696988]
lea eax, [esi + esi*8]
lea eax, [ecx + eax*8]
je 0x4c419b
add eax, 0x24
cmp dword [eax + 0x14], 8
jb 0x4c441f
mov eax, dword [eax]
jmp 0x4c441f
lea edx, [esp + 0x50]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x18]
push eax
call esi
test ax, ax
jne 0x4c41d0
lea ecx, [esp + 0x50]
call fcn.004c30b0
xor eax, eax
jmp 0x4c441f
and dword [esp + 0x18], 0xfffffffc
cmp dword [esp + 0x88], ebp
jb 0x4c41e8
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
jmp 0x4c41f0
lea edx, [esp + 0x74]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x18]
push eax
call esi
test ax, ax
jne 0x4c42dc
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x54]
call fcn.00406280
mov ecx, dword [eax]
cmp dword [ecx + 0x14], ebp
jb 0x4c4217
mov ecx, dword [ecx]
mov edx, dword [eax + 4]
lea esi, [ecx + edx*2]
call fcn.0046fe30
push eax
push esi
call dword [sym.imp.USER32.dll_UnregisterClassW]
cmp byte [esp + 0x48], 0
mov ebp, 7
je 0x4c4275
mov esi, dword [esp + 0x40]
cmp esi, edi
je 0x4c4275
mov eax, dword [esi + 0x1c]
push eax
call fcn.005844d1
mov ebx, 8
add esp, 4
cmp dword [esi + 0x14], ebx
jb 0x4c425f
mov ecx, dword [esi]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], edi
push esi
mov word [esi], dx
call fcn.00584768
add esp, 4
jmp 0x4c427a
mov ebx, 8
mov eax, dword [esp + 0x90]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x88], ebx
jb 0x4c42a0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x6c]
xor edx, edx
push eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
mov word [esp + 0x78], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x64], ebx
jb 0x4c42d5
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00584768
add esp, 4
xor eax, eax
jmp 0x4c441f
mov eax, dword [0x696980]
mov edx, dword [0x696984]
lea esi, [eax + 1]
cmp esi, edx
jbe 0x4c4323
mov ecx, eax
cmp eax, 0x10
ja 0x4c42fa
mov ecx, 0x10
add ecx, edx
cmp ecx, esi
jbe 0x4c4302
mov esi, ecx
mov edx, dword [0x696988]
push eax
push esi
push edx
call fcn.004c3e40
mov dword [0x696988], eax
mov eax, dword [0x696980]
add esp, 0xc
mov dword [0x696984], esi
mov edx, dword [0x696988]
lea ecx, [eax + eax*8]
lea esi, [edx + ecx*8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], esi
mov byte [esp + 0xa4], 1
mov ebp, 7
cmp esi, edi
je 0x4c4397
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
xor eax, eax
push ecx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], edi
mov ecx, esi
mov word [esi], ax
call fcn.00402610
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x7c]
xor edx, edx
mov dword [esi + 0x38], ebp
mov dword [esi + 0x34], edi
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0xb0], 2
mov word [esi + 0x24], dx
call fcn.00402610
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov eax, dword [0x696980]
mov edx, dword [0x696988]
inc eax
lea ecx, [eax + eax*8]
mov dword [0x696980], eax
lea eax, [edx + ecx*8 - 0x48]
test bl, 1
je 0x4c43b2
add eax, 0x24
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x4c43c0
mov esi, dword [eax]
jmp 0x4c43c2
mov esi, eax
mov eax, dword [esp + 0x90]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x88], ebx
jb 0x4c43e8
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x6c]
xor edx, edx
push eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
mov word [esp + 0x78], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x64], ebx
jb 0x4c441d
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00584768
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00585b7b
add esp, 0x94
ret