Function at 0x4144d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x6b4888]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x414517
mov ecx, dword [edi + 8]
mov esi, dword [edi]
shl ecx, 4
add ecx, dword [edi + 8]
lea ebx, [esi + ecx*4]
cmp esi, ebx
je 0x41450e
mov ecx, esi
call fcn.00419970
add esi, 0x44
cmp esi, ebx
jne 0x414500
mov dword [edi + 8], 0
jmp 0x414535
push 0x4000
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi], 0
call fcn.00414090
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x78], eax
mov ebx, 0x400
push 0
push str.__sanitizer::ListOfModules::init
push ebx
call fcn.00413d30
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x88], esi
push eax
push ebx
push esi
push dword [ebp - 0x78]
call sub.KERNEL32.dll_K32EnumProcessModules
cdq
or eax, edx
je 0x414866
cmp dword [ebp - 0x58], ebx
jbe 0x41458a
push ebx
push esi
call fcn.004141a0
mov ebx, dword [ebp - 0x58]
add esp, 8
jmp 0x414547
test esi, esi
je 0x414547
push 0xf8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
call fcn.00407400
cmp dword [ebp - 0x6c], 0xf8
jae 0x4145e0
push 0xf8
lea ecx, [ebp - 0x74]
call fcn.00407400
mov eax, 0xf8
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x6c]
push 0
push eax
call fcn.00416fa0
add esp, 0xc
push 0x1000
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0
call fcn.00414ac0
cmp dword [ebp - 0x60], 0x1000
jae 0x414636
push 0x1000
lea ecx, [ebp - 0x68]
call fcn.00414ac0
mov ecx, dword [ebp - 0x60]
mov eax, 0x1000
sub eax, ecx
add eax, eax
push eax
mov eax, dword [ebp - 0x68]
push 0
lea eax, [eax + ecx*2]
push eax
call fcn.00416fa0
add esp, 0xc
push 0x1000
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0
call fcn.00407400
cmp dword [ebp - 0x4c], 0x1000
jae 0x414687
push 0x1000
lea ecx, [ebp - 0x54]
call fcn.00407400
mov eax, dword [ebp - 0x4c]
mov ecx, 0x1000
sub ecx, eax
add eax, dword [ebp - 0x54]
push ecx
push 0
push eax
call fcn.00416fa0
add esp, 0xc
mov ecx, dword [ebp - 0x58]
xor eax, eax
shr ecx, 2
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], eax
test ecx, ecx
je 0x41482a
mov eax, dword [esi + eax*4]
lea ecx, [ebp - 0x98]
push 0xc
push ecx
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x414817
mov esi, dword [ebp - 0x68]
push 0x1000
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4146db
xor ecx, ecx
mov word [esi], cx
push 0
push 0
push 0x1000
push dword [ebp - 0x54]
inc eax
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
cmp eax, 0x1000
jae 0x4148b5
mov ecx, dword [ebp - 0x54]
push 0xf8
push dword [ebp - 0x74]
mov byte [ecx + eax], 0
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
add eax, esi
mov dword [ebp - 0x84], esi
push ecx
mov dword [ebp - 0x80], eax
call fcn.00413360
sub esi, eax
mov dword [ebp - 0x48], 0
push 0x20
lea eax, [ebp - 0x34]
mov dword [ebp - 0x5c], esi
push 0
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x14], 0
call fcn.00416fa0
mov ecx, dword [edi + 8]
mov eax, 0xf0f0f0f1
mul dword [edi + 4]
add esp, 0x18
mov dword [ebp - 8], 0
shr edx, 6
xor esi, esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp ecx, edx
ja 0x41489c
jne 0x4147af
lea eax, [ecx + 1]
push eax
call fcn.00411520
add esp, 4
mov ecx, edi
push eax
call fcn.00414090
mov edx, dword [edi + 8]
mov ecx, edx
push 0x44
shl ecx, 4
add ecx, edx
lea eax, [edx + 1]
mov dword [edi + 8], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi]
lea eax, [eax + ecx*4]
push eax
call fcn.00416f10
mov eax, dword [edi + 8]
add esp, 0xc
xor ecx, ecx
test eax, eax
je 0x414882
push dword [ebp - 0x5c]
mov ecx, eax
push dword [ebp - 0x54]
shl ecx, 4
add ecx, eax
mov eax, dword [edi]
lea esi, [eax + ecx*4]
lea ecx, [esi - 0x44]
call fcn.00419a20
push 0
push 1
push 1
push dword [ebp - 0x80]
lea ecx, [esi - 0x44]
push dword [ebp - 0x84]
call fcn.004198d0
mov esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, dword [ebp - 0x8c]
jb 0x4146a0
push ebx
push esi
call fcn.004141a0
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.004141a0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.004141a0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
call fcn.004141a0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00590271
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push str.__K32EnumProcessModules_cur_process__hmodules__modules_buffer_size__bytes_required_______0_
push 0x2c8
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_win.cpp
call fcn.004123d0
push 0
push 0
push ecx
push eax
push str.__size________0__
push 0x1fe
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_common.h
call fcn.004123d0
push 0
push edx
push esi
push ecx
push str.__size________capacity____
push 0x1f6
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_common.h
call fcn.004123d0
push 0
push 0x1000
push ecx
push eax
push str.__i_______size___
push 0x1ee
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_common.h
call fcn.004123d0
int3