Function at 0x4b09c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5fed3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x544
mov eax, dword [0x6ca27c]
push ebp
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0xec]
mov dword [esp + 0x30], edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe8], ebp
mov word [esp + 0xe4], bp
call fcn.0041a850
lea ecx, [esp + 0xf8]
call fcn.0041a850
mov eax, dword [0x6ca27c]
lea ecx, [esp + 0x11c]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
call fcn.0041a850
mov eax, dword [0x6ca27c]
mov dword [esp + 0x84], 0x61b6e4
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0x144], ebp
mov dword [esp + 0x148], ebp
mov edx, dword [esp + 0x55c]
lea eax, [esp + 0x84]
push ebp
lea ecx, [edi + 8]
push eax
push edx
mov dword [esp + 0x560], ebp
mov dword [esp + 0x38], ecx
call fcn.005b5970
test al, al
jne 0x4b0adf
lea ecx, [esp + 0x84]
mov dword [esp + 0x554], 0xffffffff
call fcn.0046c810
jmp 0x4b168c
push ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov word [esp + 0x14], bp
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x55c], 1
call fcn.00401f60
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x74], ebp
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], ebp
mov word [esp + 0x7c], bp
call fcn.00401f60
mov al, byte [esp + 0xc6]
mov bl, 4
cmp al, bl
mov byte [esp + 0x558], 2
mov byte [esp + 0xf], 1
je 0x4b1637
mov al, byte [esp + 0xc5]
cmp al, 1
je 0x4b0b58
cmp al, 3
je 0x4b0b58
cmp al, 6
jne 0x4b0b5d
mov byte [esp + 0xf], 0
cmp dword [esp + 0xf8], ebp
je 0x4b0b7a
mov eax, dword [esp + 0xf0]
cmp eax, ebp
jne 0x4b0b86
lea eax, [esp + 0xf4]
jmp 0x4b0b86
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x4b0b86
lea eax, [esp + 0x14]
lea edx, [esp + 0x150]
push esi
lea ecx, [esp + 0x354]
push edx
push ecx
push ebp
push ebp
push eax
call fcn.005c5908
mov eax, dword [edi + 0x294]
mov esi, dword [esp + 0xc4]
add esp, 0x14
cmp eax, ebp
mov dword [esp + 0x84], esi
jne 0x4b0fd1
lea edx, [esp + 0x154]
push 0x2e
push edx
call fcn.005c4a9a
add esp, 8
cmp eax, ebp
je 0x4b0bd7
add eax, 2
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov word [esp + 0x24], bp
mov ecx, dword [edi + 0x1a4]
mov byte [esp + 0x55c], 3
cmp ecx, ebp
je 0x4b0cfc
mov ecx, dword [0x6ca27c]
mov dword [esp + 0x2c], ecx
cmp eax, ebp
mov byte [esp + 0x55c], bl
je 0x4b0c19
push eax
lea ecx, [esp + 0x30]
call fcn.005e133c
mov edx, dword [0x6ca27c]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0xdc]
push 0x6a0064
push eax
mov byte [esp + 0x564], 5
call fcn.005c4c40
add esp, 8
cmp eax, ebp
je 0x4b0c6d
add eax, 3
lea ecx, [esp + 0x30]
push eax
push 0x69ffbc
push ecx
call fcn.005d9fbb
mov edx, dword [esp + 0x3c]
push 0x2f
push edx
call fcn.005c4b80
add esp, 0x14
cmp eax, ebp
je 0x4b0c6d
mov byte [eax], 0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x88]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x1a4]
push edx
push eax
call fcn.004a2c80
test al, al
jne 0x4b0ca9
lea ecx, [esp + 0x20]
mov dword [esp + 0xb0], ebp
push ecx
call fcn.00441860
add esp, 4
jmp 0x4b0cb7
mov edx, dword [esp + 0x88]
mov dword [esp + 0xb0], edx
cmp esi, dword [esp + 0xb0]
je 0x4b0cd9
mov ecx, dword [esp + 0x564]
lea eax, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.005b7100
lea ecx, [esp + 0x30]
mov byte [esp + 0x55c], bl
call fcn.005e118c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x55c], 3
call fcn.005e118c
jmp 0x4b0d09
lea edx, [esp + 0x20]
push edx
call fcn.00441860
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x4b0d15
lea eax, [esp + 0x24]
push eax
call fcn.005c4b4a
mov edi, eax
mov esi, 0x103
sub esi, edi
add esp, 4
cmp esi, 0x100
jbe 0x4b0d34
mov esi, pe_nt_image_headers32
lea eax, [esp + 0x354]
push eax
call fcn.005c4b4a
lea ecx, [esp + 0x158]
mov ebx, eax
push ecx
call fcn.005c4b4a
add ebx, eax
add esp, 8
cmp ebx, esi
jbe 0x4b0da1
lea edx, [esp + 0x154]
push edx
call fcn.005c4b4a
add esp, 4
cmp eax, 5
jbe 0x4b0d76
mov word [esp + 0x15e], bp
lea eax, [esp + 0x154]
push eax
call fcn.005c4b4a
lea ecx, [esp + 0x358]
sub esi, eax
push ecx
call fcn.005c4b4a
add esp, 8
cmp eax, esi
jbe 0x4b0da1
mov word [esp + esi*2 + 0x354], bp
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov ecx, eax
jne 0x4b0daf
lea ecx, [esp + 0x24]
cmp word [ecx + edi*2 - 2], 0x5c
mov esi, 0x6ce7cc
je 0x4b0dc1
mov esi, 0x6a0054
cmp eax, ebp
jne 0x4b0dc9
lea eax, [esp + 0x24]
mov edx, str._s_s_s_s
test edx, edx
je 0x4b0fbc
cmp eax, ebp
je 0x4b0fbc
cmp esi, ebp
je 0x4b0fbc
lea ecx, [esp + 0x354]
test ecx, ecx
je 0x4b0fbc
lea edx, [esp + 0x154]
test edx, edx
je 0x4b0fbc
push eax
lea ecx, [esp + 0x40]
call fcn.0040d680
push esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x560], 6
call fcn.0040d680
lea eax, [esp + 0x354]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x560], 7
call fcn.0040d680
lea ecx, [esp + 0x154]
mov byte [esp + 0x55c], 8
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040d680
mov bl, 9
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], bl
call fcn.00401070
push str._s_s_s_s
lea ecx, [esp + 0x70]
call fcn.00401ed0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x55c], 0xa
cmp eax, ebp
mov edi, eax
jne 0x4b0e88
lea edi, [esp + 0x40]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x54]
mov ebp, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x60]
add ebp, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
mov dword [esp + 0x30], ebp
mov ebp, eax
push edi
add ebp, esi
call fcn.005c4b4a
mov edx, dword [esp + 0x34]
add ebp, edx
lea esi, [eax + ebp + 5]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x14], edi
je 0x4b0f51
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
lea ecx, [esp + 0x58]
call fcn.00401f50
push eax
lea ecx, [esp + 0x68]
call fcn.00401f50
push eax
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
lea ecx, [esp + 0x7c]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005c4b4a
add esp, 0x20
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x55c], bl
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x55c], 8
call fcn.00401070
lea ecx, [esp + 0x54]
mov byte [esp + 0x55c], 7
call fcn.00401070
lea ecx, [esp + 0x60]
mov byte [esp + 0x55c], 6
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x55c], 3
call fcn.00401070
mov edi, dword [esp + 0x38]
xor ebp, ebp
mov byte [esp + 0x55c], 2
lea ecx, [esp + 0x20]
jmp 0x4b14f7
mov edi, dword [esp + 0x38]
mov byte [esp + 0x55c], 2
lea ecx, [esp + 0x20]
jmp 0x4b14f7
cmp eax, 2
jne 0x4b1267
mov eax, dword [edi + 0x298]
cmp eax, ebp
jne 0x4b0fea
lea eax, [edi + 0x29c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], bp
call fcn.00401f60
mov eax, dword [esp + 0x20]
mov byte [esp + 0x55c], 0xb
cmp eax, ebp
jne 0x4b1015
lea eax, [esp + 0x24]
push eax
call fcn.005c4b4a
mov edx, dword [esp + 0x24]
add esp, 4
cmp edx, ebp
mov ecx, edx
jne 0x4b102c
lea ecx, [esp + 0x24]
cmp word [ecx + eax*2 - 2], 0x5c
mov esi, 0x6ce7cc
je 0x4b103e
mov esi, 0x6a0054
cmp edx, ebp
mov eax, edx
jne 0x4b1048
lea eax, [esp + 0x24]
mov edx, str._s_s_s_s
test edx, edx
je 0x4b1220
cmp eax, ebp
je 0x4b1220
cmp esi, ebp
je 0x4b1220
lea ecx, [esp + 0x354]
test ecx, ecx
je 0x4b1220
lea edx, [esp + 0x154]
test edx, edx
je 0x4b1220
push eax
lea ecx, [esp + 0x40]
call fcn.0040d680
push esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x560], 0xc
call fcn.0040d680
lea eax, [esp + 0x354]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0x560], 0xd
call fcn.0040d680
lea ecx, [esp + 0x154]
mov byte [esp + 0x55c], 0xe
push ecx
lea ecx, [esp + 0x58]
call fcn.0040d680
mov bl, 0xf
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], bl
call fcn.00401070
push str._s_s_s_s
lea ecx, [esp + 0x64]
call fcn.00401ed0
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov byte [esp + 0x55c], 0x10
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x6c]
add edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x3c]
add ebp, esi
call fcn.00401f50
push eax
call fcn.005c4b4a
add ebp, edi
lea esi, [eax + ebp + 5]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x4b11c6
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x54]
call fcn.00401f50
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f50
push eax
lea ecx, [esp + 0x74]
call fcn.00401f50
push eax
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
lea ecx, [esp + 0x70]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005c4b4a
add esp, 0x20
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x55c], bl
call fcn.00401070
lea ecx, [esp + 0x54]
mov byte [esp + 0x55c], 0xe
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x55c], 0xd
call fcn.00401070
lea ecx, [esp + 0x6c]
mov byte [esp + 0x55c], 0xc
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x55c], 0xb
call fcn.00401070
mov edi, dword [esp + 0x38]
xor ebp, ebp
mov al, byte [edi + 0x2a4]
test al, al
je 0x4b1256
lea edx, [esp + 0x154]
lea eax, [esp + 0x354]
push edx
mov edx, dword [esp + 0x568]
lea ecx, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x98]
push edx
push eax
mov ecx, edi
call fcn.004af340
lea ecx, [esp + 0x20]
mov byte [esp + 0x55c], 2
call fcn.00401070
cmp dword [edi + 0x294], 1
jne 0x4b14fc
mov eax, dword [edi + 0x2a8]
cmp eax, ebp
jne 0x4b1284
lea eax, [edi + 0x2ac]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], bp
call fcn.00401f60
mov eax, dword [esp + 0x20]
mov byte [esp + 0x55c], 0x11
cmp eax, ebp
jne 0x4b12af
lea eax, [esp + 0x24]
push eax
call fcn.005c4b4a
mov edx, dword [esp + 0x24]
add esp, 4
cmp edx, ebp
mov ecx, edx
jne 0x4b12c6
lea ecx, [esp + 0x24]
cmp word [ecx + eax*2 - 2], 0x5c
mov esi, 0x6ce7cc
je 0x4b12d8
mov esi, 0x6a0054
cmp edx, ebp
mov eax, edx
jne 0x4b12e2
lea eax, [esp + 0x24]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x4b14ba
cmp eax, ebp
je 0x4b14ba
cmp esi, ebp
je 0x4b14ba
lea edx, [esp + 0x354]
test edx, edx
je 0x4b14ba
lea ecx, [esp + 0x154]
test ecx, ecx
je 0x4b14ba
push eax
lea ecx, [esp + 0x40]
call fcn.0040d680
push esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x560], 0x12
call fcn.0040d680
lea edx, [esp + 0x354]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + 0x560], 0x13
call fcn.0040d680
lea eax, [esp + 0x154]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x560], 0x14
call fcn.0040d680
mov bl, 0x15
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], bl
call fcn.00401070
push str._s_s_s_s
lea ecx, [esp + 0x64]
call fcn.00401ed0
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov byte [esp + 0x55c], 0x16
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x6c]
add edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x3c]
add ebp, esi
call fcn.00401f50
push eax
call fcn.005c4b4a
add ebp, edi
lea esi, [eax + ebp + 5]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x4b1460
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x54]
call fcn.00401f50
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f50
push eax
lea ecx, [esp + 0x74]
call fcn.00401f50
push eax
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
lea ecx, [esp + 0x70]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005c4b4a
add esp, 0x20
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x55c], bl
call fcn.00401070
lea ecx, [esp + 0x54]
mov byte [esp + 0x55c], 0x14
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x55c], 0x13
call fcn.00401070
lea ecx, [esp + 0x6c]
mov byte [esp + 0x55c], 0x12
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x55c], 0x11
call fcn.00401070
mov edi, dword [esp + 0x38]
xor ebp, ebp
mov eax, dword [edi + 0x2b4]
mov ecx, dword [esp + 0x84]
cmp ecx, eax
mov dword [esp + 0xb0], eax
je 0x4b14eb
mov eax, dword [esp + 0x564]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.005b7100
mov byte [esp + 0x55c], 2
lea ecx, [esp + 0x20]
call fcn.00401070
mov bl, byte [esp + 0x13]
test bl, bl
je 0x4b1521
mov edx, dword [esp + 0x564]
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x14]
push ebp
push ecx
push edx
push eax
mov ecx, edi
call fcn.004afe60
mov eax, dword [esp + 0x78]
cmp eax, ebp
mov ecx, eax
jne 0x4b152f
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x4b153b
lea eax, [esp + 0x18]
push ecx
push eax
call fcn.005c505f
add esp, 8
test eax, eax
je 0x4b1593
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0xec]
call fcn.00401f60
mov eax, dword [esp + 0x564]
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x8c]
mov ecx, esi
push edx
push eax
call fcn.005b7100
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x4b1581
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x564]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005b8210
cmp dword [esp + 0xa4], ebp
je 0x4b1632
mov eax, dword [esp + 0x78]
cmp eax, ebp
mov ecx, eax
jne 0x4b15ae
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x4b15ba
lea eax, [esp + 0x18]
push ecx
push eax
call fcn.005c505f
add esp, 8
test eax, eax
jne 0x4b15da
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0xb0]
cmp edx, eax
je 0x4b1632
mov eax, dword [esp + 0xa4]
mov ecx, edi
push eax
call fcn.004bf850
mov esi, eax
cmp esi, ebp
je 0x4b1632
lea ecx, [esp + 0x78]
call fcn.00401f50
push eax
lea ecx, [esp + 0x18]
call fcn.00401f50
push eax
call fcn.005c505f
add esp, 8
test eax, eax
je 0x4b1623
lea ecx, [esp + 0x14]
call fcn.00401f50
push eax
lea ecx, [esi + 0x20]
call fcn.005a2080
jmp 0x4b1632
mov ecx, dword [esp + 0xb0]
push ecx
mov ecx, esi
call fcn.0058acc0
test bl, bl
pop esi
je 0x4b1652
mov edx, dword [esp + 0x560]
lea ecx, [esp + 0x10]
push edx
call fcn.00401f50
mov ecx, dword [esp + 0x34]
push eax
call fcn.005b8460
lea ecx, [esp + 0x74]
mov byte [esp + 0x558], 1
call fcn.00401070
lea ecx, [esp + 0x10]
mov byte [esp + 0x558], 0
call fcn.00401070
lea ecx, [esp + 0x88]
mov dword [esp + 0x558], 0xffffffff
call fcn.0046c810
pop ebx
mov ecx, dword [esp + 0x54c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x550
ret 4