Function at 0x431190
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x436546
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x44a9cc]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a9cc]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x9c]
push 0x423790
push 0x423780
push 2
push 0x18
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x30], eax
call fcn.00431e74
mov edx, dword [0x43f400]
mov eax, dword [0x43f404]
mov ecx, dword [0x43f408]
mov dword [esp + 0x60], edx
mov edx, dword [0x43f40c]
mov dword [esp + 0x64], eax
mov eax, dword [0x43f0f8]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x43f0fc]
xor ebx, ebx
mov dword [esp + 0x6c], edx
mov edx, dword [0x43f100]
mov dword [esp + 0x78], eax
mov eax, dword [0x43f104]
mov dword [esp + 0x7c], ecx
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.00423b60
lea edi, [ebx + 1]
test al, al
je 0x43129e
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
imul ecx, ecx, 0x34
mov dword [ecx + edx], 0x7f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
imul eax, eax, 0x34
mov ecx, 0xb
mov word [eax + edx + 0x24], cx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
imul eax, eax, 0x34
or ecx, 0xffffffff
mov word [eax + edx + 0x2c], cx
add dword [esp + 0x5c], edi
push ebx
lea ecx, [esp + 0x5c]
call fcn.00423b60
test al, al
je 0x4312ea
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x34
mov dword [eax + ecx], 0x75
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
imul edx, edx, 0x34
mov eax, 3
mov word [edx + ecx + 0x24], ax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
imul edx, edx, 0x34
mov dword [edx + eax + 0x2c], 7
add dword [esp + 0x5c], edi
push ebx
lea ecx, [esp + 0x74]
call fcn.00423b60
test al, al
je 0x431336
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
imul ecx, ecx, 0x34
mov dword [ecx + edx], 0x107
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
imul eax, eax, 0x34
mov ecx, 3
mov word [eax + edx + 0x24], cx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
imul eax, eax, 0x34
mov dword [eax + ecx + 0x2c], 2
add dword [esp + 0x74], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov edx, dword [0x44aae8]
mov eax, dword [edx + 0xc]
mov ecx, 0x44aae8
mov byte [esp + 0x94], 1
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xa0]
push ecx
lea edx, [esp + 0x18]
push str.delete_from_GROUP_MEMBERS_where_PB_ID___d
push edx
mov byte [esp + 0xa0], 2
call fcn.004042f0
mov ebp, dword [esp + 0x20]
add esp, 0xc
push 0x43f410
push ebp
push esi
lea ecx, [esp + 0x44]
call fcn.00406ce0
cmp eax, ebx
jl 0x4313be
push 2
push ebx
lea eax, [esp + 0x60]
push eax
push ebx
lea ecx, [esp + 0x34]
push ecx
call fcn.00407ec0
mov esi, eax
cmp esi, ebx
jge 0x43141d
lea eax, [ebp - 0x10]
mov byte [esp + 0x94], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4313e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], bl
call fcn.00407f90
push 0x423790
push 2
push 0x18
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xa4], 0xffffffff
call fcn.00431df4
mov eax, esi
jmp 0x4315bd
cmp dword [esp + 0x24], ebx
je 0x43142c
lea ecx, [esp + 0x24]
call fcn.00407160
xor edi, edi
mov edi, edi
mov edx, dword [0x44aae8]
mov eax, dword [edx + 0xc]
mov ecx, 0x44aae8
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push edi
lea ecx, [esp + 0x24]
push str.GROUP_ID__d
push ecx
mov byte [esp + 0xa0], 3
mov dword [esp + 0x24], ebx
call fcn.004042f0
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push esi
call fcn.00401120
mov ecx, dword [esp + 0x24]
call fcn.0042ccd0
cmp eax, ebx
je 0x4315e2
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0040cb20
mov edx, 3
mov byte [esp + 0x94], 4
cmp dx, word [esp + 0x44]
je 0x4314cc
push edx
push ebx
lea eax, [esp + 0x4c]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp eax, ebx
jl 0x43160f
lea ecx, [esp + 0x44]
call fcn.0040d7b0
mov edx, dword [esp + 0xa0]
push eax
push edx
lea eax, [esp + 0x1c]
push str.insert_into_GROUP_MEMBERS__PB_ID__GROUP_ID__select__d__id_from_PB_GROUP_where_SUID___d
push eax
call fcn.004042f0
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add esp, 0x10
push 0x43f410
push ebp
push ecx
lea ecx, [esp + 0x44]
call fcn.00406ce0
cmp eax, ebx
jl 0x431521
push 2
push ebx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x30]
push ebx
push eax
mov ecx, eax
call fcn.00407ec0
cmp dword [esp + 0x24], ebx
je 0x431530
lea ecx, [esp + 0x24]
call fcn.00407160
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esi - 0x10]
mov byte [esp + 0x94], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43155f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0xa
jl 0x431430
lea eax, [ebp - 0x10]
mov byte [esp + 0x94], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43158d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], bl
call fcn.00407f90
push 0x423790
push 2
push 0x18
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xa4], 0xffffffff
call fcn.00431df4
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00431e5e
add esp, 0x84
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x94], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x431569
push eax
call fcn.00431990
int3