Function at 0x4167b4
Capabilities:
Terminate process

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], edi
lea ebx, [ebp + 4]
mov esi, dword [ebx + 4]
sub ebx, 4
push esi
push esi
mov dword [ebp - 0x10], esi
mov eax, 0x58afd122
mov eax, 0xfffffff
mov edx, dword [esi + 4]
mov edi, 0x400000
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [0x421858]
and ecx, eax
and edx, eax
mov eax, edi
add ecx, edi
sub eax, esi
mov dword [ebp - 0x14], eax
jne 0x416625
and dword [ebp - 4], 0
test edx, edx
jbe 0x416833
mov edi, 0x52a2d563
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ecx]
add eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x52a2d563
ror eax, 8
imul eax, eax, 0x52a2d563
ror eax, 8
mov esi, eax
imul eax, eax, 0x2748
rol eax, 3
ror esi, 3
xor eax, esi
add dword [ebp - 0x20], eax
inc dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 4], edx
jb 0x4165e1
jmp 0x416833
mov esi, dword [0x40003c]
lea eax, [edx + ecx]
mov dword [ebp - 0x18], eax
mov eax, ecx
sub eax, edi
mov edi, eax
and edi, 0xfffff000
mov dword [ebp - 4], edi
mov edi, eax
sub edi, dword [ebp - 4]
add eax, edx
mov edx, eax
and edx, 0xfffff000
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x4000a0]
add eax, 0x400000
mov esi, dword [esi + 0x4000a4]
add esi, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], esi
jmp 0x416679
mov edx, dword [eax]
cmp edx, dword [ebp - 4]
jae 0x41667d
add eax, dword [eax + 4]
cmp eax, esi
jne 0x41666f
and dword [ebp - 0x24], 0
cmp eax, esi
je 0x4166be
mov edx, dword [ebp - 4]
cmp dword [eax], edx
jne 0x4166be
mov edx, dword [eax + 4]
sub edx, 8
shr edx, 1
mov dword [ebp - 0xc], edx
je 0x4166be
lea edx, [eax + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
movzx edx, word [edx]
and edx, 0xfff
cmp edx, edi
jae 0x4166be
inc dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
add dword [ebp - 4], 2
cmp dword [ebp - 0x24], edx
jne 0x41669f
mov edi, 0x52a2d563
jmp 0x4166c8
mov esi, dword [ebp - 0x2c]
cmp eax, esi
je 0x4167ed
mov edx, dword [eax]
cmp edx, dword [ebp - 0x34]
ja 0x4167ed
mov edx, dword [eax + 4]
lea esi, [edx - 8]
mov edx, dword [ebp - 0x24]
shr esi, 1
cmp edx, esi
jne 0x416707
add eax, dword [eax + 4]
cmp eax, dword [ebp - 0x2c]
je 0x4167ed
mov edx, dword [ebp - 0x34]
cmp dword [eax], edx
ja 0x4167ed
and dword [ebp - 0x24], 0
jmp 0x4166db
mov esi, dword [ebp - 0x34]
cmp dword [eax], esi
jne 0x416722
movzx edx, word [eax + edx*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x30]
jae 0x4167ed
mov esi, 0xf000
mov edx, dword [ebp - 0x24]
inc dword [ebp - 0x24]
test word [eax + edx*2 + 8], si
je 0x4166c5
mov esi, dword [eax]
movzx edx, word [eax + edx*2 + 8]
and edx, 0xfff
lea edx, [edx + esi + 0x400000]
xor esi, esi
mov dword [ebp - 4], edx
sub dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
je 0x41679a
movzx edx, byte [esi + ecx]
add edx, edi
add dword [ebp - 0x20], edx
add edx, dword [ebp - 0x1c]
imul edx, edx, 0x52a2d563
ror edx, 8
imul edx, edx, 0x52a2d563
ror edx, 8
mov esi, edx
imul esi, esi, 0x2748
rol esi, 3
ror edx, 3
xor esi, edx
mov edx, esi
add dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [ebp - 4]
jb 0x416758
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 8], ecx
movzx ecx, byte [ebp + edx - 8]
add ecx, edi
add dword [ebp - 0x20], ecx
add ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x52a2d563
ror ecx, 8
imul ecx, ecx, 0x52a2d563
ror ecx, 8
mov esi, ecx
imul ecx, ecx, 0x2748
rol ecx, 3
ror esi, 3
xor ecx, esi
add dword [ebp - 0x20], ecx
inc edx
cmp edx, 4
mov dword [ebp - 0x1c], ecx
jb 0x4167a7
mov ecx, dword [ebp - 0xc]
add ecx, 4
jmp 0x4166c5
xor esi, esi
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x18], eax
je 0x416833
movzx eax, byte [ecx + esi]
add eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x52a2d563
ror eax, 8
imul eax, eax, 0x52a2d563
ror eax, 8
mov edx, eax
imul eax, eax, 0x2748
rol eax, 3
ror edx, 3
xor eax, edx
add dword [ebp - 0x20], eax
inc esi
mov dword [ebp - 0x1c], eax
cmp esi, dword [ebp - 0x18]
jb 0x4167f9
add dword [ebx + 8], 0x10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xfffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x400000]
jne 0x41685b
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x400004]
je 0x416906
call fcn.00405ddc
mov edx, 0xfffff000
lea ecx, [ebx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and eax, edx
and esi, edx
mov dword [ebp - 0x18], eax
mov edx, 0xffff
mov dword [ebx + 8], 0x427ab0
xor eax, eax
mov edi, dword [reloc.KERNEL32.dll_GetLastError]
imul edi, edi, 0x343fd
add edi, reloc.KERNEL32.dll_K32EnumProcessModules
mov dword [reloc.KERNEL32.dll_GetLastError], edi
shr edi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, edi
test edx, edx
jne 0x416886
mov edi, 0xffff
div edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], 0
jmp 0x4168cf
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x4168c7
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], 0x427ab0
mov eax, dword [eax + 8]
and eax, 0xfffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
mov edx, ecx
shl edx, 0x10
add eax, 0x400000
xor edx, dword [eax]
xor edx, dword [0x4448ac]
xor edx, ecx
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], edx
mov eax, 0xbf91729c
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
popfd
ret