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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fb996
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
call fcn.00464350
mov ebx, eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
je 0x46a3d6
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x46a35e
jmp dword [eax*4 + 0x46aa64]
push 1
mov ecx, esi
call fcn.00464700
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004668c0
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x46a42d
push 1
mov ecx, esi
call fcn.00464300
xor eax, eax
jmp 0x46a42d
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x46a3b0
mov eax, ecx
mov ecx, dword [esp + 0xfc]
push eax
push ecx
mov ecx, esi
call fcn.00466770
xor eax, eax
jmp 0x46a42d
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x46a42d
mov eax, dword [esp + 0xfc]
push ebp
cmp eax, 0xc
push edi
ja case.default.0x46a3e4
jmp dword [eax*4 + 0x46aa74]
push 0
mov ecx, esi
call fcn.00464700
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x46a400
mov eax, ecx
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x50]
cmp edx, edi
jl 0x46a40c
mov edx, edi
push 1
push 0
push 0
push eax
push edx
mov ecx, esi
call fcn.004668c0
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xe8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0xc
push 0
mov ecx, esi
call fcn.00464700
mov ecx, ebx
call fcn.0045ed40
mov ebp, eax
test ebp, ebp
je 0x46a704
mov ecx, ebx
call fcn.0045ed80
test eax, eax
je 0x46a704
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 3
mov edi, dword [eax]
cmp edx, ecx
jne 0x46a4ab
cmp ebp, dword [eax + 4]
jg 0x46a4ab
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004668c0
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
jmp 0x46a423
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x48]
cmp edx, ecx
jne 0x46a4c6
cmp edi, ebp
jg 0x46a57a
add ebp, dword [eax + 4]
jmp 0x46a4d3
cmp edi, ebp
jge 0x46a4d3
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x46a4d3
mov ebp, edi
cmp ebp, 0xffffffff
je 0x46a57a
mov ecx, ebx
call fcn.0045ee00
cmp eax, ebp
jle 0x46a4f4
mov ecx, ebx
call fcn.0045ee00
mov dword [esp + 0x10], eax
jmp 0x46a4f8
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.0045ed40
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x46a512
call fcn.0045ed40
dec eax
jmp 0x46a526
call fcn.0045ee00
cmp eax, ebp
jle 0x46a524
mov ecx, ebx
call fcn.0045ee00
jmp 0x46a526
mov eax, ebp
mov edx, dword [esi + 0x4c]
mov ecx, esi
push edx
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.004680c0
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x46a569
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x48], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
jmp 0x46a57a
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004668c0
mov ecx, ebx
call fcn.0045ed40
dec eax
cmp eax, edi
jge 0x46a590
mov ecx, ebx
call fcn.0045ed40
dec eax
jmp 0x46a592
mov eax, edi
test eax, eax
jge 0x46a59a
xor edi, edi
jmp 0x46a5b0
mov ecx, ebx
call fcn.0045ed40
dec eax
cmp eax, edi
jge 0x46a5b0
mov ecx, ebx
call fcn.0045ed40
mov edi, eax
dec edi
mov ecx, ebx
call fcn.0045ed80
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x46a5dd
push ebp
push edi
mov ecx, ebx
call fcn.0045ee60
test eax, 0x80000
je 0x46a5d6
dec edi
xor ebp, ebp
jmp 0x46a5d7
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x46a5c1
mov ecx, ebx
mov dword [esp + 0x14], 0
call fcn.0045ee00
cmp edi, eax
jge 0x46a629
lea edx, [esp + 0x70]
mov ecx, esi
push edx
call fcn.00463c90
mov eax, dword [eax + 4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x46a678
push ebx
mov ecx, esi
call fcn.00463ad0
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00463ea0
inc ebx
mov dword [esp + 0x18], eax
cmp ebx, edi
jl 0x46a609
jmp 0x46a678
push 1
push 1
push 0
lea edx, [esp + 0x8c]
push edi
push edx
mov ecx, esi
call fcn.00467030
mov ecx, dword [eax + 4]
test ecx, ecx
jge 0x46a64a
xor edi, edi
jmp 0x46a663
push 1
push 1
push 0
lea eax, [esp + 0xdc]
push edi
push eax
mov ecx, esi
call fcn.00467030
mov edi, dword [eax + 4]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00465ff0
mov edx, dword [eax + 4]
add edx, edi
mov dword [esp + 0x18], edx
push 0
lea ecx, [esp + 0x50]
call fcn.004f069b
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x104], 0
call fcn.0047a7b0
mov ecx, dword [esp + 0x60]
add esp, 0xc
lea eax, [esp + 0x14]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x46a6eb
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004f070d
jmp case.default.0x46a3e4
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004668c0
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
jmp 0x46a423
push 0
mov ecx, esi
call fcn.00464700
mov ecx, ebx
call fcn.0045ed80
mov ecx, ebx
mov ebp, eax
call fcn.0045ed40
test eax, eax
je 0x46a48d
test ebp, ebp
je 0x46a48d
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 4
mov edi, dword [eax]
cmp edx, ecx
jne 0x46a778
cmp ebp, dword [eax + 4]
jg 0x46a778
push 1
push 0
push 0
push 0
push 0
jmp 0x46a414
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x4c]
cmp edx, ecx
jne 0x46a793
cmp edi, ebp
jg 0x46a847
add ebp, dword [eax + 4]
jmp 0x46a7a0
cmp edi, ebp
jge 0x46a7a0
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x46a7a0
mov ebp, edi
cmp ebp, 0xffffffff
je 0x46a847
mov ecx, ebx
call fcn.0045ee10
cmp eax, ebp
jle 0x46a7c1
mov ecx, ebx
call fcn.0045ee10
mov dword [esp + 0x10], eax
jmp 0x46a7c5
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.0045ed80
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x46a7df
call fcn.0045ed80
dec eax
jmp 0x46a7f3
call fcn.0045ee10
cmp eax, ebp
jle 0x46a7f1
mov ecx, ebx
call fcn.0045ee10
jmp 0x46a7f3
mov eax, ebp
mov ecx, dword [esi + 0x48]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, esi
call fcn.004680c0
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x46a836
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
jmp 0x46a847
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004668c0
mov ecx, ebx
call fcn.0045ed80
dec eax
cmp eax, edi
jge 0x46a85d
mov ecx, ebx
call fcn.0045ed80
dec eax
jmp 0x46a85f
mov eax, edi
test eax, eax
jge 0x46a867
xor edi, edi
jmp 0x46a87d
mov ecx, ebx
call fcn.0045ed80
dec eax
cmp eax, edi
jge 0x46a87d
mov ecx, ebx
call fcn.0045ed80
mov edi, eax
dec edi
mov ecx, ebx
call fcn.0045ed40
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x46a8aa
push edi
push ebp
mov ecx, ebx
call fcn.0045ee60
test eax, 0x40000
je 0x46a8a3
dec edi
xor ebp, ebp
jmp 0x46a8a4
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x46a88e
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.0045ee10
cmp edi, eax
jge 0x46a8f5
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.00463c90
mov edx, dword [eax]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x14], edx
jle 0x46a940
push ebx
mov ecx, esi
call fcn.00463bb0
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.00463d70
inc ebx
mov dword [esp + 0x14], eax
cmp ebx, edi
jl 0x46a8d5
jmp 0x46a940
push 1
push 1
push edi
lea ecx, [esp + 0x9c]
push 0
push ecx
mov ecx, esi
call fcn.00467030
cmp dword [eax], 0
jge 0x46a914
xor edi, edi
jmp 0x46a92c
push 1
push 1
push edi
lea edx, [esp + 0xac]
push 0
push edx
mov ecx, esi
call fcn.00467030
mov edi, dword [eax]
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.00465ff0
mov ecx, dword [eax]
add ecx, edi
mov dword [esp + 0x14], ecx
push 0
lea ecx, [esp + 0x50]
call fcn.004f069b
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov dword [esp + 0x104], 1
call fcn.0047a7b0
mov eax, dword [esp + 0x60]
add esp, 0xc
lea edx, [esp + 0x14]
push 1
push edx
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x46a9b3
push eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004f070d
jmp case.default.0x46a3e4
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + ecx - 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea ecx, [eax + edx - 1]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push edx
mov ecx, ebx
call fcn.0045f910
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
inc edx
push edx
push eax
lea eax, [esp + 0xcc]
push ecx
push eax
mov ecx, esi
call fcn.00466360
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push 1
lea edx, [esp + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00466790
jmp case.default.0x46a3e4