Function at 0x4a77e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x50dc10]
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 - 0x3dc], eax
mov eax, dword [ebp + 0x18]
push 2
mov dword [ebp - 0x3d8], edi
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3c8], eax
call esi
add eax, 4
push 0x31
mov dword [ebp - 0x3d4], eax
call esi
mov dword [ebp - 0x3bc], eax
mov dword [ebp - 0x378], 0
test edi, edi
je 0x4a8843
call fcn.004d0500
push dword [ebp - 0x3c4]
mov dword [ebp - 0x3d0], 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 - 0x3b0], esi
push 0x4ef64c
setne dl
add edx, 0x10
push edi
mov dword [ebx + 0x55d0], edx
call fcn.00493b70
mov edi, eax
add esp, 8
test edi, edi
je 0x4a793a
mov edx, dword [edi + 0xc0]
xor esi, esi
test edx, edx
jle 0x4a78da
mov ecx, dword [edi + 0xc4]
mov ebx, dword [ebp - 0x3b0]
mov eax, dword [ecx]
cmp ebx, dword [eax + 0x54c8]
je 0x4a78d4
inc esi
add ecx, 4
cmp esi, edx
jl 0x4a78c2
mov ebx, dword [ebp - 0x3c0]
cmp esi, edx
jne 0x4a7916
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 sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
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 - 0x3b0]
jmp 0x4a7940
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0x3d8]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3cc], ecx
push dword [eax + 0x114]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x54bc], 0
mov dword [ebp - 0x3d0], eax
jne 0x4a7c1f
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 - 0x3b4], eax
cmp dword [ebx + 0x78], eax
jle 0x4a7b9d
movss xmm1, dword [0x4f4a1c]
xor ecx, ecx
mov edi, ebx
mov dword [ebp - 0x3ac], ecx
mov dword [ebp - 0x3b8], edi
nop dword [eax + eax]
movss xmm0, dword [edi + 0x220]
comiss xmm0, xmm1
jbe 0x4a7b78
mov edi, dword [edi + 0x214]
xor ecx, ecx
mov dword [ebp - 0x328], ecx
test edi, edi
jne 0x4a79e7
xor eax, eax
jmp 0x4a7a3a
mov esi, edi
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a79f0
sub esi, edx
mov eax, esi
and eax, 3
je 0x4a7a20
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 0x328]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x328]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x4a7a30
xor ecx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jg 0x4a7a27
mov eax, ecx
shr eax, 0x10
xor eax, ecx
movzx eax, ax
mov ecx, dword [ebp - 0x3ac]
mov edi, dword [ebp - 0x3b8]
and ecx, 0xf
movzx eax, ax
add eax, dword [ebp - 0x3b4]
shl eax, cl
xor dword [ebx + 0x6918], eax
cvttss2si eax, dword [edi + 0x220]
push 0x15ee
push str.Listview.c
push sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
push 0
push dword [edi + 0x214]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x378]
push eax
call fcn.0047ce40
push 9
push dword [ebp - 0x378]
call sub.VCRUNTIME140.dll_strchr
add esp, 0x20
test eax, eax
je 0x4a7ab2
mov byte [eax], 0
inc eax
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [edi + 0x2d8], eax
mov eax, dword [0x52e840]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x4a7add
push 0
push dword [ebp - 0x3b4]
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x4a7add
cmp byte [eax], 0
je 0x4a7add
mov esi, eax
cmp byte [esi], 0
je 0x4a7b0d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7ae7
lea eax, [ebp - 0x334]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x3cc]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x334]
jmp 0x4a7b18
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 0x4a7b64
lea eax, [ebp - 0x378]
push eax
call fcn.0047e900
push dword [ebp - 0x378]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
mov dword [ebp - 0x378], 0
mov ecx, dword [ebp - 0x3ac]
mov eax, dword [ebp - 0x3b4]
movss xmm1, dword [0x4f4a1c]
inc eax
add edi, 0xd0
add ecx, 3
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b8], edi
mov dword [ebp - 0x3ac], ecx
cmp eax, dword [ebx + 0x78]
jl 0x4a79c0
cmp dword [ebx + 0x5354], 0
jle 0x4a7bdb
cmp dword [ebx + 0x5594], 0
mov ecx, dword [ebp - 0x3bc]
jne 0x4a7bd5
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 0x6928
push dword [ebx + 0x55c4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
push 0x6928
push ebx
push eax
mov dword [ebx + 0x55c4], eax
call sub.VCRUNTIME140.dll_memcpy
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.004a60f0
add esp, 4
jmp 0x4a7c2f
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 - 0x3b4], esi
test ecx, ecx
jle 0x4a7c54
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
je 0x4a7c4e
inc esi
add eax, 4
cmp esi, ecx
jl 0x4a7c41
mov dword [ebp - 0x3b4], esi
lea eax, [ebp - 0x324]
push eax
push esi
push 0x103b
push dword [ebx + 0x54c8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4a7cb0
lea edx, [ebx + 0x7c]
mov ecx, 0x64
mov esi, edx
lea edi, [ebp - 0x194]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3b4]
xor ecx, ecx
test esi, esi
jle 0x4a7cb0
nop
mov eax, dword [ebp + ecx*4 - 0x324]
lea edx, [edx + 4]
inc ecx
mov eax, dword [ebp + eax*4 - 0x194]
mov dword [edx - 4], eax
cmp ecx, esi
jl 0x4a7c90
nop dword [eax]
cmp dword [ebp - 0x3dc], 0
je 0x4a7ccc
cmp dword [ebx + 0x20], 0
je 0x4a7ccc
cmp dword [ebx + 0x14], 0
jne 0x4a7ccc
mov dword [ebx + 0x14], 0x4a5060
call fcn.00493410
cmp dword [eax + 0xdd0], 0
je 0x4a7d57
mov eax, 0x40
lea edi, [ebx + 0x53b0]
mov dword [ebp - 0x3bc], eax
nop
mov esi, dword [edi]
test esi, esi
je 0x4a7d49
push esi
call fcn.00484630
push 0xffefeff0
push esi
call fcn.004852f0
push eax
call fcn.00484630
push 0xffdfdfe0
push esi
call fcn.004852f0
push eax
call fcn.00484630
push 0xffcfcfd0
push esi
call fcn.004852f0
push eax
call fcn.00484630
push 0xffc0c0c1
push esi
call fcn.004852f0
push eax
call fcn.00484630
mov eax, dword [ebp - 0x3bc]
add esp, 0x34
add edi, 4
sub eax, 1
mov dword [ebp - 0x3bc], eax
jne 0x4a7cf0
cmp dword [ebx + 0x5354], 0
je 0x4a821e
cmp dword [ebx + 0x54bc], 0
jne 0x4a821e
mov eax, dword [ebx + 0x54c0]
xor esi, esi
mov ecx, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [ebp - 0x3b8], esi
test eax, eax
je 0x4a7d92
push eax
call ecx
mov ecx, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [ebx + 0x576c]
test eax, eax
je 0x4a7d9f
push eax
call ecx
mov eax, dword [ebx + 0x6920]
test eax, eax
je 0x4a7db0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
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]
xor edi, edi
mov dword [ebx + 0x54c0], eax
mov dword [ebp - 0x3ac], edi
cmp dword [ebx + 0x5354], esi
jle 0x4a7edd
lea esi, [ebx + 0x535c]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x4a7ed7
cmp ecx, 0xffff
jle 0x4a7e0b
cmp byte [ecx], 0
je 0x4a7e85
inc dword [ebp - 0x3b8]
cmp ecx, 0xffff
jle 0x4a7e54
push 0
lea eax, [esi + 0x45c]
push eax
lea eax, [ebx + 0x57b4]
push eax
push ecx
call fcn.00493660
add esp, 0x10
test eax, eax
jne 0x4a7e85
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebx + 0x54c0]
push eax
push 0
push dword [esi]
call fcn.00493420
add esp, 0x10
test eax, eax
jne 0x4a7e85
push dword [esi]
push dword [ebp - 0x3c8]
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 0x4a7e9d
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [ebp - 0x3ac]
inc edi
add esi, 4
mov dword [ebp - 0x3ac], edi
cmp edi, dword [ebx + 0x5354]
jl 0x4a7df0
jmp 0x4a7ed7
mov eax, dword [ebp - 0x3ac]
push 0x10
push 0
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
push dword [ebx + eax*4 + 0x535c]
push 0x163d
push str.Listview.c
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
push 0
push 0
call fcn.0047f200
add esp, 0x1c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x3b8]
cmp dword [ebx + 0x5358], 0
je 0x4a81f9
cmp esi, dword [ebx + 0x5354]
jge 0x4a81f9
xor eax, eax
mov dword [ebp - 0x3ac], eax
call fcn.00493410
mov edi, dword [ebp - 0x3c8]
cmp dword [eax + 0xdd0], 0
je 0x4a7f4a
push 0x2000
push 0
push 0
push 0
push dword [ebx + 0x5358]
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
push 8
push 0x10
mov esi, eax
push esi
push 0
push 0
call fcn.00484340
add esp, 0x14
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x3b8]
push 0x23
push dword [ebx + 0x5358]
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x32c], eax
test eax, eax
je 0x4a8106
xor edi, edi
cmp dword [ebx + 0x5354], edi
jle 0x4a81f9
lea ecx, [eax + 1]
mov eax, esi
neg eax
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x328], eax
nop dword [eax]
push str._s_d.ico
push edi
push ecx
push 0x1650
push str.Listview.c
push str._s_d.ico
lea eax, [ebp - 0x130]
push 0x12c
push eax
call fcn.00482bc0
add esp, 0x20
lea eax, [ebp - 0x130]
push 0x10
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
test esi, esi
jne 0x4a8081
push str._s_d.png
push edi
push dword [ebp - 0x3bc]
lea eax, [ebp - 0x130]
push 0x1655
push str.Listview.c
push str._s_d.png
push 0x12c
push eax
call fcn.00482bc0
lea eax, [ebp - 0x130]
push eax
call fcn.00480f50
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x4a808b
mov ecx, dword [ebx + 0x5358]
mov eax, dword [ebp - 0x32c]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x130]
push eax
call fcn.0047cf10
add esp, 0xc
lea eax, [ebp - 0x130]
push 0x2000
push esi
push 0xff00ff
push esi
push esi
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
push 1
push dword [ebp - 0x328]
mov dword [ebp - 0x3ac], eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
mov eax, dword [ebp - 0x3ac]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x4a808b
or dword [ebx + 0x53ac], 0x400000
push esi
push 0xffffffffffffffff
push dword [ebx + 0x54c0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
je 0x4a80ca
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
inc dword [ebp - 0x328]
inc edi
mov ecx, dword [ebp - 0x3bc]
cmp edi, dword [ebx + 0x5354]
jl 0x4a7f90
mov eax, dword [ebp - 0x3ac]
jmp 0x4a8153
push 0x10
push 0
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
lea eax, [ebp - 0x130]
push eax
push 0x1663
push str.Listview.c
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
push 0
push 0
call fcn.0047f200
add esp, 0x1c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x3ac]
jmp 0x4a8153
push 0x3a
push dword [ebx + 0x5358]
call sub.VCRUNTIME140.dll_strchr
mov ecx, dword [ebx + 0x5358]
add esp, 8
test eax, eax
je 0x4a8135
push 0x2010
push 0
push 0xff00ff
push 0
push 0
push ecx
push 0
jmp 0x4a8147
push 0x2000
push 0
push 0xff00ff
push 0
push 0
push ecx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov dword [ebp - 0x3ac], eax
test eax, eax
je 0x4a81f9
mov ecx, dword [ebp - 0x3b8]
cmp ecx, dword [ebx + 0x5354]
jge 0x4a81f2
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 0x4a819b
push esi
push 0xffffffffffffffff
push dword [ebx + 0x54c0]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
je 0x4a81b9
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x3b8]
inc edi
inc eax
cmp eax, dword [ebx + 0x5354]
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3ac]
jge 0x4a81f2
jmp 0x4a8170
push 0x10
push 0
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
push dword [ebx + 0x5358]
push 0x1674
push str.Listview.c
push str.Error_in_file__s__line__d_nImageList_AddIcon_failed:__s
push 0
push 0
call fcn.0047f200
add esp, 0x1c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x3ac]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push dword [ebx + 0x54c0]
call fcn.00488fb0
push dword [ebx + 0x54c0]
mov dword [ebx + 0x576c], eax
call fcn.00488f40
add esp, 8
mov dword [ebx + 0x6920], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [ebp - 0x3b0]
mov dword [ebp - 0x3a8], 0xf
push 0
push 0
push 0x101c
push ebx
call edi
test eax, eax
jne 0x4a8234
mov ebx, dword [ebp - 0x3c0]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3b4], eax
jle 0x4a84a9
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x3c0], eax
nop dword [eax + eax]
mov edi, dword [eax]
lea eax, [ebp - 0x378]
push 0x168d
dec edi
imul esi, edi, 0xd0
push str.Listview.c
push sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
push 0
mov dword [ebp - 0x32c], esi
push dword [esi + ebx + 0x214]
push eax
call fcn.0047ce40
push 9
push dword [ebp - 0x378]
call sub.VCRUNTIME140.dll_strchr
add esp, 0x20
test eax, eax
je 0x4a82cb
mov byte [eax], 0
inc eax
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [esi + ebx + 0x2d8], eax
mov eax, dword [0x52e840]
mov esi, dword [ebp - 0x378]
test eax, eax
je 0x4a82f1
push 0
push edi
push 5
push dword [ebx]
call eax
add esp, 0x10
test eax, eax
je 0x4a82f1
cmp byte [eax], 0
je 0x4a82f1
mov esi, eax
mov edi, dword [ebp - 0x32c]
mov dword [ebp - 0x37c], esi
mov ecx, dword [edi + ebx + 0x21c]
test ecx, ecx
jne 0x4a8310
mov dword [ebp - 0x3a4], ecx
jmp 0x4a831f
xor eax, eax
cmp ecx, 2
setne al
inc eax
mov dword [ebp - 0x3a4], eax
movss xmm1, dword [edi + ebx + 0x220]
ucomiss xmm1, dword [0x4f4b38]
lahf
test ah, 0x44
jp 0x4a835d
mov eax, dword [ebp - 0x33c]
mov ecx, 0xa
sub eax, dword [ebp - 0x344]
sub eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x3d4]
cmp eax, 0xa
cmovl eax, ecx
jmp 0x4a83ed
movss xmm0, dword [0x4f4a1c]
comiss xmm0, xmm1
jbe 0x4a83e9
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 ecx, xmm0
mov dword [ebp - 0x32c], ecx
je 0x4a83d4
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a83a0
lea eax, [ebp - 0x334]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x3cc]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x32c]
add eax, 0xc
cmp ecx, eax
cmovg eax, ecx
jmp 0x4a83ed
mov eax, 0x10
mov dword [ebp - 0x334], eax
add eax, 0xc
cmp ecx, eax
cmovg eax, ecx
jmp 0x4a83ed
cvttss2si eax, xmm1
add dword [ebp - 0x328], eax
mov esi, dword [ebp - 0x3bc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + ebx + 0x248], xmm0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
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 - 0x3b0]
mov dword [ebp - 0x394], esi
call edi
cmp eax, 0xffffffff
je 0x4a8668
lea eax, [ebp - 0x3a8]
push eax
push esi
push 0x101a
push dword [ebp - 0x3b0]
call edi
cmp dword [ebp - 0x378], 0
je 0x4a8487
lea eax, [ebp - 0x378]
push eax
call fcn.0047e900
push dword [ebp - 0x378]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x3c0]
inc esi
add eax, 4
mov dword [ebp - 0x3bc], esi
mov dword [ebp - 0x3c0], eax
cmp esi, dword [ebp - 0x3b4]
jl 0x4a8270
push ebx
call fcn.004af0c0
mov esi, dword [ebp - 0x3cc]
add esp, 4
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x3d0]
push esi
call eax
push esi
mov esi, dword [ebp - 0x3d8]
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 - 0x3b0]
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 0x4a85ca
push dword [ebx]
push 0
push 0x10000000
push 0
push eax
call fcn.004839b0
add esp, 0x14
push 0xfffffffffffffffc
push dword [ebp - 0x3b0]
call esi
push 2
push ebx
push dword [ebp - 0x3b0]
mov dword [ebx + 0x54d8], eax
call fcn.004af680
add esp, 0xc
test dword [ebx + 0x53ac], 0x1000
jne 0x4a857e
push 0
push 0
push 0x1037
push dword [ebp - 0x3b0]
call edi
or eax, 0x10
push eax
push 0
push 0x1036
push dword [ebp - 0x3b0]
call edi
push 0x20
push 0x20
push 0x1036
push dword [ebp - 0x3b0]
call edi
push 0xfffffffffffffff0
push dword [ebp - 0x3b0]
call dword [0x595d8c]
test al, 8
je 0x4a85a8
or dword [ebx + 0x53ac], 8
push 0x4ab090
push 0xa
push 0x458
push dword [ebx + 0x54c8]
mov dword [ebx + 0x54e0], 0
call dword [sym.imp.USER32.dll_SetTimer]
push 0
call fcn.004d0500
mov eax, dword [eax + 0x114]
push eax
push 0x30
push dword [ebp - 0x3b0]
call edi
push 0
push 0
push 0x101f
push dword [ebp - 0x3b0]
call edi
mov edi, eax
push 0xffffffffffffffeb
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x4a861d
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0xffffffffffffffeb
push edi
call esi
push 0x4ab3c0
push 0xfffffffffffffffc
push edi
call esi
push 0xfffffffffffffff0
push edi
call dword [0x595d8c]
or eax, 4
push eax
push 0xfffffffffffffff0
push edi
call esi
push 0xfffffffffffffff0
push dword [ebp - 0x3b0]
call dword [0x595d8c]
test eax, 0x8000
jne 0x4a86d2
call fcn.00493410
mov eax, dword [eax + 0x1df8]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1208
push edi
call eax
jmp 0x4a87ea
push 0
push 0
push str.Syserror:_ListView_InsertColumn_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x3d0]
mov ebx, dword [ebp - 0x3cc]
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call eax
push ebx
push dword [ebp - 0x3b0]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x37c], 0
je 0x4a8843
lea eax, [ebp - 0x37c]
push eax
call fcn.0047e900
push dword [ebp - 0x37c]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
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 - 0x3b4], esi
jle 0x4a87ea
mov ecx, dword [ebp - 0x3b4]
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x3c4], eax
imul eax, dword [eax], 0xd0
mov dword [ebp - 0x32c], eax
cmp dword [eax + ebx + 0x208], 0
je 0x4a87d2
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 - 0x32c]
mov ecx, dword [ebp - 0x360]
mov eax, dword [edx + ebx + 0x144]
cmp byte [eax], 9
jg 0x4a875b
mov eax, 0x802
jmp 0x4a876a
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 - 0x3b4]
mov eax, dword [ebp - 0x3c4]
inc esi
add eax, 4
mov dword [ebp - 0x3c4], eax
cmp esi, ecx
jl 0x4a8704
push 0
push 0
push 0x9000
push dword [ebp - 0x3b0]
mov dword [ebx + 0x54bc], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x3dc]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a8843
push 0x4ef64c
push esi
call fcn.00493b70
add esp, 8
test eax, eax
je 0x4a883d
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.004e2538
mov esp, ebp
pop ebp
ret