Function at 0x401220
Capabilities:
Enumerate process modules
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x418181
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x41e184]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e184]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
push 0xb
xor ebx, ebx
mov ebp, 0xf
push str.SbieDll.dll
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00401900
push ebx
push 2
mov dword [esp + 0x4e0], ebx
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
push 0x124
lea eax, [esp + 0x7c]
push ebx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], ebx
call fcn.0040af00
push 0x220
lea ecx, [esp + 0x1b0]
push ebx
push ecx
mov dword [esp + 0x1b4], ebx
call fcn.0040af00
add esp, 0x18
cmp esi, 0xffffffff
jne 0x4012e1
cmp dword [esp + 0x70], 0x10
jb 0x40150d
mov edx, dword [esp + 0x5c]
push edx
jmp 0x401505
push 0x103
lea eax, [esp + 0x3c9]
push ebx
push eax
mov dword [esp + 0x80], 0x128
mov byte [esp + 0x3d0], bl
call fcn.0040af00
add esp, 0xc
push 0x103
lea ecx, [esp + 0x3c8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x3c4]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401340
sub eax, ecx
push eax
lea edx, [esp + 0x3c8]
push edx
lea ecx, [esp + 0x44]
call fcn.00401900
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov byte [esp + 0x4f8], 1
push ebx
lea eax, [esp + 0x60]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004016f0
lea ecx, [esp + 0x3c]
call fcn.004011a0
add esp, 0x1c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e4], 2
call fcn.004016f0
mov edi, 0x10
cmp dword [esp + 0x38], edi
jb 0x4013bd
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004067fd
add esp, 4
lea edx, [esp + 0x74]
push edx
push esi
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4014db
lea eax, [esp + 0x74]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x4014db
cmp dword [esp + 0x54], edi
mov ecx, dword [esp + 0x40]
jae 0x4013f1
lea ecx, [esp + 0x40]
lea eax, [esp + 0x98]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401418
cmp dl, bl
je 0x401414
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401418
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4013f8
xor eax, eax
jmp 0x40141d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4014c8
mov ecx, dword [esp + 0x7c]
push ecx
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4014c4
lea edx, [esp + 0x19c]
push edx
push esi
mov dword [esp + 0x1a4], 0x224
call sub.KERNEL32.DLL_Module32First
test eax, eax
je 0x4014c4
lea eax, [esp + 0x19c]
push eax
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
je 0x4014c4
jmp 0x401470
cmp dword [esp + 0x70], edi
mov ecx, dword [esp + 0x5c]
jae 0x40147e
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x1bc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014a5
cmp dl, bl
je 0x4014a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014a5
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x401485
xor eax, eax
jmp 0x4014aa
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401537
lea ecx, [esp + 0x19c]
push ecx
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x401470
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4013e3
cmp dword [esp + 0x54], edi
jb 0x4014ee
mov edx, dword [esp + 0x40]
push edx
call fcn.004067fd
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x40150d
mov eax, dword [esp + 0x5c]
push eax
call fcn.004067fd
add esp, 4
xor al, al
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.004066c5
add esp, 0x4c8
ret
cmp dword [esp + 0x54], edi
jb 0x40154a
mov eax, dword [esp + 0x40]
push eax
call fcn.004067fd
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x401569
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004067fd
add esp, 4
mov al, 1
jmp 0x40150f