Function at 0x423e00
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
cmp byte [0x506391], 0
jne 0x423e26
cmp dword [0x5076ec], 0
jne 0x423e26
mov eax, dword [0x5062c4]
cmp eax, 0xd
jne 0x423e42
call dbg.logoApplyColorsDetected
mov dword [0x507638], 0
mov dword [0x507634], 0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x5062bc], 0
je 0x423f01
cmp eax, 6
ja case.0x423e58.3
jmp dword [eax*4 + 0x4f23a8]
push 0x4f2282
push dword [0x5062c0]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x423e21
cmp dword [0x5062bc], 0
je 0x42420f
mov eax, dword [0x5062c0]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x42420f
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x42420f
lea edi, [esi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea ebp, [esi + 0x28]
mov dword [esp], edi
push eax
push dword [0x5062c0]
call ebx
add esp, 8
test eax, eax
je 0x424207
mov eax, dword [edi]
test eax, eax
je 0x423eec
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x423ec9
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov edi, dword [esp]
add edi, 0x58
test eax, eax
jne 0x423ec3
jmp 0x42420f
xor ebx, ebx
cmp eax, 2
sete bl
inc ebx
cmp dword [0x505d8c], 0
jne 0x424023
mov dword [0x505d84], 0
mov dword [0x505d88], 0
mov eax, dword [0x5052b0]
mov dword [0x505d8c], eax
mov dword [0x505d90], 0
mov dword [0x505d94], 0
mov dword [0x505d98], eax
mov dword [0x505d9c], 0
mov dword [0x505da0], 0
mov dword [0x505da4], eax
mov dword [0x505dcc], 0
mov dword [0x505dd0], 0
mov dword [0x505dd4], eax
mov dword [0x505dd8], 0
mov dword [0x505ddc], 0
mov dword [0x505de0], eax
mov dword [0x505de4], 0
mov dword [0x505de8], 0
mov dword [0x505dec], eax
mov dword [0x505df0], 0
mov dword [0x505df4], 0
mov dword [0x505df8], eax
mov dword [0x505da8], 0
mov dword [0x505dac], 0
mov dword [0x505db0], eax
mov dword [0x505db4], 0
mov dword [0x505db8], 0
mov dword [0x505dbc], eax
mov dword [0x505dc0], 0
mov dword [0x505dc4], 0
mov dword [0x505dc8], eax
push 0x505d84
call dbg.ffDetectOSImpl
add esp, 4
mov ecx, 0x505d9c
mov edx, ebx
call sym._logoGetBuiltin
test eax, eax
jne 0x42412a
mov ecx, 0x505d84
mov edx, ebx
call sym._logoGetBuiltin
test eax, eax
jne 0x42412a
mov ecx, 0x505d90
mov edx, ebx
call sym._logoGetBuiltin
test eax, eax
jne 0x42412a
mov ecx, 0x505da8
mov edx, ebx
call sym._logoGetBuiltin
test eax, eax
jne 0x42412a
mov ecx, 0x5076a8
mov edx, ebx
call sym._logoGetBuiltin
mov ecx, eax
test eax, eax
mov eax, 0x4ac788
cmovne eax, ecx
jmp 0x42412a
push 0x4f2282
push dword [0x5062c0]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x423e21
cmp dword [0x5062bc], 0
je 0x4242c0
mov eax, dword [0x5062c0]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x4242c0
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x4242c0
lea ebx, [esi + 8]
jmp 0x42419c
push 0x4f2282
push dword [0x5062c0]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x423e21
mov ecx, 0x5062b8
mov edx, 2
call sym._logoGetBuiltin
test eax, eax
je 0x4242c0
mov ecx, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp dbg.logoPrintStruct
call dbg.updateLogoPath
mov eax, dword [0x5062c4]
cmp eax, 0xc
je 0x4241d0
cmp eax, 4
je 0x4241d9
cmp eax, 3
jne 0x4241ef
mov ecx, 1
jmp 0x4241db
mov ecx, dword [0x5062c0]
mov edx, 1
call dbg.ffLogoPrintChars
jmp 0x42428c
mov ecx, dword [0x5062c0]
xor edx, edx
call dbg.ffLogoPrintChars
jmp 0x42428c
mov eax, dword [esi + 0x5c]
add esi, 0x58
add ebx, 0x58
test eax, eax
je 0x4242c0
cmp dword [esi + 0x54], 0
jne 0x42418b
lea ebp, [esi + 0x28]
mov edi, ebx
push eax
push dword [0x5062c0]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x4242b8
mov eax, dword [edi]
test eax, eax
je 0x42418b
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x4241a7
jmp 0x42418b
xor ecx, ecx
mov edx, 1
jmp 0x4241dd
xor ecx, ecx
xor edx, edx
call dbg.logoPrintFileIfExists
test al, al
jne 0x423e3a
jmp 0x4242c0
push 1
push eax
call dbg.ffLogoPrintImageIfExists
add esp, 8
test al, al
je 0x4242c0
jmp 0x42428c
test esi, esi
jne 0x4245df
call dbg.updateLogoPath
call dbg.ffDetectTerminal
mov esi, eax
push str.kitty
push dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
mov edi, 8
test eax, eax
je 0x42427d
push str.konsole
push dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x42427d
push str.wezterm
push dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x42427d
push str.wayst
push dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
lea edi, [ecx + ecx*2]
add edi, 8
push 0
push edi
call dbg.ffLogoPrintImageIfExists
add esp, 8
test al, al
je 0x424298
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp dbg.logoApplyColorsDetected
mov ecx, 1
xor edx, edx
call dbg.logoPrintFileIfExists
test al, al
jne 0x423e3a
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym._logoPrintDetected
test esi, esi
jne 0x4245df
cmp dword [0x505d8c], 0
jne 0x4243d9
mov dword [0x505d84], 0
mov dword [0x505d88], 0
mov eax, dword [0x5052b0]
mov dword [0x505d8c], eax
mov dword [0x505d90], 0
mov dword [0x505d94], 0
mov dword [0x505d98], eax
mov dword [0x505d9c], 0
mov dword [0x505da0], 0
mov dword [0x505da4], eax
mov dword [0x505dcc], 0
mov dword [0x505dd0], 0
mov dword [0x505dd4], eax
mov dword [0x505dd8], 0
mov dword [0x505ddc], 0
mov dword [0x505de0], eax
mov dword [0x505de4], 0
mov dword [0x505de8], 0
mov dword [0x505dec], eax
mov dword [0x505df0], 0
mov dword [0x505df4], 0
mov dword [0x505df8], eax
mov dword [0x505da8], 0
mov dword [0x505dac], 0
mov dword [0x505db0], eax
mov dword [0x505db4], 0
mov dword [0x505db8], 0
mov dword [0x505dbc], eax
mov dword [0x505dc0], 0
mov dword [0x505dc4], 0
mov dword [0x505dc8], eax
push 0x505d84
call dbg.ffDetectOSImpl
add esp, 4
cmp dword [0x505da0], 0
je 0x424469
mov eax, dword [0x505da4]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x424469
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x424469
lea edi, [esi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea ebp, [esi + 0x28]
mov dword [esp], edi
nop word cs:[eax + eax]
push eax
push dword [0x505da4]
call ebx
add esp, 8
test eax, eax
je 0x424461
mov eax, dword [edi]
test eax, eax
je 0x42444f
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x424430
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov edi, dword [esp]
add edi, 0x58
test eax, eax
jne 0x42441d
jmp 0x424469
test esi, esi
jne 0x4245df
cmp dword [0x505d88], 0
je 0x4244e9
mov eax, dword [0x505d8c]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x4244e9
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x4244e9
lea edi, [esi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea ebp, [esi + 0x28]
mov dword [esp], edi
nop
push eax
push dword [0x505d8c]
call ebx
add esp, 8
test eax, eax
je 0x4244e1
mov eax, dword [edi]
test eax, eax
je 0x4244cf
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x4244b0
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov edi, dword [esp]
add edi, 0x58
test eax, eax
jne 0x4244a9
jmp 0x4244e9
test esi, esi
jne 0x4245df
cmp dword [0x505d94], 0
je 0x424564
mov eax, dword [0x505d98]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x424564
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x424564
lea edi, [esi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea ebp, [esi + 0x28]
mov dword [esp], edi
push eax
push dword [0x505d98]
call ebx
add esp, 8
test eax, eax
je 0x424560
mov eax, dword [edi]
test eax, eax
je 0x42454e
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x42452f
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov edi, dword [esp]
add edi, 0x58
test eax, eax
jne 0x424529
jmp 0x424564
test esi, esi
jne 0x4245df
cmp dword [0x505dac], 0
je 0x4245e6
mov eax, dword [0x505db0]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x4245e6
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x4245e6
lea edi, [esi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea ebp, [esi + 0x28]
mov dword [esp], edi
push eax
push dword [0x505db0]
call ebx
add esp, 8
test eax, eax
je 0x4245db
mov eax, dword [edi]
test eax, eax
je 0x4245c9
lea ecx, [edi + 4]
cmp edi, ebp
mov edi, ecx
jbe 0x4245aa
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov edi, dword [esp]
add edi, 0x58
test eax, eax
jne 0x4245a4
jmp 0x4245e6
test esi, esi
je 0x4245e6
mov ecx, esi
jmp 0x42412c
xor edi, edi
cmp dword [0x5076ac], 0
je 0x424663
mov eax, dword [0x5076b0]
movsx esi, byte [eax]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x424663
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov esi, dword [eax*4 + 0x505144]
mov eax, dword [esi + 4]
test eax, eax
je 0x424663
lea ebx, [esi + 8]
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea edi, [esi + 0x28]
mov dword [esp], ebx
push eax
push dword [0x5076b0]
call ebp
add esp, 8
test eax, eax
je 0x424661
mov eax, dword [ebx]
test eax, eax
je 0x42464d
lea ecx, [ebx + 4]
cmp ebx, edi
mov ebx, ecx
jbe 0x42462e
mov eax, dword [esi + 0x5c]
add esi, 0x58
mov ebx, dword [esp]
add ebx, 0x58
test eax, eax
jne 0x424628
xor edi, edi
jmp 0x424663
mov edi, esi
test edi, edi
mov esi, 0x4ac788
cmovne esi, edi
mov ecx, esi
jmp 0x42412c