Function at 0x414b20
Capabilities:
Get process heap flags
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov ebx, dword [0x4425b8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x414f41
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
call sub.dbghelp.dll_SymSetExtendedOption
sub esp, 8
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], 0x414950
mov dword [esp + 8], eax
mov eax, dword [0x4425b8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.dbghelp.dll_SymEnumerateModules64
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], 0x3e8
call sub.dbghelp.dll_SymSetExtendedOption
sub esp, 8
mov dword [esp + 0xc], 0x414350
mov dword [esp + 8], 0x6d0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
mov ecx, dword [ebp - 0x20]
mov eax, 0x43679c
mov edx, dword [0x4425b8]
test edx, edx
je 0x414bea
mov edx, dword [edx + 0x24]
cmp dword [edx + 4], 8
mov edx, 0x4368e6
cmove eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], str.Module_tAddress_t_t_t_sDebug_info_tName___d_modules__n
call fcn.004242a0
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x414f54
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], 0
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
or eax, ebx
mov dword [ebp - 0x58], eax
lea esi, [esi]
nop
mov edx, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x30], 0x6d0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
add eax, edx
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x414c75
mov ecx, dword [eax + 8]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [eax + 0xc]
mov edx, dword [ebp - 0x54]
cmp esi, ecx
sbb edx, ebx
jb 0x414d9c
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, ecx
adc edx, ebx
mov ebx, dword [ebp - 0x54]
cmp esi, eax
sbb ebx, edx
jae 0x414d9c
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x436955
lea ebx, [eax + 0x690]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strstr]
test eax, eax
je 0x414e28
mov dword [esp], str.ELF_t
call fcn.004242a0
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, dword [ebp - 0x28]
call fcn.00414380
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test edx, edx
mov dword [ebp - 0x2c], eax
je 0x414f38
xor esi, esi
jmp 0x414cd6
mov edi, dword [ebp - 0x20]
add esi, 1
cmp esi, edi
jae 0x414d98
mov eax, dword [ebp - 0x2c]
imul ebx, esi, 0x6d0
mov dword [esp + 4], 0x436955
lea edi, [eax + ebx]
lea eax, [edi + 0x690]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strstr]
test eax, eax
jne 0x414cc8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], edx
mov edx, dword [edi + 8]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x48], edx
cmp edx, eax
mov dword [ebp - 0x44], ecx
sbb ecx, dword [ebp - 0x34]
jb 0x414cc8
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x34], edx
xor edx, edx
mov edi, dword [ebp - 0x34]
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x44]
cmp dword [ebp - 0x38], eax
sbb edi, edx
jb 0x414cc8
mov dword [esp], str.___PE_t
add esi, 1
call fcn.004242a0
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, ebx
call fcn.00414380
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
cmp esi, edi
jb 0x414cd6
lea esi, [esi]
add dword [ebp - 0x60], 1
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cmp eax, edi
jb 0x414c30
mov eax, dword [ebp - 0x60]
test eax, eax
sete bl
mov esi, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x5c]
sub esp, 0xc
or eax, dword [ebp - 0x54]
je 0x414e1b
test bl, bl
je 0x414e1b
mov edx, dword [0x4425b8]
mov eax, 8
test edx, edx
je 0x414dfd
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 4]
add eax, eax
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], str.0x_0I64x_is_not_a_valid_module_address_n
mov dword [esp + 0xc], ebx
call fcn.004242a0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], edi
add eax, 0x690
mov dword [ebp - 0x48], eax
mov dword [esp + 4], 0x436955
mov ebx, dword [ebp - 0x48]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strstr]
test eax, eax
je 0x414ef0
mov esi, dword [ebp - 0x40]
mov ecx, ebx
mov eax, dword [ebx - 0x688]
mov edx, dword [ebx - 0x684]
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov ebx, edi
cmp esi, eax
sbb ebx, edx
jb 0x414ef0
mov ecx, dword [ecx - 0x680]
xor ebx, ebx
add ecx, eax
mov eax, dword [ebp - 0x40]
adc ebx, edx
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, esi
adc edx, edi
cmp ecx, eax
mov edi, ebx
sbb edi, edx
jb 0x414ef0
mov ebx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x50]
cmp dword [ebp - 0x38], edi
jb 0x414d9c
mov dword [esp + 4], 0x436968
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strstr]
test eax, eax
je 0x414f10
mov dword [esp], str.ELF_t
call fcn.004242a0
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, dword [ebp - 0x28]
call fcn.00414380
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
add dword [ebp - 0x60], 1
mov dword [ebp - 0x2c], eax
jmp 0x414d9c
add dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x48], 0x6d0
cmp eax, ecx
jne 0x414e40
mov ebx, dword [ebp - 0x64]
jmp 0x414eaa
mov dword [esp + 4], 0x3c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
jne 0x414ebf
mov dword [esp], 0x43696c
call fcn.004242a0
jmp 0x414ecb
add dword [ebp - 0x60], 1
jmp 0x414dab
mov dword [ebp + 8], str.Cannot_get_info_on_module_while_no_process_is_loaded_n
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004242a0
mov ebx, 1
jmp 0x414db3