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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x6feae4]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edi
test edi, edi
je 0x46e02c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x46db47
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x20], 0
lea eax, [esp + 0x58]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x60]
mov ebx, eax
mov ecx, dword [esp + 0x64]
sub edx, dword [esp + 0x58]
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
test edx, edx
jle 0x46dbbe
test ecx, ecx
jle 0x46dbbe
xorps xmm0, xmm0
mov dword [esp + 0x88], 0x28
neg ecx
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0x200001
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x98]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x20], eax
mov ebx, dword [ecx + 0x14]
sub ebx, 1
mov dword [esp + 0x10], ebx
js 0x46deb7
nop word [eax + eax]
test ebx, ebx
js 0x46dc6d
mov eax, dword [esi + 0x10]
cmp ebx, dword [eax + 0x14]
jge 0x46dc6d
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x46dc20
mov eax, dword [eax]
test eax, eax
je 0x46dc20
mov ecx, dword [eax]
xor eax, eax
lea esi, [edx + ebx]
test ecx, ecx
je 0x46dc31
mov ecx, dword [ecx]
test ecx, ecx
je 0x46dc31
mov eax, dword [ecx]
test eax, eax
jne 0x46dc39
xor edx, edx
jmp 0x46dc3b
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, esi
shr eax, 2
dec ecx
and ecx, eax
and esi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x46dea6
mov edi, dword [eax + 8]
sub edi, dword [eax + 4]
mov esi, dword [esp + 0x28]
sar edi, 2
mov dword [esp + 0xc], edi
jmp 0x46dc75
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x40], edi
test ecx, ecx
jle 0x46dea6
test ebx, ebx
js 0x46de95
mov eax, dword [esi + 0x10]
cmp ebx, dword [eax + 0x14]
jge 0x46de95
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x46dcaf
mov eax, dword [eax]
test eax, eax
je 0x46dcaf
mov ecx, dword [eax]
xor eax, eax
lea esi, [edx + ebx]
test ecx, ecx
je 0x46dcc0
mov ecx, dword [ecx]
test ecx, ecx
je 0x46dcc0
mov eax, dword [ecx]
test eax, eax
jne 0x46dcc8
xor edx, edx
jmp 0x46dcca
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, esi
shr eax, 2
dec ecx
and ecx, eax
and esi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x46de91
test edi, edi
js 0x46de91
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ebx
sar eax, 2
cmp edi, eax
jge 0x46de8d
mov ebx, dword [ebx + edi*4]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x46de8d
mov esi, dword [0x7061d4]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.0046a470
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi]
je 0x46de8d
mov eax, dword [ebx]
push ebx
call dword [eax + 0x3c]
test eax, eax
je 0x46de8d
mov eax, dword [ebx]
push ebx
call dword [eax + 0x84]
mov esi, eax
test esi, esi
je 0x46dd7d
nop
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
test eax, eax
je 0x46de8d
mov eax, dword [esi]
push esi
call dword [eax + 0x84]
mov esi, eax
test esi, esi
jne 0x46dd60
lea edx, [esp + 0x48]
mov dword [esp + 0x54], 0
mov ecx, ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
call fcn.004695f0
mov esi, dword [0x7061d4]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.0046a470
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi]
je 0x46de8d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edx
push ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
call dword [eax + 0x5c]
push esi
push edi
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, dword [esp + 0x14]
mov esi, eax
mov edi, dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
push ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call edi
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x70]
push dword [esp + 0x70]
push ebx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov ecx, dword [esp + 0x18]
push ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18c]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push ebx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 0
push ebx
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
inc edi
mov dword [esp + 0x40], edi
cmp edi, ecx
jl 0x46dc87
mov esi, dword [esp + 0x28]
sub ebx, 1
mov dword [esp + 0x10], ebx
jns 0x46dc00
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46dfe7
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x46dfe7
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x18]
call edi
test eax, 0x80000
je 0x46dfe7
lea eax, [esp + 0x78]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
sub eax, edx
mov dword [esp + 0x28], 0x1ff0000
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
test eax, eax
je 0x46df69
push eax
call esi
test eax, eax
je 0x46df69
push 0xffffffffffffffec
push dword [ebx + 0x18]
call edi
test eax, 0x80000
je 0x46df69
push dword [ebx + 0x28]
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x46df72
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_HideCaret]
push 2
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x38]
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46dfdc
push eax
call esi
test eax, eax
je 0x46dfdc
push 0xffffffffffffffec
push dword [ebx + 0x18]
call edi
test eax, 0x80000
je 0x46dfdc
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 2
push dword [ebx + 0x2c]
push dword [ebx + 0x18]
call esi
push 0
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push eax
push dword [ebx + 0x28]
push dword [ebx + 0x18]
call esi
jmp 0x46e014
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowCaret]
jmp 0x46e014
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
push eax
push 0
push 0
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 4