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

Disassembly:
push 0xffffffffffffffff
push 0x4d43a4
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
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.0042bca0
mov byte [esp + 0x23], al
add esp, 8
mov eax, SysStringLen
call fcn.004304d0
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x48], esi
xor ebp, ebp
jmp 0x430a84
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 0x430aa0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.004092d0
mov dword [esp + 0x9c], ebx
push 1
push 0x4e9ef0
lea eax, [esp + 0x60]
call fcn.0042f030
mov ecx, dword [esp + 0x40]
push ebx
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.0042ef20
push 1
push 0x4e9ef4
mov eax, esi
call fcn.0042f030
mov ecx, dword [ebp + 0x5016f8]
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x430b00
sub eax, esi
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042f030
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x430b27
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x430b51
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.00407c60
push 1
push 0x4e9ef8
lea eax, [esp + 0x60]
call fcn.0042f030
mov ecx, dword [ebp + 0x5016f8]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x430b80
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042f030
push ebx
xor edx, edx
mov esi, 7
push 0x4e9efc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
call fcn.004092d0
mov byte [esp + 0x9c], 1
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push SysStringLen
lea ecx, [esp + 0x60]
call fcn.0042af00
add esp, 8
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x34], 8
jb 0x430bfa
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0045a597
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 0x430c28
mov eax, dword [esp + 0x5c]
push eax
call fcn.0045a597
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 0x430a80
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 0x430c63
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.004092d0
mov dword [esp + 0x9c], 2
push 1
push 0x4e9f00
lea eax, [esp + 0x60]
call fcn.0042f030
mov ebp, dword [esp + 0x40]
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.0042ef20
push 1
push 0x4e9f04
mov eax, esi
call fcn.0042f030
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x501730]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x430cc7
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042f030
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x430cee
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x430d18
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.00407c60
push 1
push 0x4e9f08
lea eax, [esp + 0x60]
call fcn.0042f030
mov ebp, dword [esp + 0x44]
mov ecx, dword [ebp + 0x501730]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x430d47
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0042f030
xor ecx, ecx
push ebx
mov word [esp + 0x24], cx
mov esi, 7
push 0x4e9f0c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.004092d0
mov byte [esp + 0x9c], 3
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x58]
push edx
push SysStringLen
lea edx, [esp + 0x24]
call fcn.0042b850
add esp, 8
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 8
jb 0x430dc2
mov eax, dword [esp + 0x20]
push eax
call fcn.0045a597
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 0x430df0
mov edx, dword [esp + 0x5c]
push edx
call fcn.0045a597
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 0x430c47
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 0x430e30
sub eax, edx
sar eax, 1
push eax
push str.HKEY_USERS
lea ecx, [esp + 0x7c]
call fcn.004092d0
mov dword [esp + 0x9c], 4
push 1
push 0x4e9f10
lea eax, [esp + 0x7c]
call fcn.0042f030
mov ebp, dword [esp + 0x40]
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.0042ef20
push 1
push 0x4e9f14
mov eax, esi
call fcn.0042f030
push 0x32
push 0x4e9f18
mov eax, esi
call fcn.0042f030
push 1
push 0x4e9f80
mov eax, esi
call fcn.0042f030
push 5
push 0x4e9f84
mov eax, esi
call fcn.0042f030
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x430ec0
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x430eed
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.00407c60
push 1
push 0x4e9f90
lea eax, [esp + 0x7c]
call fcn.0042f030
push 0x32
push str.SoftwarePoliciesMicrosoftWindowsSystemScripts
lea eax, [esp + 0x7c]
call fcn.0042f030
xor ecx, ecx
push 5
mov word [esp + 0x24], cx
mov esi, 7
push 0x4e9f94
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.004092d0
mov byte [esp + 0x9c], 5
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push SysStringLen
lea ecx, [esp + 0x7c]
call fcn.0042be80
add esp, 8
mov byte [esp + 0x9c], 4
cmp dword [esp + 0x34], 8
jb 0x430f82
mov eax, dword [esp + 0x20]
push eax
call fcn.0045a597
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 0x430fa0
sub eax, edx
sar eax, 1
push eax
push str.HKEY_USERS
lea ecx, [esp + 0x7c]
call fcn.004092d0
push 1
push 0x4ea008
lea eax, [esp + 0x7c]
call fcn.0042f030
push ebx
push ebp
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.0042ef20
push 1
push 0x4ea00c
mov eax, esi
call fcn.0042f030
push 0x32
push 0x4ea010
mov eax, esi
call fcn.0042f030
push 1
push 0x4ea078
mov eax, esi
call fcn.0042f030
push 6
push 0x4ea07c
mov eax, esi
call fcn.0042f030
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x431021
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x43104e
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.00407c60
push 1
push 0x4ea08c
lea eax, [esp + 0x7c]
call fcn.0042f030
push 0x32
push 0x4ea090
lea eax, [esp + 0x7c]
call fcn.0042f030
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.004092d0
mov byte [esp + 0x9c], 6
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push SysStringLen
lea ecx, [esp + 0x7c]
call fcn.0042be80
add esp, 8
mov byte [esp + 0x9c], 4
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x4310e7
mov eax, dword [esp + 0x20]
push eax
call fcn.0045a597
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 0x431122
cmp dword [ebp + 0x18], edi
jb 0x431106
mov ebp, dword [ebp + 4]
jmp 0x431109
add ebp, 4
lea esi, [esp + 0x4c]
call fcn.0042ea30
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 0x431143
mov eax, dword [esp + 0x78]
push eax
call fcn.0045a597
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.004aa641
add esp, 0x8c
ret