Function at 0x452020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x4a9bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp + 0x18]
push 2
mov dword [ebp - 0x3d0], edi
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3b4], eax
call esi
add eax, 4
push 0x31
mov dword [ebp - 0x3d4], eax
call esi
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x378], 0
test edi, edi
je 0x452e1f
call fcn.0043c990
push dword [ebp - 0x3c4]
mov dword [ebp - 0x3cc], eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebx + 0x53ac]
xor edx, edx
and ecx, 0x410
mov esi, eax
cmp ecx, 0x400
mov dword [ebp - 0x3ac], esi
push 0x4807d4
setne dl
add edx, 0x10
push edi
mov dword [ebx + 0x55d0], edx
call fcn.004204c0
mov edi, eax
add esp, 8
test edi, edi
je 0x45217a
mov edx, dword [edi + 0xc0]
xor esi, esi
test edx, edx
jle 0x45211a
mov ecx, dword [edi + 0xc4]
mov ebx, dword [ebp - 0x3ac]
mov eax, dword [ecx]
cmp ebx, dword [eax + 0x54c8]
je 0x452114
inc esi
add ecx, 4
cmp esi, edx
jl 0x452102
mov ebx, dword [ebp - 0x3c0]
cmp esi, edx
jne 0x452156
lea eax, [edx + 1]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [edi + 0xc4]
call fcn.00466ae4
add esp, 8
mov dword [edi + 0xc4], eax
inc dword [edi + 0xc0]
mov dword [ebx + 0x54bc], 0
mov eax, dword [edi + 0xc4]
mov dword [eax + esi*4], ebx
lea eax, [edi + 4]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push eax
lea eax, [ebx + 0x55b4]
push eax
call edi
mov esi, dword [ebp - 0x3ac]
jmp 0x452180
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0x3d0]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3c8], ecx
push dword [eax + 0x114]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x54bc], 0
mov dword [ebp - 0x3cc], eax
jne 0x45245f
lea eax, [ebp - 0x344]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x344], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [ebp - 0x3b0], eax
cmp dword [ebx + 0x78], eax
jle 0x4523dd
movss xmm1, dword [0x4856ec]
xor ecx, ecx
mov edi, ebx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x328], edi
nop dword [eax + eax]
movss xmm0, dword [edi + 0x220]
comiss xmm0, xmm1
jbe 0x4523b8
mov edi, dword [edi + 0x214]
xor ecx, ecx
mov dword [ebp - 0x32c], ecx
test edi, edi
jne 0x452227
xor eax, eax
jmp 0x45227a
mov esi, edi
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x452230
sub esi, edx
mov eax, esi
and eax, 3
je 0x452260
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.004643e0
mov ecx, dword [ebp - 0x32c]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x452270
xor ecx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jg 0x452267
mov eax, ecx
shr eax, 0x10
xor eax, ecx
movzx eax, ax
mov ecx, dword [ebp - 0x3bc]
mov edi, dword [ebp - 0x328]
and ecx, 0xf
movzx eax, ax
add eax, dword [ebp - 0x3b0]
shl eax, cl
xor dword [ebx + 0x6918], eax
cvttss2si eax, dword [edi + 0x220]
push 0x15b2
push str.D:MyProjectsProPilotLibListview.c
push fcn.00466ae4
push 0
push dword [edi + 0x214]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x378]
push eax
call fcn.00408760
push 9
push dword [ebp - 0x378]
call fcn.004642b0
add esp, 0x20
test eax, eax
je 0x4522f2
mov byte [eax], 0
inc eax
push eax
call fcn.00468c82
add esp, 4
mov dword [edi + 0x2d8], eax
mov eax, dword [0x4bd73c]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x45231d
push 0
push dword [ebp - 0x3b0]
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x45231d
cmp byte [eax], 0
je 0x45231d
mov esi, eax
cmp byte [esi], 0
je 0x45234d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452327
lea eax, [ebp - 0x334]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x3c8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x334]
jmp 0x452358
mov eax, 0x10
mov dword [ebp - 0x334], eax
add eax, 0xc
cmp dword [ebp - 0x328], eax
cmovg eax, dword [ebp - 0x328]
cmp dword [ebp - 0x378], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm0
je 0x4523a4
lea eax, [ebp - 0x378]
push eax
call fcn.00409d90
push dword [ebp - 0x378]
call fcn.00468056
add esp, 8
mov dword [ebp - 0x378], 0
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [ebp - 0x3b0]
movss xmm1, dword [0x4856ec]
inc eax
add edi, 0xd0
add ecx, 3
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x328], edi
mov dword [ebp - 0x3bc], ecx
cmp eax, dword [ebx + 0x78]
jl 0x452200
cmp dword [ebx + 0x5354], 0
jle 0x45241b
cmp dword [ebx + 0x5594], 0
mov ecx, dword [ebp - 0x3b8]
jne 0x452415
imul eax, dword [ebx + 0x7c], 0xd0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + ebx + 0x150]
movss dword [eax + ebx + 0x150], xmm0
sub dword [ebp - 0x33c], ecx
push 0x6920
push dword [ebx + 0x55c4]
call fcn.00466ae4
push 0x6920
push ebx
push eax
mov dword [ebx + 0x55c4], eax
call fcn.004643e0
add esp, 0x14
lea eax, [ebp - 0x344]
push eax
lea eax, [ebx + 0x558c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
call fcn.00450a60
add esp, 4
jmp 0x45246f
lea eax, [ebx + 0x558c]
push eax
lea eax, [ebp - 0x344]
push eax
call edi
mov ecx, dword [ebx + 0x78]
xor esi, esi
mov dword [ebp - 0x3b0], esi
test ecx, ecx
jle 0x452494
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
je 0x45248e
inc esi
add eax, 4
cmp esi, ecx
jl 0x452481
mov dword [ebp - 0x3b0], esi
lea eax, [ebp - 0x194]
push eax
push esi
push 0x103b
push dword [ebx + 0x54c8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4524f0
lea edx, [ebx + 0x7c]
mov ecx, 0x64
mov esi, edx
lea edi, [ebp - 0x324]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3b0]
xor ecx, ecx
test esi, esi
jle 0x4524f0
nop
mov eax, dword [ebp + ecx*4 - 0x194]
lea edx, [edx + 4]
inc ecx
mov eax, dword [ebp + eax*4 - 0x324]
mov dword [edx - 4], eax
cmp ecx, esi
jl 0x4524d0
nop dword [eax]
cmp dword [ebp - 0x3d8], 0
je 0x45250c
cmp dword [ebx + 0x20], 0
je 0x45250c
cmp dword [ebx + 0x14], 0
jne 0x45250c
mov dword [ebx + 0x14], 0x44f9e0
call fcn.0041fd60
cmp dword [eax + 0xdd0], 0
je 0x452597
mov eax, 0x40
lea edi, [ebx + 0x53b0]
mov dword [ebp - 0x3b8], eax
nop
mov esi, dword [edi]
test esi, esi
je 0x452589
push esi
call fcn.00410c40
push 0xffefeff0
push esi
call fcn.00411840
push eax
call fcn.00410c40
push 0xffdfdfe0
push esi
call fcn.00411840
push eax
call fcn.00410c40
push 0xffcfcfd0
push esi
call fcn.00411840
push eax
call fcn.00410c40
push 0xffc0c0c1
push esi
call fcn.00411840
push eax
call fcn.00410c40
mov eax, dword [ebp - 0x3b8]
add esp, 0x34
add edi, 4
sub eax, 1
mov dword [ebp - 0x3b8], eax
jne 0x452530
cmp dword [ebx + 0x5354], 0
je 0x4527fb
cmp dword [ebx + 0x54bc], 0
jne 0x4527fb
mov eax, dword [ebx + 0x54c0]
xor edi, edi
mov ecx, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [ebp - 0x3bc], edi
test eax, eax
je 0x4525d2
push eax
call ecx
mov ecx, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [ebx + 0x576c]
test eax, eax
je 0x4525df
push eax
call ecx
mov eax, dword [ebx + 0x5354]
mov ecx, 1
cmp eax, ecx
push 0
cmovl eax, ecx
push eax
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x54c0], eax
mov dword [ebp - 0x3b8], edi
cmp dword [ebx + 0x5354], edi
jle 0x4526e5
lea esi, [ebx + 0x535c]
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x4526e5
cmp ecx, 0xffff
jle 0x45263b
cmp byte [ecx], 0
je 0x4526b6
inc edi
mov dword [ebp - 0x3bc], edi
cmp ecx, 0xffff
jle 0x452685
push 0
lea eax, [esi + 0x45c]
push eax
lea eax, [ebx + 0x57b4]
push eax
push ecx
call fcn.0041ffb0
add esp, 0x10
test eax, eax
jne 0x4526b6
lea eax, [ebp - 0x328]
push eax
lea eax, [ebx + 0x54c0]
push eax
push 0
push dword [esi]
call fcn.0041fd70
add esp, 0x10
test eax, eax
jne 0x4526b6
push dword [esi]
push dword [ebp - 0x3b4]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
push edi
push 0xffffffffffffffff
push dword [ebx + 0x54c0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
je 0x4526d4
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
add esi, 4
inc ecx
mov dword [ebp - 0x3b8], ecx
cmp ecx, dword [ebx + 0x5354]
jl 0x452620
jmp 0x4526e5
push 0
push 0
push str.Syserror:_ImageList_AddIcon_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebx + 0x5358], 0
je 0x4527e7
mov edi, dword [ebp - 0x3bc]
cmp edi, dword [ebx + 0x5354]
jge 0x4527e7
call fcn.0041fd60
cmp dword [eax + 0xdd0], 0
je 0x452749
push 0x2000
push 0
push 0
push 0
push dword [ebx + 0x5358]
push dword [ebp - 0x3b4]
call dword [sym.imp.USER32.dll_LoadImageA]
push 8
push 0x10
mov esi, eax
push esi
push 0
push 0
call fcn.00410950
add esp, 0x14
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x2000
push 0
push 0xff00ff
push 0
push 0
push dword [ebx + 0x5358]
push dword [ebp - 0x3b4]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov dword [ebp - 0x3b4], eax
test eax, eax
je 0x4527e7
cmp edi, dword [ebx + 0x5354]
jge 0x4527e0
xor edi, edi
nop
push 1
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
test esi, esi
je 0x4527ab
push esi
push 0xffffffffffffffff
push dword [ebx + 0x54c0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
je 0x4527c9
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x3bc]
inc edi
inc eax
cmp eax, dword [ebx + 0x5354]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3b4]
jge 0x4527e0
jmp 0x452780
push 0
push 0
push str.Syserror:_ImageList_AddIcon_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x3b4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push dword [ebx + 0x54c0]
call fcn.00414ec0
add esp, 4
mov dword [ebx + 0x576c], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [ebp - 0x3ac]
mov dword [ebp - 0x3a8], 0xf
push 0
push 0
push 0x101c
push ebx
call edi
test eax, eax
jne 0x452811
mov ebx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b0], eax
jle 0x452a89
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x328], eax
nop dword [eax + eax]
mov edi, dword [eax]
lea eax, [ebp - 0x378]
push 0x162c
dec edi
imul esi, edi, 0xd0
push str.D:MyProjectsProPilotLibListview.c
push fcn.00466ae4
push 0
mov dword [ebp - 0x3c0], esi
push dword [esi + ebx + 0x214]
push eax
call fcn.00408760
push 9
push dword [ebp - 0x378]
call fcn.004642b0
add esp, 0x20
test eax, eax
je 0x4528ab
mov byte [eax], 0
inc eax
push eax
call fcn.00468c82
add esp, 4
mov dword [esi + ebx + 0x2d8], eax
mov eax, dword [0x4bd73c]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x4528d1
push 0
push edi
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x4528d1
cmp byte [eax], 0
je 0x4528d1
mov esi, eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x37c], esi
mov ecx, dword [edx + ebx + 0x21c]
test ecx, ecx
jne 0x4528f0
mov dword [ebp - 0x3a4], ecx
jmp 0x4528ff
xor eax, eax
cmp ecx, 2
setne al
inc eax
mov dword [ebp - 0x3a4], eax
movss xmm1, dword [edx + ebx + 0x220]
ucomiss xmm1, dword [0x4864a0]
lahf
test ah, 0x44
jp 0x45293d
mov eax, dword [ebp - 0x33c]
mov ecx, 0xa
sub eax, dword [ebp - 0x344]
sub eax, dword [ebp - 0x3b4]
sub eax, dword [ebp - 0x3d4]
cmp eax, 0xa
cmovl eax, ecx
jmp 0x4529cd
movss xmm0, dword [0x4856ec]
comiss xmm0, xmm1
jbe 0x4529c9
mov eax, dword [ebp - 0x33c]
sub eax, dword [ebp - 0x344]
sub eax, dword [ebp - 0x3d4]
cmp byte [esi], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si edi, xmm0
je 0x4529b4
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452980
lea eax, [ebp - 0x334]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x3c8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x334]
mov edx, dword [ebp - 0x3c0]
add eax, 0xc
cmp edi, eax
cmovg eax, edi
jmp 0x4529cd
mov eax, 0x10
mov dword [ebp - 0x334], eax
add eax, 0xc
cmp edi, eax
cmovg eax, edi
jmp 0x4529cd
cvttss2si eax, xmm1
add dword [ebp - 0x3b4], eax
mov esi, dword [ebp - 0x3b8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + ebx + 0x248], xmm0
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x39c], eax
lea eax, [ebp - 0x3a8]
push eax
push esi
push 0x101b
push dword [ebp - 0x3ac]
mov dword [ebp - 0x394], esi
call edi
cmp eax, 0xffffffff
je 0x452c3e
lea eax, [ebp - 0x3a8]
push eax
push esi
push 0x101a
push dword [ebp - 0x3ac]
call edi
cmp dword [ebp - 0x378], 0
je 0x452a67
lea eax, [ebp - 0x378]
push eax
call fcn.00409d90
push dword [ebp - 0x378]
call fcn.00468056
add esp, 8
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x328]
inc esi
add eax, 4
mov dword [ebp - 0x3b8], esi
mov dword [ebp - 0x328], eax
cmp esi, dword [ebp - 0x3b0]
jl 0x452850
push ebx
call fcn.00459320
mov esi, dword [ebp - 0x3c8]
add esp, 4
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x3cc]
push esi
call eax
push esi
mov esi, dword [ebp - 0x3d0]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebx + 0x54bc], 0
mov eax, dword [ebp - 0x3c4]
mov dword [ebx + 0x54cc], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebx + 0x54c4], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebx + 0x55a4], 0
mov dword [ebx + 0x55a0], 0
mov dword [ebx + 0x54c8], eax
jne 0x452ba6
push dword [ebx]
push 0
push 0x10000000
push 0
push eax
call fcn.004100c0
add esp, 0x14
push 0xfffffffffffffffc
push dword [ebp - 0x3ac]
call esi
push 2
push ebx
push dword [ebp - 0x3ac]
mov dword [ebx + 0x54d8], eax
call fcn.00459800
add esp, 0xc
test dword [ebx + 0x53ac], 0x1000
jne 0x452b5e
push 0
push 0
push 0x1037
push dword [ebp - 0x3ac]
call edi
or eax, 0x10
push eax
push 0
push 0x1036
push dword [ebp - 0x3ac]
call edi
push 0x20
push 0x20
push 0x1036
push dword [ebp - 0x3ac]
call edi
push 0xfffffffffffffff0
push dword [ebp - 0x3ac]
call esi
test al, 8
je 0x452b84
or dword [ebx + 0x53ac], 8
push 0x455500
push 0xa
push 0x458
push dword [ebx + 0x54c8]
mov dword [ebx + 0x54e0], 0
call dword [sym.imp.USER32.dll_SetTimer]
push 0
call fcn.0043c990
mov eax, dword [eax + 0x114]
push eax
push 0x30
push dword [ebp - 0x3ac]
call edi
push 0
push 0
push 0x101f
push dword [ebp - 0x3ac]
call edi
mov edi, eax
push 0xffffffffffffffeb
push edi
call esi
test eax, eax
jne 0x452bf7
push 0xfffffffffffffffc
push edi
call esi
push eax
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x455830
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push edi
call esi
or eax, 4
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [ebp - 0x3ac]
call esi
test eax, 0x8000
jne 0x452ca8
call fcn.0041fd60
mov eax, dword [eax + 0x1df8]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1208
push edi
call eax
jmp 0x452dc6
push 0
push 0
push str.Syserror:_ListView_InsertColumn_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x3cc]
mov ebx, dword [ebp - 0x3c8]
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call eax
push ebx
push dword [ebp - 0x3ac]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x37c], 0
je 0x452e1f
lea eax, [ebp - 0x37c]
push eax
call fcn.00409d90
push dword [ebp - 0x37c]
call fcn.00468056
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x54c0]
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1208
push edi
call eax
xor esi, esi
cmp dword [ebp - 0x3b0], esi
jle 0x452dc6
mov ecx, dword [ebp - 0x3b0]
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x3c4], eax
nop word [eax + eax]
imul eax, dword [eax], 0xd0
mov dword [ebp - 0x3d0], eax
cmp dword [eax + ebx + 0x208], 0
je 0x452dae
lea eax, [ebp - 0x374]
mov dword [ebp - 0x374], 0x24
push eax
push esi
push 0x1203
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x360]
mov eax, dword [edx + ebx + 0x144]
cmp byte [eax], 9
jg 0x452d37
mov eax, 0x802
jmp 0x452d46
mov eax, ecx
not eax
and eax, 1
shl eax, 0xc
or eax, 0x4800
xorps xmm0, xmm0
mov dword [ebp - 0x374], 0x24
and ecx, 3
movlpd qword [ebp - 0x35c], xmm0
or ecx, eax
movlpd qword [ebp - 0x370], xmm0
movlpd qword [ebp - 0x368], xmm0
movlpd qword [ebp - 0x354], xmm0
movlpd qword [ebp - 0x34c], xmm0
mov dword [ebp - 0x360], ecx
mov eax, dword [edx + ebx + 0x208]
dec eax
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x374]
push eax
push esi
push 0x1204
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x3c4]
inc esi
add eax, 4
mov dword [ebp - 0x3c4], eax
cmp esi, ecx
jl 0x452ce0
push 0
push 0
push 0x9000
push dword [ebp - 0x3ac]
mov dword [ebx + 0x54bc], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x3d8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x452e1f
push 0x4807d4
push esi
call fcn.004204c0
add esp, 8
test eax, eax
je 0x452e19
add eax, 4
push eax
lea eax, [ebx + 0x55b4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebx + 0x55ac], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046300c
mov esp, ebp
pop ebp
ret