Function at 0x437f18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
push ebx
push esi
push edi
call fcn.00431d91
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x124]
call fcn.0043c648
mov ebx, eax
lea edi, [esp + 0x40]
xor eax, eax
mov ecx, 0xff
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x54], 0
xor esi, esi
pop edi
mov dword [esp + 0x54], edi
mov word [esp + 0x40], ax
mov ax, word [ebx + 0x18]
and ax, cx
lea ecx, [esp + 0x40]
xor ax, word [ebx + esi*2]
movzx eax, ax
push eax
call fcn.0042ff1d
inc esi
mov ecx, 0xff
cmp esi, 0xc
jb 0x437f63
mov edx, dword [esp + 0x54]
lea ebx, [esp + 0x40]
mov ecx, dword [esp + 0x40]
cmp edx, edi
cmova ebx, ecx
mov dword [esp + 0x2c], ebx
jbe 0x437fa9
lea edx, [edx*2 + 2]
call fcn.0042c14d
push dword [esp + 0x10]
and dword [esp + 0x54], 0
lea ecx, [esp + 0x110]
xor eax, eax
mov dword [esp + 0x58], edi
push str.a.ico
mov word [esp + 0x48], ax
call fcn.0043c6c6
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call fcn.004384fa
mov dword [esp + 0x30], eax
cmp dword [eax + 0x14], edi
jbe 0x437fec
mov eax, dword [eax]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xf4]
call fcn.0042941a
push dword [esp + 0x10]
lea ecx, [esp + 0xb4]
push str.Error
call fcn.0043c6c6
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004384fa
lea ecx, [esp + 0x14]
call fcn.0042941a
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x140]
call fcn.0043c71b
mov ebx, eax
lea edi, [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x24], 0
mov edi, 0xff
mov dword [esp + 0x28], 7
xor esi, esi
mov word [esp + 0x14], ax
mov ax, word [ebx + 0x48]
lea ecx, [esp + 0x14]
and ax, di
xor ax, word [ebx + esi*2]
movzx eax, ax
push eax
call fcn.0042ff1d
inc esi
cmp esi, 0x23
jb 0x43805a
mov edx, dword [esp + 0x28]
push 7
pop esi
cmp edx, esi
jbe 0x438093
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
call fcn.0042c14d
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x140]
call fcn.0043c872
mov ebx, eax
lea edi, [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x24], 0
mov dword [esp + 0x28], esi
xor esi, esi
mov word [esp + 0x14], ax
mov ax, word [ebx + 0x38]
mov ecx, 0xff
and ax, cx
lea ecx, [esp + 0x14]
xor ax, word [ebx + esi*2]
movzx eax, ax
push eax
call fcn.0042ff1d
inc esi
cmp esi, 0x1b
jb 0x4380c2
mov edx, dword [esp + 0x28]
push 7
pop esi
cmp edx, esi
jbe 0x438100
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
call fcn.0042c14d
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x140]
call fcn.0043c97a
mov ebx, eax
lea edi, [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
mov esi, edi
mov ax, word [ebx + 0x54]
mov ecx, 0xff
and ax, cx
lea ecx, [esp + 0x14]
xor ax, word [ebx + esi*2]
movzx eax, ax
push eax
call fcn.0042ff1d
inc esi
cmp esi, 0x29
jb 0x438130
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp edx, 7
jbe 0x438170
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
call fcn.0042c14d
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x7f00
push edi
mov dword [esp + 0x90], edi
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0xa4], edi
movlpd qword [esp + 0xac], xmm0
mov dword [esp + 0x94], 0x437ef0
mov dword [esp + 0xa0], esi
mov dword [esp + 0xb4], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x4384ef
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0xb8]
call fcn.0043cae9
push ecx
push 5
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.00428e8b
xor edx, edx
mov ax, word [edi + edx + 2]
xor ax, word [edi]
cmp dword [esp + 0x28], 7
movzx ecx, ax
lea eax, [esp + 0x14]
cmova eax, dword [esp + 0x14]
mov word [edx + eax], cx
add edx, 2
cmp edx, 0xa
jb 0x438211
cmp dword [esp + 0x28], 7
lea eax, [esp + 0x14]
cmova eax, dword [esp + 0x14]
xor ecx, ecx
push ecx
push esi
push ecx
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x24]
push ecx
push ecx
push SysReAllocString
push eax
push ebx
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0042941a
test edi, edi
je 0x4384ef
push 0x3a4
xor ebx, ebx
lea eax, [esp + 0x1ac]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x194], edi
xor eax, eax
mov dword [esp + 0x190], 0x3bc
inc eax
mov dword [esp + 0x1a0], 0x8001
mov dword [esp + 0x198], eax
push 7
pop edi
push 0x8050
push ebx
push ebx
push eax
push dword [esp + 0x40]
mov dword [esp + 0x1b0], edi
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push dword [esp + 0x10]
mov dword [esp + 0x1a8], eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.0043cae9
push ecx
push 5
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00428e8b
mov edx, ebx
mov ax, word [esi + edx + 2]
xor ax, word [esi]
cmp dword [esp + 0x28], edi
movzx ecx, ax
lea eax, [esp + 0x14]
cmova eax, dword [esp + 0x14]
mov word [edx + eax], cx
add edx, 2
cmp edx, 0xa
jb 0x4382fd
cmp dword [esp + 0x28], edi
lea eax, [esp + 0x14]
cmova eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x1ac]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0042941a
lea eax, [esp + 0x190]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4384ef
lea ecx, [esp + 0x34]
call fcn.00432925
push ecx
push 0x54447c
push 0x4f18b8
lea ecx, [esp + 0x88]
call fcn.004392ec
push ecx
push 0x4f18b5
push 0x4900e0
lea ecx, [esp + 0x7c]
call fcn.004392ec
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x68]
call fcn.004327ca
pop ecx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
call fcn.004327ca
pop ecx
push ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
pop ecx
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
pop ecx
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x68]
lea ecx, [esp + 0xec]
call fcn.00432879
pop ecx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xe0]
call fcn.00432879
pop ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
pop ecx
push eax
mov edi, 0x486a20
mov esi, str.CONOUT_
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
pop ecx
push eax
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
call fcn.00432990
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
jmp 0x438485
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x438469
lea eax, [esp + 0x190]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea ecx, [esp + 0xdc]
call fcn.00428dd9
lea ecx, [esp + 0xe8]
call fcn.00428dd9
lea ecx, [esp + 0x58]
call fcn.00428dd9
lea ecx, [esp + 0x64]
call fcn.00428dd9
lea ecx, [esp + 0x70]
call fcn.00428dd9
lea ecx, [esp + 0x7c]
call fcn.00428dd9
lea ecx, [esp + 0x34]
call fcn.00428dd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10