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

Disassembly:
push 0xffffffffffffffff
push 0x4f6bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
push eax
mov dword [esp + 0x88], esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004e6f81
mov edi, eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x58], edi
call fcn.004e6af3
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x8c]
push ecx
xor ebp, ebp
push edx
mov dword [esp + 0xdc], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp edi, ebp
jne 0x46ea79
xor eax, eax
jmp 0x46ea7c
mov eax, dword [edi + 4]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x7c]
call fcn.004e6f8f
mov esi, dword [esp + 0xe0]
mov ecx, esi
call fcn.004e72e3
mov edi, dword [esp + 0xe4]
cmp edi, ebp
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
je 0x46eab4
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46eab8
xor ecx, ecx
jmp 0x46eae0
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], ecx
push 0x18
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], ecx
call ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push ecx
sub eax, edx
push eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.004e728c
cmp esi, ebp
jne 0x46eb10
xor esi, esi
jmp 0x46eb13
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x7c]
push esi
push edx
call fcn.004e7315
cmp edi, ebp
mov dword [esp + 0x8c], eax
je 0x46eb30
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46eb34
xor eax, eax
jmp 0x46eb5c
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], ecx
push 0x18
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
jmp 0x46eb70
mov eax, dword [esp + 0xec]
cmp eax, ebp
je 0x46eb82
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x46eb86
xor eax, eax
jmp 0x46ebc6
xor ecx, ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0xc8], ecx
push 0x18
mov dword [esp + 0xd0], ecx
push eax
mov dword [esp + 0xd8], ecx
call ebx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
sub ecx, eax
mov eax, dword [esp + 0x28]
sub ecx, edx
cmp eax, ecx
jge 0x46ed1f
cmp edi, ebp
je 0x46ed1f
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x46ed1f
xor edx, edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xb0], edx
push 0x18
mov dword [esp + 0xb8], edx
push eax
mov dword [esp + 0xc0], edx
call ebx
cmp dword [esp + 0xa4], ebp
jle 0x46ed1f
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ec48
xor esi, esi
jmp 0x46ec73
xor edx, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x70], edx
push 0x18
mov dword [esp + 0x78], edx
push eax
mov dword [esp + 0x80], edx
call ebx
mov esi, dword [esp + 0x68]
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ec7e
xor eax, eax
jmp 0x46eca6
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
push 0x18
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push ebp
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], esi
call fcn.00463a30
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ece8
mov ecx, dword [esp + 0x28]
xor eax, eax
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x46eb70
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x46eb70
mov edi, dword [esp + 0xe4]
cmp edi, ebp
je 0x46ed31
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ed35
xor esi, esi
jmp 0x46ed5d
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov esi, dword [esp + 0x34]
cmp edi, ebp
je 0x46ed68
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ed6c
xor eax, eax
jmp 0x46ed94
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
push 0x18
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
push ebp
mov dword [esp + 0x20], eax
push ebp
lea eax, [esp + 0x84]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], esi
call fcn.00463a30
mov edi, dword [esp + 0xec]
cmp edi, ebp
je 0x46edcc
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46edd0
xor esi, esi
jmp 0x46edf8
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ecx
push 0x18
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
call ebx
mov esi, dword [esp + 0x34]
cmp edi, ebp
je 0x46ee03
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ee07
xor eax, eax
jmp 0x46ee2f
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], ecx
push 0x18
mov dword [esp + 0x5c], ecx
push eax
mov dword [esp + 0x64], ecx
call ebx
mov eax, dword [esp + 0x48]
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
je 0x46ee4a
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x46ee4e
xor eax, eax
jmp 0x46ee79
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x70], ecx
push 0x18
mov dword [esp + 0x78], ecx
push eax
mov dword [esp + 0x80], ecx
call ebx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
lea ecx, [esp + 0x10]
push ecx
sub edx, eax
push ebp
sub edx, ebx
push edx
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call fcn.00463a30
mov eax, dword [esp + 0x8c]
cmp eax, ebp
pop ebx
jne 0x46eeb1
xor eax, eax
jmp 0x46eeb4
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.004e7315
lea ecx, [esp + 0x74]
call fcn.004e6ff7
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x74]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004e700d
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xcc
ret 0x10