Function at 0x42e8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x479bf0]
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 0x42f6df
call fcn.0041f4d0
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 0x456354
setne dl
add edx, 0x10
push edi
mov dword [ebx + 0x55d0], edx
call fcn.00415990
mov edi, eax
add esp, 8
test edi, edi
je 0x42ea3a
mov edx, dword [edi + 0xc0]
xor esi, esi
test edx, edx
jle 0x42e9da
mov ecx, dword [edi + 0xc4]
mov ebx, dword [ebp - 0x3ac]
mov eax, dword [ecx]
cmp ebx, dword [eax + 0x54c8]
je 0x42e9d4
inc esi
add ecx, 4
cmp esi, edx
jl 0x42e9c2
mov ebx, dword [ebp - 0x3c0]
cmp esi, edx
jne 0x42ea16
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.0043bbd4
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 0x42ea40
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 0x42ed1f
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 0x42ec9d
movss xmm1, dword [0x456bd8]
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 0x42ec78
mov edi, dword [edi + 0x214]
xor ecx, ecx
mov dword [ebp - 0x32c], ecx
test edi, edi
jne 0x42eae7
xor eax, eax
jmp 0x42eb3a
mov esi, edi
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42eaf0
sub esi, edx
mov eax, esi
and eax, 3
je 0x42eb20
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.004394d0
mov ecx, dword [ebp - 0x32c]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x42eb30
xor ecx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jg 0x42eb27
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.0043bbd4
push 0
push dword [edi + 0x214]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x378]
push eax
call fcn.00406470
push 9
push dword [ebp - 0x378]
call fcn.004393a0
add esp, 0x20
test eax, eax
je 0x42ebb2
mov byte [eax], 0
inc eax
push eax
call fcn.0043dd72
add esp, 4
mov dword [edi + 0x2d8], eax
mov eax, dword [0x48d5fc]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x42ebdd
push 0
push dword [ebp - 0x3b0]
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x42ebdd
cmp byte [eax], 0
je 0x42ebdd
mov esi, eax
cmp byte [esi], 0
je 0x42ec0d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ebe7
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 0x42ec18
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 0x42ec64
lea eax, [ebp - 0x378]
push eax
call fcn.00407f10
push dword [ebp - 0x378]
call fcn.0043d146
add esp, 8
mov dword [ebp - 0x378], 0
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [ebp - 0x3b0]
movss xmm1, dword [0x456bd8]
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 0x42eac0
cmp dword [ebx + 0x5354], 0
jle 0x42ecdb
cmp dword [ebx + 0x5594], 0
mov ecx, dword [ebp - 0x3b8]
jne 0x42ecd5
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.0043bbd4
push 0x6920
push ebx
push eax
mov dword [ebx + 0x55c4], eax
call fcn.004394d0
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.0042d800
add esp, 4
jmp 0x42ed2f
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 0x42ed54
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
je 0x42ed4e
inc esi
add eax, 4
cmp esi, ecx
jl 0x42ed41
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 0x42edb0
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 0x42edb0
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 0x42ed90
nop dword [eax]
cmp dword [ebp - 0x3d8], 0
je 0x42edcc
cmp dword [ebx + 0x20], 0
je 0x42edcc
cmp dword [ebx + 0x14], 0
jne 0x42edcc
mov dword [ebx + 0x14], 0x42c7d0
call fcn.00415230
cmp dword [eax + 0xdd0], 0
je 0x42ee57
mov eax, 0x40
lea edi, [ebx + 0x53b0]
mov dword [ebp - 0x3b8], eax
nop
mov esi, dword [edi]
test esi, esi
je 0x42ee49
push esi
call fcn.0040e430
push 0xffefeff0
push esi
call fcn.0040e5c0
push eax
call fcn.0040e430
push 0xffdfdfe0
push esi
call fcn.0040e5c0
push eax
call fcn.0040e430
push 0xffcfcfd0
push esi
call fcn.0040e5c0
push eax
call fcn.0040e430
push 0xffc0c0c1
push esi
call fcn.0040e5c0
push eax
call fcn.0040e430
mov eax, dword [ebp - 0x3b8]
add esp, 0x34
add edi, 4
sub eax, 1
mov dword [ebp - 0x3b8], eax
jne 0x42edf0
cmp dword [ebx + 0x5354], 0
je 0x42f0bb
cmp dword [ebx + 0x54bc], 0
jne 0x42f0bb
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 0x42ee92
push eax
call ecx
mov ecx, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [ebx + 0x576c]
test eax, eax
je 0x42ee9f
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 0x42efa5
lea esi, [ebx + 0x535c]
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x42efa5
cmp ecx, 0xffff
jle 0x42eefb
cmp byte [ecx], 0
je 0x42ef76
inc edi
mov dword [ebp - 0x3bc], edi
cmp ecx, 0xffff
jle 0x42ef45
push 0
lea eax, [esi + 0x45c]
push eax
lea eax, [ebx + 0x57b4]
push eax
push ecx
call fcn.00415480
add esp, 0x10
test eax, eax
jne 0x42ef76
lea eax, [ebp - 0x328]
push eax
lea eax, [ebx + 0x54c0]
push eax
push 0
push dword [esi]
call fcn.00415240
add esp, 0x10
test eax, eax
jne 0x42ef76
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 0x42ef94
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 0x42eee0
jmp 0x42efa5
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 0x42f0a7
mov edi, dword [ebp - 0x3bc]
cmp edi, dword [ebx + 0x5354]
jge 0x42f0a7
call fcn.00415230
cmp dword [eax + 0xdd0], 0
je 0x42f009
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.0040e140
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 0x42f0a7
cmp edi, dword [ebx + 0x5354]
jge 0x42f0a0
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 0x42f06b
push esi
push 0xffffffffffffffff
push dword [ebx + 0x54c0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
je 0x42f089
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 0x42f0a0
jmp 0x42f040
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.00411c40
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 0x42f0d1
mov ebx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b0], eax
jle 0x42f349
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.0043bbd4
push 0
mov dword [ebp - 0x3c0], esi
push dword [esi + ebx + 0x214]
push eax
call fcn.00406470
push 9
push dword [ebp - 0x378]
call fcn.004393a0
add esp, 0x20
test eax, eax
je 0x42f16b
mov byte [eax], 0
inc eax
push eax
call fcn.0043dd72
add esp, 4
mov dword [esi + ebx + 0x2d8], eax
mov eax, dword [0x48d5fc]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x42f191
push 0
push edi
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x42f191
cmp byte [eax], 0
je 0x42f191
mov esi, eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x37c], esi
mov ecx, dword [edx + ebx + 0x21c]
test ecx, ecx
jne 0x42f1b0
mov dword [ebp - 0x3a4], ecx
jmp 0x42f1bf
xor eax, eax
cmp ecx, 2
setne al
inc eax
mov dword [ebp - 0x3a4], eax
movss xmm1, dword [edx + ebx + 0x220]
ucomiss xmm1, dword [0x4571f0]
lahf
test ah, 0x44
jp 0x42f1fd
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 0x42f28d
movss xmm0, dword [0x456bd8]
comiss xmm0, xmm1
jbe 0x42f289
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 0x42f274
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f240
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 0x42f28d
mov eax, 0x10
mov dword [ebp - 0x334], eax
add eax, 0xc
cmp edi, eax
cmovg eax, edi
jmp 0x42f28d
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 0x42f4fe
lea eax, [ebp - 0x3a8]
push eax
push esi
push 0x101a
push dword [ebp - 0x3ac]
call edi
cmp dword [ebp - 0x378], 0
je 0x42f327
lea eax, [ebp - 0x378]
push eax
call fcn.00407f10
push dword [ebp - 0x378]
call fcn.0043d146
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 0x42f110
push ebx
call fcn.00433fe0
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 0x42f466
push dword [ebx]
push 0
push 0x10000000
push 0
push eax
call fcn.0040d8b0
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.004344c0
add esp, 0xc
test dword [ebx + 0x53ac], 0x1000
jne 0x42f41e
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 0x42f444
or dword [ebx + 0x53ac], 8
push 0x4301c0
push 0xa
push 0x458
push dword [ebx + 0x54c8]
mov dword [ebx + 0x54e0], 0
call dword [sym.imp.USER32.dll_SetTimer]
push 0
call fcn.0041f4d0
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 0x42f4b7
push 0xfffffffffffffffc
push edi
call esi
push eax
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x4304f0
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 0x42f568
call fcn.00415230
mov eax, dword [eax + 0x1df8]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1208
push edi
call eax
jmp 0x42f686
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 0x42f6df
lea eax, [ebp - 0x37c]
push eax
call fcn.00407f10
push dword [ebp - 0x37c]
call fcn.0043d146
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380f8
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 0x42f686
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 0x42f66e
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 0x42f5f7
mov eax, 0x802
jmp 0x42f606
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 0x42f5a0
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 0x42f6df
push 0x456354
push esi
call fcn.00415990
add esp, 8
test eax, eax
je 0x42f6d9
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.004380f8
mov esp, ebp
pop ebp
ret