Function at 0x437530
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x490061
mov eax, dword fs:[0]
push eax
mov eax, 0x1484
call fcn.004645c0
mov eax, dword [0x4b5a50]
xor eax, esp
mov dword [esp + 0x1480], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
xor eax, esp
push eax
lea eax, [esp + 0x1498]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x1050], ax
mov ebx, 7
mov eax, ecx
mov dword [esp + 0x1064], ebx
mov dword [esp + 0x1060], edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x437593
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x1054]
call fcn.00411830
mov dword [esp + 0x14a0], edi
xor ecx, ecx
mov eax, 0x49a67c
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x1044], edi
mov word [esp + 0x1034], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4375d7
sub eax, edx
sar eax, 1
push eax
push 0x49a67c
lea ecx, [esp + 0x1038]
call fcn.00411830
mov byte [esp + 0x14a0], 1
mov dword [esp + 0x18], edi
cmp dword [esp + 0x1060], edi
jne 0x43766c
cmp dword [esp + 0x1044], edi
jne 0x43766c
mov esi, 8
cmp dword [esp + 0x1048], esi
jb 0x437634
mov edx, dword [esp + 0x1034]
push edx
call fcn.0043e229
add esp, 4
xor eax, eax
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x1044], edi
mov word [esp + 0x1034], ax
cmp dword [esp + 0x1064], esi
jb 0x437665
mov ecx, dword [esp + 0x1050]
push ecx
call fcn.0043e229
add esp, 4
xor eax, eax
jmp 0x437769
lea edx, [esp + 0x24]
push edx
push 0x1000
lea eax, [esp + 0x34]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4376da
mov esi, 8
cmp dword [esp + 0x1048], esi
jb 0x4376a2
mov ecx, dword [esp + 0x1034]
push ecx
call fcn.0043e229
add esp, 4
xor edx, edx
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x1044], edi
mov word [esp + 0x1034], dx
cmp dword [esp + 0x1064], esi
jb 0x437665
mov eax, dword [esp + 0x1050]
push eax
call fcn.0043e229
add esp, 4
xor eax, eax
jmp 0x437769
lea ebx, [esp + 0x104c]
call fcn.00433810
lea ebx, [esp + 0x1030]
call fcn.00433810
mov eax, dword [esp + 0x24]
shr eax, 2
mov ecx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
cmp eax, ecx
ja 0x437793
mov ebp, 8
cmp dword [esp + 0x1048], ebp
jb 0x43772c
mov eax, dword [esp + 0x1034]
push eax
call fcn.0043e229
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1048], 7
mov dword [esp + 0x1044], 0
mov word [esp + 0x1034], cx
cmp dword [esp + 0x1064], ebp
jb 0x437765
mov edx, dword [esp + 0x1050]
push edx
call fcn.0043e229
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1480]
xor ecx, esp
call fcn.0045ceb0
add esp, 0x1490
ret
xor edi, edi
cmp dword [esp + ecx*4 + 0x2c], edi
je 0x4379d7
mov ecx, dword [0x4a3e40]
mov esi, dword [str._unknown_]
mov edi, dword [0x4a3e34]
mov ebx, dword [0x4a3e38]
mov ebp, dword [0x4a3e3c]
push 0x1f4
lea edx, [esp + 0x12a4]
push 0
push edx
mov dword [esp + 0x1298], esi
mov dword [esp + 0x129c], edi
mov dword [esp + 0x12a0], ebx
mov dword [esp + 0x12a4], ebp
mov dword [esp + 0x12a8], ecx
call fcn.00462c20
mov eax, dword [0x4a3e40]
add esp, 0xc
push 0x1f4
lea ecx, [esp + 0x109c]
push 0
push ecx
mov dword [esp + 0x1090], esi
mov dword [esp + 0x1094], edi
mov dword [esp + 0x1098], ebx
mov dword [esp + 0x109c], ebp
mov dword [esp + 0x10a0], eax
call fcn.00462c20
mov edx, dword [esp + 0x20]
mov eax, dword [esp + edx*4 + 0x38]
add esp, 0xc
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x437896
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x437896
mov eax, dword [esp + 0x1c]
push 0x104
lea edx, [esp + 0x1290]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
mov edx, dword [esp + 0x1c]
push 0x104
lea ecx, [esp + 0x1088]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
xor eax, eax
mov dword [esp + 0x1080], 7
mov dword [esp + 0x107c], 0
mov word [esp + 0x106c], ax
mov byte [esp + 0x14a0], 2
cmp dword [esp + 0x1060], eax
je 0x437958
lea ecx, [esp + 0x128c]
push ecx
push 0x49af2c
lea ecx, [esp + 0x1070]
call fcn.00433910
add esp, 8
lea ebx, [esp + 0x1068]
call fcn.00433810
mov eax, dword [esp + 0x1050]
mov ebp, 8
cmp dword [esp + 0x1064], ebp
jae 0x43790f
lea eax, [esp + 0x1050]
mov edi, dword [esp + 0x1060]
push eax
mov eax, dword [esp + 0x1080]
lea ecx, [esp + 0x106c]
call fcn.00433e90
test eax, eax
jne 0x43795d
mov dword [esp + 0x18], 1
cmp dword [esp + 0x1080], ebp
jb 0x437713
mov edx, dword [esp + 0x106c]
push edx
call fcn.0043e229
add esp, 4
jmp 0x437713
mov ebp, 8
cmp dword [esp + 0x1044], 0
je 0x4379ab
lea edx, [esp + 0x1084]
push edx
push 0x49af2c
lea ecx, [esp + 0x1070]
call fcn.00433910
lea ebx, [esp + 0x1070]
call fcn.00433810
mov eax, ebx
push eax
lea ecx, [esp + 0x103c]
call fcn.00433d50
add esp, 0xc
cmp eax, 0xffffffff
je 0x4379ab
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x14a0], 1
cmp dword [esp + 0x1080], ebp
jb 0x4379d3
mov ecx, dword [esp + 0x106c]
push ecx
call fcn.0043e229
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jb 0x437791
jmp 0x43770e