Function at 0x423b10
Capabilities:
Write file on windows

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x74
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x43ac08]
test eax, eax
je 0x423fc0
mov esi, dword [sym.imp.dbghelp.dll_SymSetExtendedOption]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
call esi
sub esp, 8
mov ebx, eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [0x43ac08]
mov dword [esp + 4], sym._info_mod_cb_16
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.dbghelp.dll_SymEnumerateModules64]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], 0x3e8
call esi
mov edx, dword [ebp - 0x14]
sub esp, 8
test edx, edx
je 0x423e5c
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov ebx, ecx
lea esi, cs:[esi]
cmp dword [ebx + 0xcc0], 3
je 0x423f60
inc eax
add ebx, 0xd10
cmp edx, eax
jne 0x423bc0
mov dword [ebp - 0x5c], 0
mov dword [esp + 0xc], sym._module_compare
mov dword [esp + 8], 0xd10
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_qsort]
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x423fe0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x423c36
imul ecx, ebx, 0xd10
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x5c]
xor ebx, ebx
add ecx, eax
nop
xor edx, edx
cmp dword [eax + 0xcb4], esi
sete dl
add eax, 0xd10
add ebx, edx
cmp eax, ecx
jne 0x423c20
mov edx, dword [0x43ac08]
mov eax, 0x18
test edx, edx
je 0x423c58
mov edx, dword [edx + 0x2c]
mov edx, dword [edx + 4]
add edx, edx
cmp edx, 0x10
mov edx, 0x28
cmove eax, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.Debug_info
mov dword [esp + 0xc], str.Address
mov dword [esp + 8], eax
mov dword [esp + 4], str.Module
mov dword [esp], str.__8s__s__16sName___d_modules
call sym._dbg_printf
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x423fa0
mov dword [esp], 0x440b26
call sym._dbg_printf
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x20], 0
mov edi, ecx
mov dword [ebp - 0x24], eax
setne byte [ebp - 0x61]
test ecx, ecx
je 0x424018
imul ebx, dword [ebp - 0x20], 0xd10
mov eax, dword [ebp - 0x24]
lea esi, [eax + ebx]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x423d1a
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], edx
cmp ecx, dword [ebp - 0x2c]
sbb eax, dword [ebp - 0x28]
jb 0x423df5
xor edx, edx
mov eax, dword [esi + 0x10]
add eax, dword [ebp - 0x2c]
adc edx, dword [ebp - 0x28]
cmp ecx, eax
mov ecx, dword [ebp - 0x50]
sbb ecx, edx
jae 0x423df5
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x423d30
mov eax, dword [ebp - 0x5c]
cmp dword [esi + 0xcb4], eax
jne 0x423df5
test byte [esi + 0xcc4], 4
mov eax, 1
cmovne eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xcc0]
lea edx, [eax - 1]
cmp edx, 1
jbe 0x423e90
test edi, edi
je 0x423e73
cmp eax, 3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], esi
sete byte [ebp - 0x2c]
xor ecx, ecx
lea ebx, [eax + 8]
jmp 0x423d87
inc ecx
add ebx, 0xd10
cmp ecx, edi
je 0x423e70
mov eax, dword [ebx + 0xcb8]
dec eax
cmp eax, 1
ja 0x423d78
cmp byte [ebp - 0x2c], 0
je 0x423d78
mov esi, dword [ebp - 0x40]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
mov esi, eax
mov eax, dword [ebp - 0x38]
cmp eax, esi
sbb edx, dword [ebp - 0x48]
jb 0x423d78
mov esi, dword [ebp - 0x40]
xor edx, edx
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0x4c]
adc edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], edx
mov esi, dword [ebp - 0x48]
xor edx, edx
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
cmp dword [ebp - 0x4c], eax
sbb esi, edx
jb 0x423d78
mov esi, dword [ebp - 0x40]
cmp ecx, edi
jae 0x423e73
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, edi
jb 0x423cd0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x423e51
cmp byte [ebp - 0x61], 0
je 0x423e51
mov edx, dword [0x43ac08]
mov eax, 8
test edx, edx
je 0x423e33
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 4]
add eax, eax
mov esi, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], str.0x_0I64x_is_not_a_valid_module_address_n
mov dword [esp + 8], esi
mov esi, dword [ebp - 0x50]
mov dword [esp + 0xc], esi
call sym._dbg_printf
mov edx, dword [ebp - 0x44]
test edx, edx
jne 0x423f80
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov eax, esi
xor edx, edx
call sym._module_print_info
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x60]
jmp 0x423df5
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov eax, esi
xor esi, esi
call sym._module_print_info
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
test edi, edi
je 0x423e88
mov dword [ebp - 0x2c], ebx
jmp 0x423eb5
inc esi
cmp edi, esi
jbe 0x423e88
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
add ecx, edx
mov eax, dword [ecx + 0xcc0]
dec eax
cmp eax, 1
ja 0x423eb0
imul eax, esi, 0xd10
add eax, edx
cmp dword [eax + 0xcc0], 3
mov dword [ebp - 0x38], eax
jne 0x423eb0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
sbb edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
jb 0x423eb0
mov eax, dword [ebp - 0x38]
mov edx, dword [ecx + 0x10]
xor ecx, ecx
add edx, dword [ebp - 0x40]
adc ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, dword [ebp - 0x4c]
adc edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
cmp edx, eax
mov edx, ecx
sbb edx, dword [ebp - 0x48]
jb 0x423eb0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov edx, 1
call sym._module_print_info
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x423eb0
mov esi, dword [ebx + 0xcb4]
cmp edx, eax
mov eax, 0
cmovne eax, esi
mov dword [ebp - 0x5c], eax
jmp 0x423bdf
mov dword [esp], str._denotes_modules_for_which_image_file_couldnt_be_found_n
call sym._dbg_printf
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
sub eax, ebx
mov dword [esp], str.___u_for_wow64_not_listed
mov dword [esp + 4], eax
call sym._dbg_printf
jmp 0x423c8f
mov dword [edi], str.Cannot_get_info_on_module_while_no_process_is_loaded_n
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp sym._dbg_printf
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], str.Debug_info
mov dword [esp + 0xc], str.Machine
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.Address
mov dword [esp + 4], str.Module
mov dword [esp], str.__8s__40s__16s__16sName___d_modules__n
call sym._dbg_printf
jmp 0x423c9b
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x423e1c
jmp 0x423e5c