Function at 0x43cd20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call sub.USER32.dll_GetForegroundWindow
test eax, eax
je 0x43cfbc
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x27c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43cfd7
mov dword [ebp - 0x294], edi
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 2
push eax
push 4
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0
push eax
push edi
mov dword [ebp - 0x284], 0
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x43cdfc
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x278]
call fcn.00402850
push str.Cannot_enumerate_process_modules.
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 4
jmp 0x43d007
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1860
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x280]
push edi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
jne 0x43ce60
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x278]
call fcn.00402850
push str.Cannot_get_a_process_path_of_current_window.
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 5
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 6
jmp 0x43d007
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 7
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cec0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00414210
mov byte [ebp - 4], 8
call fcn.0046a910
push 0
mov esi, eax
lea eax, [ebp - 0x248]
push 1
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
push ecx
call fcn.0048bc80
add esp, 8
push esi
call fcn.004904c0
mov edx, dword [ebp - 0x21c]
add esp, 0x28
cmp edx, 8
jb 0x43cf56
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43cf4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d024
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 0x10
jb 0x43cfad
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43cfa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d024
push edx
push ecx
call fcn.0049f81a
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x260]
call fcn.00402850
push str.OpenProcess_Failed.
push eax
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x290]
call fcn.00402b30
push 0x4f9f28
lea eax, [ebp - 0x290]
push eax
call fcn.004a0dc4
call fcn.004a48ef
int3