Function at 0x4219c0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44dfae
push eax
mov eax, 0x1268
mov dword fs:[0], esp
call fcn.004473e0
mov eax, dword [esp + 0x1278]
push ebx
push esi
xor ebx, ebx
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x421d3f
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x278]
mov dword [esp + 0x274], ebx
lea edx, [esp + 0x274]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push ecx
push 0x400
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x421d37
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jbe 0x421a59
mov eax, 0x400
jmp 0x421a5c
shr eax, 2
cmp eax, ebx
jle 0x421d37
lea edx, [esp + 0x274]
push ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x421a78
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x72]
mov word [esp + 0x70], bx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push 0x104
stosw word es:[edi], ax
mov edx, dword [ecx]
lea eax, [esp + 0x74]
push eax
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x421d1c
mov eax, dword [0x463290]
lea ecx, [esp + 0x70]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x421b12
lea edx, [esp + 0x70]
shr edx, 0x10
jne 0x421ada
xor eax, eax
lea ecx, [esp + 0x70]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004050d0
jmp 0x421b12
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x421b12
push esi
lea ecx, [esp + 0x14]
call fcn.00402e70
test eax, eax
je 0x421b12
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov eax, ecx
lea esi, [esp + 0x70]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1280], 0
call fcn.00414e10
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x421b49
mov edx, dword [eax - 4]
test edx, edx
jge 0x421ba5
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x421b52
mov ecx, ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.00402e70
test eax, eax
jne 0x421b64
xor ebx, ebx
jmp 0x421ba7
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ebx + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov dword [eax - 8], ebx
mov eax, dword [0x463294]
cmp ebp, eax
je 0x421ba1
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421ba1
push ebp
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x10]
mov ebx, eax
mov cl, byte [esp + 0x17]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
call edi
add esp, 4
mov esi, eax
lea ecx, [esp + 0x28]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x421bf4
mov edx, dword [esp + 0x2c]
push esi
push ebx
push edx
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x28]
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov al, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1284], 1
mov byte [esp + 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x1288], 2
call fcn.00421ee0
mov ecx, dword [esp + 0x128c]
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x1284], 3
push eax
call fcn.00421de0
mov esi, dword [eax]
lea ecx, [esp + 0x50]
mov byte [esp + 0x1280], 2
call fcn.0040a1a0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1284], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x4d6e34
add esi, 0x1c
call edi
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x421ca5
mov eax, dword [esi + 4]
push edi
push 0x4d6e34
push eax
call fcn.00408b50
add esp, 0xc
mov ecx, esi
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1284], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x10]
call fcn.00414e10
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1280], 0xffffffff
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x463294]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x421d18
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421d18
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x421a76
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x1270]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1274
ret 8