Function at 0x42fd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d3894
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc4]
push 1
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edx
call fcn.0042b110
mov byte [esp + 0x23], al
add esp, 8
mov eax, SysStringLen
call fcn.0042f860
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x48], esi
xor ebp, ebp
jmp 0x42fe14
mov esi, dword [esp + 0x48]
xor eax, eax
mov word [esp + 0x5c], ax
mov eax, esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42fe30
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00408fa0
mov dword [esp + 0x9c], ebx
push 1
push 0x4e8ef0
lea eax, [esp + 0x60]
call fcn.0042e490
mov ecx, dword [esp + 0x40]
push ebx
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.0042e380
push 1
push 0x4e8ef4
mov eax, esi
call fcn.0042e490
mov ecx, dword [ebp + 0x5006f8]
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42fe90
sub eax, esi
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042e490
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x42feb7
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x42fee1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [edi + 4]
imul eax, eax, 0x64
push edx
xor edx, edx
div ecx
inc eax
push eax
lea eax, [esp + 0x64]
push eax
call esi
add esp, 0x10
mov ecx, dword [esp + 0x40]
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x64]
call fcn.00407a40
push 1
push 0x4e8ef8
lea eax, [esp + 0x60]
call fcn.0042e490
mov ecx, dword [ebp + 0x5006f8]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x42ff10
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042e490
push ebx
xor edx, edx
mov esi, 7
push 0x4e8efc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
call fcn.00408fa0
mov byte [esp + 0x9c], 1
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push SysStringLen
lea ecx, [esp + 0x60]
call fcn.0042a370
add esp, 8
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x34], 8
jb 0x42ff8a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a9c11
add esp, 4
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x42ffb8
mov eax, dword [esp + 0x5c]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
add ebp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp ebp, 0x38
jb 0x42fe10
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x48]
xor edx, edx
mov eax, esi
mov word [esp + 0x5c], dx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42fff3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00408fa0
mov dword [esp + 0x9c], 2
push 1
push 0x4e8f00
lea eax, [esp + 0x60]
call fcn.0042e490
mov ebp, dword [esp + 0x40]
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.0042e380
push 1
push 0x4e8f04
mov eax, esi
call fcn.0042e490
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x500730]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x430057
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042e490
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x43007e
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x4300a8
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [edi + 4]
imul eax, eax, 0x64
push edx
xor edx, edx
div ecx
inc eax
push eax
lea eax, [esp + 0x64]
push eax
call esi
add esp, 0x10
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x64]
call fcn.00407a40
push 1
push 0x4e8f08
lea eax, [esp + 0x60]
call fcn.0042e490
mov ebp, dword [esp + 0x44]
mov ecx, dword [ebp + 0x500730]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x4300d7
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042e490
xor ecx, ecx
push ebx
mov word [esp + 0x24], cx
mov esi, 7
push 0x4e8f0c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.00408fa0
mov byte [esp + 0x9c], 3
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x58]
push edx
push SysStringLen
lea edx, [esp + 0x24]
call fcn.0042acc0
add esp, 8
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 8
jb 0x430152
mov eax, dword [esp + 0x20]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x430180
mov edx, dword [esp + 0x5c]
push edx
call fcn.004a9c11
add esp, 4
add ebp, 4
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov dword [esp + 0x44], ebp
cmp ebp, 0x3c
jb 0x42ffd7
xor ecx, ecx
mov eax, str.HKEY_USERS
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4301c0
sub eax, edx
sar eax, 1
push eax
push str.HKEY_USERS
lea ecx, [esp + 0x7c]
call fcn.00408fa0
mov dword [esp + 0x9c], 4
push 1
push 0x4e8f10
lea eax, [esp + 0x7c]
call fcn.0042e490
mov ebp, dword [esp + 0x40]
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.0042e380
push 1
push 0x4e8f14
mov eax, esi
call fcn.0042e490
push 0x32
push 0x4e8f18
mov eax, esi
call fcn.0042e490
push 1
push 0x4e8f80
mov eax, esi
call fcn.0042e490
push 5
push 0x4e8f84
mov eax, esi
call fcn.0042e490
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x430250
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x43027d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [edi + 4]
imul eax, eax, 0x64
push edx
xor edx, edx
div ecx
inc eax
push eax
lea eax, [esp + 0x80]
push eax
call esi
add esp, 0x10
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x80]
call fcn.00407a40
push 1
push 0x4e8f90
lea eax, [esp + 0x7c]
call fcn.0042e490
push 0x32
push str.SoftwarePoliciesMicrosoftWindowsSystemScripts
lea eax, [esp + 0x7c]
call fcn.0042e490
xor ecx, ecx
push 5
mov word [esp + 0x24], cx
mov esi, 7
push 0x4e8f94
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.00408fa0
mov byte [esp + 0x9c], 5
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push SysStringLen
lea ecx, [esp + 0x7c]
call fcn.0042b2f0
add esp, 8
mov byte [esp + 0x9c], 4
cmp dword [esp + 0x34], 8
jb 0x430312
mov eax, dword [esp + 0x20]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
mov eax, str.HKEY_USERS
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x430330
sub eax, edx
sar eax, 1
push eax
push str.HKEY_USERS
lea ecx, [esp + 0x7c]
call fcn.00408fa0
push 1
push 0x4e9008
lea eax, [esp + 0x7c]
call fcn.0042e490
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.0042e380
push 1
push 0x4e900c
mov eax, esi
call fcn.0042e490
push 0x32
push 0x4e9010
mov eax, esi
call fcn.0042e490
push 1
push 0x4e9078
mov eax, esi
call fcn.0042e490
push 6
push 0x4e907c
mov eax, esi
call fcn.0042e490
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x4303b1
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x4303de
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [edi + 4]
imul eax, eax, 0x64
push edx
xor edx, edx
div ecx
inc eax
push eax
lea eax, [esp + 0x80]
push eax
call esi
add esp, 0x10
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x80]
call fcn.00407a40
push 1
push 0x4e908c
lea eax, [esp + 0x7c]
call fcn.0042e490
push 0x32
push 0x4e9090
lea eax, [esp + 0x7c]
call fcn.0042e490
xor ecx, ecx
push 6
mov word [esp + 0x24], cx
mov esi, 7
push str.Logoff
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.00408fa0
mov byte [esp + 0x9c], 6
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push SysStringLen
lea ecx, [esp + 0x7c]
call fcn.0042b2f0
add esp, 8
mov byte [esp + 0x9c], 4
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x430477
mov eax, dword [esp + 0x20]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp byte [esp + 0x1b], bl
je 0x4304b2
cmp dword [ebp + 0x18], edi
jb 0x430496
mov ebp, dword [ebp + 4]
jmp 0x430499
add ebp, 4
lea esi, [esp + 0x4c]
call fcn.0042de90
mov edx, dword [eax + 8]
push ebp
push SysStringLen
call edx
mov esi, 7
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x8c], edi
jb 0x4304d3
mov eax, dword [esp + 0x78]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
xor al, al
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004a9c1c
add esp, 0x8c
ret