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

Disassembly:
push 0xffffffffffffffff
push 0x43238d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov eax, 2
xor edx, edx
mov ecx, 3
mov esi, 1
mov edi, 5
mov ebx, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], edx
xor edi, edi
lea esi, [esp + 0x20]
lea eax, [ebp + 0x80]
xor ecx, ecx
jmp 0x403b46
xor edx, edx
xor ecx, ecx
jmp 0x403b46
xor edx, edx
mov dword [eax - 4], edi
mov dword [eax], ecx
mov dword [eax - 8], edx
mov edx, dword [esi]
cmp edx, 5
ja case.0x403b55.4
jmp dword [edx*4 + 0x403d00]
mov dword [eax - 0x18], 1
jmp case.0x403b55.0
mov dword [eax - 0x14], 1
jmp case.0x403b55.0
mov dword [eax - 0x10], 1
jmp case.0x403b55.0
mov dword [eax - 0x14], 1
mov dword [eax - 0x1c], 0
mov dword [eax - 0x1c], 0
inc ecx
add esi, ebx
add eax, 0x30
cmp ecx, 5
jl 0x403b44
inc edi
cmp edi, 0xe
jl 0x403b3e
lea edi, [ebp + 0x88]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp ebx, 6
je 0x403cab
cmp ebx, 7
je 0x403cab
push 0x4c
xor esi, esi
call fcn.0041eee5
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x158], esi
je 0x403bfa
mov ecx, dword [esp + 0x18]
push 1
push 1
push ebx
push ecx
push 0x84
mov ecx, eax
call fcn.004012a0
jmp 0x403bfc
xor eax, eax
mov dword [esp + 0x158], 0xffffffff
mov dword [ebp + 0xdb8], eax
mov dword [esp + 0x10], 0
xor ebx, ebx
cmp ebx, 6
je 0x403c59
cmp ebx, 7
je 0x403c59
mov edx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x14c]
push edx
push eax
mov ecx, ebp
call fcn.004028a0
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
mov edx, dword [eax]
push edx
call fcn.00404bd0
test eax, eax
je 0x403c59
mov al, byte [esp + 0x10]
shl al, 4
add al, bl
mov byte [esp + esi + 0x138], al
inc esi
inc ebx
cmp ebx, 0xe
jl 0x403c17
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jl 0x403c15
test esi, esi
je 0x403c7c
push esi
call fcn.0041eee5
add esp, 4
mov dword [edi], eax
xor eax, eax
test esi, esi
jle 0x403c93
mov ecx, dword [edi]
mov dl, byte [esp + eax + 0x138]
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x403c82
mov dword [edi + 4], esi
mov ecx, dword [ebp + 0xdb8]
test ecx, ecx
je 0x403ca7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ebx, dword [esp + 0x14]
inc ebx
add edi, 0xf0
cmp ebx, 0xe
mov dword [esp + 0x14], ebx
jl 0x403bb5
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
inc eax
add edi, 0x30
cmp eax, 5
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jl 0x403baf
mov ecx, dword [esp + 0x150]
pop edi
mov dword [ebp + 0xdb8], 0
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret