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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc7ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x18], esi
je 0x45f4eaf5
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4e93c
lea eax, [esp + 0x98]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x45f4e993
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x98]
cmp eax, dword [ebp + 8]
jg 0x45f4ee14
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x9c]
cmp eax, dword [ebp + 0xc]
jg 0x45f4ee14
push dword [ebx + 0x190]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x140]
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, 0xffffffff
je 0x45f4ee14
cmp byte [ebx + 0xc8], 0
je 0x45f4e9c2
mov byte [ebx + 0xc9], 1
cmp byte [ebx + 0x1cc], 0
je 0x45f4ea01
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24c]
cmp eax, dword [ebx + 0x1ec]
jae 0x45f4ea01
cmp dword [ebx + 0x190], esi
je 0x45f4ea01
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x388]
test eax, eax
je 0x45f4ea01
mov eax, dword [ebx]
push esi
push dword [ebx + 0x78]
mov ecx, ebx
call dword [eax + 0x1c8]
lea ecx, [ebx + 0x19c]
mov eax, dword [ecx]
push edi
call dword [eax]
imul edi, edi, 0x3c
mov eax, dword [eax]
mov ecx, dword [ebx + 0x194]
imul eax, eax, 0x3c
mov al, byte [eax + ecx + 0x29]
mov esi, dword [ebx + 0x4c]
sub esi, dword [ebx + 0x44]
mov byte [esp + 0x1f], al
mov eax, dword [edi + ecx + 0x14]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], esi
call fcn.45e25ba1
and dword [esp + 0x140], 0
lea eax, [esp + 0xa8]
call fcn.45e25ba1
mov byte [esp + 0x140], 1
mov byte [esp + 0x20], 0
mov byte [esp + 0x17], 0
cmp esi, dword [ebp + 8]
je 0x45f4ebce
cmp byte [ebx + 0x1cc], 0
jne 0x45f4ebc9
mov eax, dword [esp + 0x28]
cmp dword [ebx + 0x1e4], eax
jne 0x45f4ebce
cmp byte [esp + 0x1f], 0
je 0x45f4ebce
mov eax, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x17], 1
call dword [eax + 0x3f0]
test al, al
je 0x45f4ebc9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3dc]
mov ecx, eax
mov dword [esp + 0x24], ecx
sub ecx, dword [ebx + 0x78]
lea eax, [esp + 0x70]
inc ecx
push eax
call fcn.45e14449
mov ecx, dword [esp + 0x24]
sub ecx, dword [ebx + 0x78]
lea eax, [esp + 0xa8]
inc ecx
push eax
call fcn.45e14449
mov eax, dword [ebx + 0x78]
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jg 0x45f4ebce
jmp 0x45f4eb41
lea eax, [esp + 0x30]
push eax
push 0xfe8
push 0x45dd072c
mov edi, 0x80004005
push edi
mov dword [esp + 0x40], esi
call fcn.45f85675
mov eax, dword [esp + 0x40]
add esp, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0x45dc096c
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], esi
push 0x45ff0f98
lea eax, [esp + 0x44]
push eax
call fcn.45fb1416
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 0x78]
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x74]
call dword [eax]
push dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f4]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov edx, dword [ebx]
xor eax, eax
push eax
push 0xffffffffffffffff
push SysReAllocStringLen
push eax
push eax
lea eax, [esp + 0x104]
push eax
push dword [esp + 0x40]
mov ecx, ebx
push dword [esp + 0x34]
call dword [edx + 0x410]
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 0x78]
lea ecx, [esp + 0xa8]
push eax
mov eax, dword [esp + 0xac]
call dword [eax]
mov ecx, dword [esp + 0xf8]
sub ecx, dword [esp + 0xf0]
inc dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
jle 0x45f4eb3d
jmp 0x45f4ebce
mov byte [esp + 0x20], 1
mov eax, dword [ebx + 0x44]
add eax, dword [ebp + 8]
and dword [esp + 0x3c], 0
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x48]
add eax, dword [ebp + 0xc]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x18]
push eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x45f4ec0b
push 0x30
push 0x45dd3cb8
call fcn.45f85b90
push 0
push dword [esp + 0x24]
mov byte [esp + 0x148], 2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x37c]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x228]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x4c]
cmp esi, eax
jge 0x45f4ec3d
mov eax, esi
mov dword [esp + 0x68], eax
add eax, 0xfffffffe
mov dword [esp + 0x60], eax
push 0
lea eax, [esp + 0x64]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x118], 0xffffffff
je 0x45f4ecac
cmp esi, dword [ebp + 8]
jl 0x45f4ec69
mov esi, dword [ebp + 8]
lea eax, [esi - 2]
test eax, eax
jge 0x45f4ec72
xor eax, eax
lea esi, [ebx + 0x44]
lea edi, [esp + 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xe0], eax
add eax, 2
mov dword [esp + 0xe8], eax
push 0
lea eax, [esp + 0xe4]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
cmp byte [esp + 0x20], 0
jne 0x45f4edd9
cmp byte [esp + 0x17], 0
je 0x45f4f027
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3dc]
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x78]
lea edx, [ecx + edx - 1]
mov dword [esp + 0x20], eax
cmp eax, edx
jb 0x45f4ece3
mov dword [esp + 0x20], edx
mov esi, ecx
jmp 0x45f4ed13
mov eax, esi
sub eax, dword [ebx + 0x78]
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x74]
call dword [eax]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x3f4]
mov ecx, dword [esp + 0x40]
cmp dword [ecx], eax
jne 0x45f4f084
inc esi
cmp esi, dword [esp + 0x20]
jbe 0x45f4ece7
lea eax, [esp + 0x58]
push eax
call fcn.45fa9075
mov byte [esp + 0x140], 3
mov esi, dword [ebx + 0x78]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x20]
jbe 0x45f4ee30
lea ecx, [esp + 0x58]
mov byte [esp + 0x140], 2
call fcn.45fa90eb
mov edi, dword [esp + 0x28]
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x2d0]
mov esi, eax
add esi, 4
cmp dword [ebx + 0x1e4], edi
jne 0x45f4edd9
lea ecx, [ebx + 0x19c]
mov eax, dword [ecx]
push edi
call dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x194]
imul eax, eax, 0x3c
mov eax, dword [eax + ecx + 0x14]
sub eax, dword [ebx + 0x188]
cmp esi, eax
jbe 0x45f4edd9
mov eax, dword [ebx]
push 0
push 0xffffffffffffffff
push SysReAllocStringLen
push 1
push 1
lea ecx, [esp + 0xe4]
push ecx
push edi
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0x410]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xd4], eax
mov eax, dword [ebx + 0x228]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd0]
push 0
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x140], 1
push dword [esp + 0x3c]
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esp + 0xa8]
mov byte [esp + 0x140], 0
call fcn.45e174fe
or dword [esp + 0x140], 0xffffffff
lea eax, [esp + 0x70]
call fcn.45e174fe
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], VariantInit
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
mov ecx, ebx
call dword [eax + 0xb8]
test al, al
je 0x45f4efcf
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4ee38
push dword [esp + 0x28]
lea esi, [ebx + 0x19c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push dword [eax]
xor ecx, ecx
push dword [esp + 0x28]
mov eax, ebx
call fcn.45f665cb
mov ecx, eax
lea eax, [esp + 0x118]
call fcn.45f337af
lea eax, [esp + 0x38]
mov byte [esp + 0x140], 4
call fcn.45f84577
push eax
lea ecx, [esp + 0x11c]
call fcn.45f336a8
mov eax, dword [0x4603911c]
mov dword [esp + 0x34], eax
push dword [esp + 0x28]
mov byte [esp + 0x144], 5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx]
lea esi, [esp + 0x34]
push esi
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call dword [edx + 0x48]
lea eax, [esp + 0x38]
call fcn.45f84577
push eax
mov ecx, esi
lea edx, [esp + 0x114]
lea eax, [esp + 0x5c]
call fcn.45fa9151
push dword [esp + 0x24]
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0
push 0
lea ecx, [esp + 0xcc]
push ecx
push dword [esp + 0x38]
mov dword [esp + 0x58], eax
push dword [esp + 0x2c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x418]
mov eax, dword [ebx + 0x194]
mov ecx, dword [edi + eax + 0x14]
mov edx, dword [esp + 0xc8]
sub edx, dword [esp + 0xc0]
add esi, 4
mov eax, ecx
sub eax, dword [ebx + 0x188]
cmp esi, edx
setg byte [esp + 0x17]
cmp byte [esp + 0x17], 0
je 0x45f4ef57
cmp ecx, eax
ja 0x45f4ef7a
cmp dword [esp + 0x50], eax
ja 0x45f4ef7a
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 0x78]
lea ecx, [esp + 0xa8]
push eax
mov eax, dword [esp + 0xac]
call dword [eax]
cmp esi, dword [eax]
jle 0x45f4ef8d
cmp byte [esp + 0x17], 0
jne 0x45f4ef8d
push 0
lea eax, [esp + 0xc4]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x140], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x144], 3
call fcn.45df4cdf
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jbe 0x45f4ee2c
jmp 0x45f4ed3c
and dword [esp + 0x2c], 0
lea eax, [esp + 0x2c]
push eax
push 0x10a5
push 0x45dd072c
mov edi, 0x80004005
push edi
call fcn.45f85675
mov eax, dword [esp + 0x3c]
add esp, 0x10
and dword [esp + 0x94], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], 0x45dc096c
mov dword [esp + 0x8c], edi
push 0x45ff0f98
lea eax, [esp + 0x8c]
jmp 0x45f4eb37
cmp dword [ebp + 8], esi
je 0x45f4ed4d
mov eax, dword [ebx + 0x1e4]
cmp eax, dword [esp + 0x28]
jne 0x45f4ed4d
cmp byte [esp + 0x1f], 0
jne 0x45f4f084
cmp dword [ebp + 8], esi
jle 0x45f4ed4d
mov eax, dword [esp + 0x2c]
lea esi, [ebx + 0x44]
lea edi, [esp + 0x100]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffffe
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x100], eax
push 0
lea eax, [esp + 0x104]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x45f4ed4d
lea eax, [ebx + 0x44]
jmp 0x45f4edcd