Function at 0x42e2c0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
cmp byte [0x506391], 0
je 0x42e2ca
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, dword [esp + 0x48]
mov dword [esp], 0x80
push 0x80
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x48]
cmp eax, 5
ja case.default.0x42e304
jmp dword [eax*4 + 0x4f2e9c]
movzx ebx, byte [edi + 0x51]
movzx eax, byte [edi + 0x52]
cmp al, 7
mov esi, 7
mov ecx, eax
cmovae ecx, esi
cmp bl, cl
jbe 0x42e35f
jmp 0x42e75d
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x10]
mov esi, 7
movzx eax, byte [edi + 0x52]
cmp al, 7
mov ecx, eax
cmovae ecx, esi
lea edx, [ebx + 1]
movzx ecx, cl
cmp ebx, ecx
mov ebx, edx
jae 0x42e687
push ebx
push 0x4f2c90
lea eax, [esp + 8]
push eax
call dbg.ffStrbufAppendF
add esp, 0xc
cmp byte [edi + 0x50], 0
je 0x42e344
mov dword [esp + 0x10], ebx
mov eax, dword [esp]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
xor ebx, ebx
jmp 0x42e3b7
push edi
push esi
call sym._realloc
add esp, 8
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x48]
mov dword [esi + ebp], 0x8896e2
add ebp, 3
inc bl
cmp bl, byte [edi + 0x50]
jae 0x42e330
test eax, eax
je 0x42e3c6
mov ecx, ebp
not ecx
add ecx, eax
cmp ecx, 2
ja 0x42e3a2
cmp eax, 2
mov ecx, eax
mov edx, 0x20
cmovb ecx, edx
lea edx, [ebp + 4]
nop word cs:[eax + eax]
mov edi, ecx
add ecx, ecx
cmp edx, edi
ja 0x42e3e0
test eax, eax
jne 0x42e390
push edi
call sym._malloc
add esp, 4
test ebp, ebp
je 0x42e40b
lea ecx, [ebp + 1]
push ecx
push esi
push eax
mov esi, eax
call sym._memcpy
add esp, 0xc
jmp 0x42e39c
mov byte [eax], 0
jmp 0x42e39a
mov esi, 0x4f2cbf
jmp 0x42e438
mov esi, 0x4f2cab
jmp 0x42e438
mov esi, 0x4f2caf
jmp 0x42e438
mov esi, 0x4f2cb7
jmp 0x42e438
mov esi, 0x4f2cb3
jmp 0x42e438
mov esi, 0x4f2cbb
mov edi, esp
push esi
push 8
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 7
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 6
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 5
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 4
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 3
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 2
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
push esi
push 1
push str.e_3_dm_s
push edi
call dbg.ffStrbufAppendF
add esp, 0x10
xor eax, eax
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 4]
test ebp, ebp
je 0x42e64a
test al, al
jne 0x42e4f5
lea eax, [edi + 0x20]
push 0
push eax
push 0
push str.Colors
call dbg.ffPrintLogoAndKey
add esp, 0x10
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x42e516
mov dword [esp + 0xc], eax
mov eax, dword [0x507634]
test eax, eax
je 0x42e510
push eax
push str.e__uC
call sym._printf.llvm.1952461286852829747
add esp, 8
inc dword [0x50763c]
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x42e591
mov dword [esp + 0x10], ebp
movaps xmm0, xmmword [str.________________e_3_dm]
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x14], xmm0
cmp esi, 0x20
jb 0x42e56c
mov ebx, 0x20
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea edi, [esp + 0x14]
nop word cs:[eax + eax]
push 1
call ebp
add esp, 4
push eax
push 0x20
push 1
push edi
call sym._fwrite
add esp, 0x10
add ebx, 0x20
cmp ebx, esi
jbe 0x42e550
and esi, 0x1f
je 0x42e58d
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
push 1
push ecx
call sym._fwrite
add esp, 0x10
mov ebp, dword [esp + 0x10]
mov eax, dword [esp]
test eax, eax
je 0x42e5a3
mov ecx, ebp
not ecx
add ecx, eax
cmp ecx, 4
jae 0x42e5dd
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebp + 5]
nop word cs:[eax + eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x42e5c0
test eax, eax
je 0x42e5e3
push ebx
push dword [esp + 0xc]
call sym._realloc
add esp, 8
mov esi, eax
jmp 0x42e5ff
mov esi, dword [esp + 8]
jmp 0x42e606
push ebx
call sym._malloc
add esp, 4
mov esi, eax
lea eax, [ebp + 1]
push eax
push dword [esp + 0xc]
push esi
call sym._memcpy
add esp, 0xc
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esi + ebp], 0x6d305b1b
mov ebx, dword [esp + 4]
mov edi, dword [esp + 8]
mov byte [edi + ebx + 4], 0
add ebx, 4
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
push eax
push ebx
push 1
push edi
call sym._fwrite
add esp, 0x10
push esi
push 0xa
call sym._fputc
add esp, 8
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
test al, al
jne 0x42e66d
add edi, 0x20
push str.Nothing_to_print
push 0x4f2cd3
push 0
push edi
push 0
push str.Colors
call dbg.ffPrintError
add esp, 0x18
cmp dword [esp], 0
je 0x42e67f
push dword [esp + 8]
call sym._free
add esp, 4
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebp, dword [esp + 4]
test ebp, ebp
je 0x42e75d
lea eax, [edi + 0x20]
push 0
push eax
push 0
push str.Colors
call dbg.ffPrintLogoAndKey
add esp, 0x10
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x42e719
mov dword [esp + 0x10], ebp
movaps xmm0, xmmword [str.________________e_3_dm]
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x14], xmm0
cmp esi, 0x20
jb 0x42e6f4
mov ebx, 0x20
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea edi, [esp + 0x14]
push 1
call ebp
add esp, 4
push eax
push 0x20
push 1
push edi
call sym._fwrite
add esp, 0x10
add ebx, 0x20
cmp ebx, esi
jbe 0x42e6d8
and esi, 0x1f
je 0x42e715
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
push 1
push ecx
call sym._fwrite
add esp, 0x10
mov ebp, dword [esp + 0x10]
mov eax, dword [esp]
test eax, eax
je 0x42e72b
mov ecx, ebp
not ecx
add ecx, eax
cmp ecx, 4
jae 0x42e76a
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebp + 5]
nop dword [eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x42e740
test eax, eax
je 0x42e770
push ebx
push dword [esp + 0xc]
call sym._realloc
add esp, 8
mov esi, eax
jmp 0x42e78c
mov dword [esp + 0xc], 0
jmp 0x42e7f9
mov esi, dword [esp + 8]
jmp 0x42e793
push ebx
call sym._malloc
add esp, 4
mov esi, eax
lea eax, [ebp + 1]
push eax
push dword [esp + 0xc]
push esi
call sym._memcpy
add esp, 0xc
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esi + ebp], 0x6d305b1b
mov ebx, dword [esp + 4]
mov edi, dword [esp + 8]
mov byte [edi + ebx + 4], 0
add ebx, 4
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
push eax
push ebx
push 1
push edi
call sym._fwrite
add esp, 0x10
push esi
push 0xa
call sym._fputc
add esp, 8
cmp dword [esp], 0
je 0x42e7da
mov byte [edi], 0
jmp 0x42e7e3
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x48]
mov dword [esp + 4], 0
movzx eax, byte [edi + 0x52]
mov cl, 1
mov dword [esp + 0xc], ecx
movzx ecx, byte [edi + 0x51]
cmp cl, 9
mov ebx, 8
cmovae ebx, ecx
cmp bl, al
jbe 0x42e836
mov eax, dword [esp + 0xc]
jmp 0x42e4c8
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x10]
inc bl
cmp bl, byte [edi + 0x52]
ja 0x42e80c
movzx eax, bl
add eax, 0xfffffff8
push eax
push str.e_1_9_dm
lea eax, [esp + 8]
push eax
call dbg.ffStrbufAppendF
add esp, 0xc
cmp byte [edi + 0x50], 0
je 0x42e82f
mov dword [esp + 0x10], ebx
mov eax, dword [esp]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
xor ebx, ebx
jmp 0x42e893
push edi
push esi
call sym._realloc
add esp, 8
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x48]
mov dword [esi + ebp], 0x8896e2
add ebp, 3
inc bl
cmp bl, byte [edi + 0x50]
jae 0x42e820
test eax, eax
je 0x42e8a2
mov ecx, ebp
not ecx
add ecx, eax
cmp ecx, 2
ja 0x42e882
cmp eax, 2
mov ecx, eax
mov edx, 0x20
cmovb ecx, edx
lea edx, [ebp + 4]
nop word cs:[eax + eax]
mov edi, ecx
add ecx, ecx
cmp edx, edi
ja 0x42e8c0
test eax, eax
jne 0x42e870
push edi
call sym._malloc
add esp, 4
test ebp, ebp
je 0x42e8eb
lea ecx, [ebp + 1]
push ecx
push esi
push eax
mov esi, eax
call sym._memcpy
add esp, 0xc
jmp 0x42e87c
mov byte [eax], 0
jmp 0x42e87a