Function at 0x3420c1fc
Capabilities:
Access peb ldr_data
Check os version
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x343a441d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x48]
mov dword [esi], 0x34227dac
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xc]
lea ecx, [esi + 0x3c]
mov dword [esi + 8], eax
call fcn.341f1990
lea ebp, [esi + 0xa4]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x40], ebx
call fcn.341f423e
lea ecx, [esi + 0x10c]
mov byte [esp + 0x40], 1
call fcn.341f423e
lea ecx, [esi + 0x18c]
mov byte [esp + 0x40], 2
call fcn.341f2505
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x40], 3
call fcn.341f1990
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [ecx + 0x40]
mov edx, 0xffff
mov word [esi + 0x30], dx
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
mov byte [esp + 0x40], 4
call edx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, dword [edi + 0x180]
mov dword [esi + 0x180], eax
mov ecx, dword [edi + 0x184]
mov dword [esi + 0x184], ecx
mov edx, dword [edi + 0x198]
mov dword [esi + 0x198], edx
mov eax, dword [edi + 0x19c]
mov ecx, 1
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1a4], ecx
mov dword [esi + 0x19c], eax
mov dword [esi + 0x178], ebx
mov dword [esi + 0x1c0], ebx
mov eax, dword [edi + 0x1c8]
mov dword [esi + 0x1c8], eax
mov edx, dword [edi + 0x17c]
shl edx, 0x1f
sar edx, 0x1f
xor edx, dword [esi + 0x17c]
and edx, ecx
xor dword [esi + 0x17c], edx
mov ecx, dword [esi + 0x17c]
mov eax, dword [edi + 0x17c]
shl eax, 0x1e
sar eax, 0x1e
xor eax, ecx
and eax, 2
xor eax, ecx
mov dword [esi + 0x17c], eax
mov ecx, dword [edi + 0x17c]
shl ecx, 0x1d
sar ecx, 0x1d
xor ecx, eax
and ecx, 4
xor ecx, eax
mov dword [esi + 0x17c], ecx
mov eax, dword [edi + 0x17c]
shl eax, 0x1c
sar eax, 0x1c
xor eax, ecx
and eax, 8
xor eax, ecx
mov dword [esi + 0x17c], eax
mov ecx, dword [edi + 0x17c]
shl ecx, 0x1b
sar ecx, 0x1b
xor ecx, eax
and ecx, 0x10
xor ecx, eax
cmp dword [esi + 0x10], 6
mov dword [esi + 0x17c], ecx
je 0x34289914
mov ecx, dword [esi + 0xc]
push ebx
call fcn.3420c4ea
cmp dword [esi + 0x10], 5
mov dword [esp + 0x48], eax
je 0x34251a18
push 0x58
call fcn.341f21e0
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0x40], 6
cmp eax, ebx
je 0x34289929
push esi
mov ecx, eax
call fcn.341ff599
mov byte [esp + 0x40], 4
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.341f6a54
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esi + 0x28]
push eax
push ecx
lea ecx, [esi + 0x10c]
call fcn.341f6a54
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
cmp dword [eax + 0x48], 1
je 0x34251af4
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x342ab7d9
mov eax, dword [esp + 0x4c]
test byte [eax], 8
jne 0x342ab7f0
mov ebp, eax
test byte [esi + 0x17c], 0x10
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
jne 0x3425da39
mov edx, dword [edi + 0x174]
mov dword [esi + 0x174], edx
test byte [ebp], 8
jne 0x3420c4b1
mov ecx, dword [esi + 4]
push ebp
push esi
call fcn.341f4341
test byte [ebp], 8
jne 0x3420c4b1
mov ecx, dword [esi + 8]
push ebp
push esi
add ecx, 0xb4
call fcn.341f4341
cmp dword [esi + 0x1c8], ebx
mov dword [esi + 0x88], esi
sete al
mov byte [esi + 0xa0], al
mov eax, dword [esi + 0xc]
mov byte [esi + 0x9c], bl
inc dword [eax + 0x50]
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
cmp eax, ebx
je 0x3420c3ef
push 0x2a8
call fcn.341f21e0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 5
cmp eax, ebx
je 0x34289929
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push esi
mov ecx, eax
call fcn.3420588f
jmp 0x3420c412
mov dword [esi + 0xe8], 2
jmp 0x3420c452
mov eax, 0xff
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x40], 7
cmp dword [edi + 0x178], ebx
je 0x342ab804
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
test byte [esi + 0x17c], 0x10
mov eax, dword [edi + 0x178]
je 0x3425da9d
cmp dword [esi + 0x178], ebx
jne 0x3425da9d
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x178], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x40], 4
cmp eax, ebx
je 0x3420c47f
jmp 0x342ab836
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push eax
push esi
call edx
jmp 0x3420c417
xor eax, eax
jmp 0x3420c412
mov ebp, dword [esp + 0x4c]
push 1
push 0xfffffc0d
mov ecx, ebp
call fcn.341f8dac
jmp 0x3420c46c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ebp, dword [esp + 0x4c]
mov dword [esi + 0x20], ebx
jmp 0x3420c46c
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.3420304e
test byte [ebp], 8
jne 0x3425da6b
cmp dword [edi + 0x174], eax
jb 0x342ab82b
cmp eax, ebx
jne 0x3425da6b
mov dword [edi + 0x174], eax
jmp 0x3425da6b
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x3420c47f