Function at 0x403660
Capabilities:
Check for peb beingdebugged flag
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x42414c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4372c0]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4372c0]
xor eax, esp
push eax
lea eax, [esp + 0x4d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4e4]
mov edi, ecx
push 0x118
xor ebp, ebp
lea ecx, [esp + 0x1ac]
push ebp
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
call fcn.00419bf0
add esp, 0xc
lea edx, [esp + 0x1a4]
push edx
mov dword [esp + 0x1a8], 0x11c
call dword [0x4270a0]
push 0xc
mov eax, str.tu_product
mov ecx, edi
call fcn.00409790
push str.TUU2011
lea eax, [esp + 0x2c8]
push 0x104
push eax
call fcn.00413fbd
add esp, 0xc
lea ecx, [esp + 0x2c4]
push ecx
call dword [0x4270a4]
push eax
lea edx, [esp + 0x2c8]
push edx
call dword [0x427270]
xor eax, eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x2c4]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403745
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c8]
lea esi, [esp + 0x74]
call fcn.00409980
mov ecx, esi
push ecx
lea ebx, [esp + 0xc8]
mov dword [esp + 0x4e0], ebp
call fcn.004123d0
add esp, 4
push ebp
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [esp + 0x4e4], 1
call fcn.004096d0
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x4037b0
mov edx, dword [esp + 0xc8]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], ax
cmp dword [esp + 0x88], esi
jb 0x4037ed
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
push 0xc
mov eax, str.10.0.3010.11
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], dx
call fcn.00409980
mov eax, esi
push eax
lea ebx, [esp + 0x90]
mov dword [esp + 0x4e0], 2
call fcn.004123d0
add esp, 4
push eax
push str.tu_version
lea edi, [esp + 0xb0]
mov byte [esp + 0x4e4], 3
call fcn.0040a860
push eax
mov ebx, str.tu_lang
lea esi, [esp + 0xec]
mov byte [esp + 0x4e8], 4
call fcn.0040a7a0
add esp, 0xc
mov byte [esp + 0x4dc], 5
mov ecx, dword [esp + 0x24]
push ecx
push eax
lea edi, [esp + 0xcc]
call fcn.0040a6f0
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 6
call fcn.004096d0
mov ebx, 8
cmp dword [esp + 0xdc], ebx
jb 0x4038bb
mov edx, dword [esp + 0xc8]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], ax
cmp dword [esp + 0xf8], ebx
jb 0x4038f1
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], dx
cmp dword [esp + 0xc0], ebx
jb 0x403922
mov eax, dword [esp + 0xac]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], cx
cmp dword [esp + 0xa4], ebx
jb 0x403953
mov edx, dword [esp + 0x90]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], ebx
jb 0x40398c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00412b13
add esp, 4
mov edx, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1a8]
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], ebp
call fcn.00411f30
add esp, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x4e0], 7
call fcn.00411f30
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x11c]
mov byte [esp + 0x4e0], bl
call fcn.00411f30
add esp, 4
push eax
mov ebx, 0x429f18
lea esi, [esp + 0x100]
mov byte [esp + 0x4e0], 9
call fcn.0040a7a0
add esp, 4
push edi
push eax
lea edi, [esp + 0x78]
mov byte [esp + 0x4e4], 0xa
call fcn.0040a6f0
push eax
lea esi, [esp + 0xd0]
mov byte [esp + 0x4e8], 0xb
call fcn.0040a7a0
add esp, 0xc
mov byte [esp + 0x4dc], 0xc
mov edx, dword [esp + 0x24]
push edx
push eax
lea edi, [esp + 0xe8]
call fcn.0040a6f0
push eax
lea ebx, [esp + 0xb4]
mov byte [esp + 0x4e8], 0xd
call fcn.004123d0
add esp, 0xc
push eax
push 0x429f1c
lea edi, [esp + 0x94]
mov byte [esp + 0x4e4], 0xe
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0xf
call fcn.004096d0
mov esi, 8
cmp dword [esp + 0xa4], esi
jb 0x403ad2
mov eax, dword [esp + 0x90]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], cx
cmp dword [esp + 0xc0], esi
jb 0x403b08
mov edx, dword [esp + 0xac]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], ax
cmp dword [esp + 0xf8], esi
jb 0x403b39
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], dx
cmp dword [esp + 0xdc], esi
jb 0x403b6a
mov eax, dword [esp + 0xc8]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], cx
cmp dword [esp + 0x88], esi
jb 0x403b98
mov edx, dword [esp + 0x74]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], ax
cmp dword [esp + 0x114], esi
jb 0x403bc6
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebp
mov word [esp + 0x100], dx
cmp dword [esp + 0x130], esi
jb 0x403bf7
mov eax, dword [esp + 0x11c]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebp
mov word [esp + 0x11c], cx
cmp dword [esp + 0x48], esi
jb 0x403c22
mov edx, dword [esp + 0x34]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
cmp dword [esp + 0x6c], esi
jb 0x403c4f
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00412b13
add esp, 4
movzx eax, word [esp + 0x2ba]
cdq
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x2b8]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x50], edx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], eax
call fcn.00411f30
add esp, 4
mov edi, eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x4e0], 0x10
call fcn.00411f30
add esp, 4
push eax
mov ebx, 0x429f18
lea esi, [esp + 0x90]
mov byte [esp + 0x4e0], 0x11
call fcn.0040a7a0
add esp, 4
push edi
push eax
lea edi, [esp + 0x104]
mov byte [esp + 0x4e4], 0x12
call fcn.0040a6f0
push eax
lea ebx, [esp + 0x124]
mov byte [esp + 0x4e8], 0x13
call fcn.004123d0
add esp, 0xc
push eax
push str.os_sp
lea edi, [esp + 0x38]
mov byte [esp + 0x4e4], 0x14
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x15
call fcn.004096d0
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x403d36
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
cmp dword [esp + 0x130], ebx
jb 0x403d63
mov eax, dword [esp + 0x11c]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebp
mov word [esp + 0x11c], cx
cmp dword [esp + 0x114], ebx
jb 0x403d94
mov edx, dword [esp + 0x100]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], ebp
mov word [esp + 0x100], ax
cmp dword [esp + 0xa4], ebx
jb 0x403dc5
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], dx
cmp dword [esp + 0xc0], ebx
jb 0x403df6
mov eax, dword [esp + 0xac]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], cx
cmp dword [esp + 0x6c], ebx
jb 0x403e2c
mov edx, dword [esp + 0x58]
push edx
call fcn.00412b13
add esp, 4
movzx eax, word [esp + 0x2bc]
cdq
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], edx
call fcn.00411f30
add esp, 4
push eax
push str.os_suite
lea edi, [esp + 0x38]
mov dword [esp + 0x4e4], 0x16
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x17
call fcn.004096d0
cmp dword [esp + 0x48], ebx
jb 0x403e94
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
cmp dword [esp + 0x6c], ebx
jb 0x403ec5
mov eax, dword [esp + 0x58]
push eax
call fcn.00412b13
add esp, 4
push str.IsWow64Process
push str.kernel32
call dword [0x42709c]
push eax
call dword [0x427098]
mov edi, eax
mov dword [esp + 0x24], ebp
cmp edi, ebp
je 0x403ef8
lea ecx, [esp + 0x24]
push ecx
call dword [0x4270e8]
push eax
call edi
test eax, eax
je 0x403efc
mov eax, dword [esp + 0x24]
xor edx, edx
cmp eax, ebp
setne dl
lea ecx, [esp + 0x54]
mov eax, edx
cdq
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call fcn.00411f30
add esp, 4
push eax
push str.os_x64
lea edi, [esp + 0x38]
mov dword [esp + 0x4e4], 0x18
call fcn.0040a860
add esp, 8
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x19
call fcn.004096d0
cmp dword [esp + 0x48], ebx
jb 0x403f61
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
cmp dword [esp + 0x6c], ebx
jb 0x403f88
mov eax, dword [esp + 0x58]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x184], esi
mov dword [esp + 0x180], ebp
mov word [esp + 0x170], cx
mov dword [esp + 0x4dc], 0x1a
call dword [0x4270a8]
lea ecx, [esp + 0x16c]
lea edi, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00402c00
test al, al
je 0x404059
lea edx, [esp + 0x16c]
push edx
lea ebx, [esp + 0x58]
call fcn.004123d0
add esp, 4
push eax
push str.os_syslang
lea edi, [esp + 0x38]
mov byte [esp + 0x4e4], 0x1b
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x1c
call fcn.004096d0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x404029
mov eax, dword [esp + 0x34]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov byte [esp + 0x4dc], 0x1a
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
cmp dword [esp + 0x6c], esi
jb 0x404057
mov edx, dword [esp + 0x58]
push edx
call fcn.00412b13
add esp, 4
mov ebx, esi
call dword [0x4270ac]
lea ecx, [esp + 0x16c]
lea edi, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00402c00
test al, al
je 0x404107
lea eax, [esp + 0x16c]
push eax
lea ebx, [esp + 0x58]
call fcn.004123d0
add esp, 4
push eax
push str.os_userlang
lea edi, [esp + 0x38]
mov byte [esp + 0x4e4], 0x1d
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x1e
call fcn.004096d0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4040d7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412b13
add esp, 4
xor edx, edx
mov byte [esp + 0x4dc], 0x1a
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
cmp dword [esp + 0x6c], esi
jb 0x404105
mov eax, dword [esp + 0x58]
push eax
call fcn.00412b13
add esp, 4
mov ebx, esi
lea ecx, [esp + 0x188]
call fcn.00403570
mov byte [esp + 0x4dc], 0x1f
cmp dword [esp + 0x1a8], 5
mov dword [esp + 0x18], ebp
jbe 0x40417b
push str.kernel32.dll
call dword [0x42709c]
cmp eax, ebp
je 0x4041ee
push str.GetProductInfo
push eax
call dword [0x427098]
cmp eax, ebp
je 0x4041ee
movzx edx, word [esp + 0x2ba]
lea ecx, [esp + 0x18]
push ecx
movzx ecx, word [esp + 0x2bc]
push edx
mov edx, dword [esp + 0x1b4]
push ecx
mov ecx, dword [esp + 0x1b4]
push edx
push ecx
call eax
jmp 0x4041ee
mov ecx, 1
cmp byte [esp + 0x2be], cl
jne 0x4041ee
mov eax, dword [esp + 0x2bc]
mov edx, eax
and edx, 0x200
mov esi, 0x200
mov dword [esp + 0x18], 4
cmp si, dx
jne 0x4041b0
mov dword [esp + 0x18], ecx
jmp 0x4041b8
test al, 0x40
je 0x4041b8
mov dword [esp + 0x18], ebx
mov esi, dword [0x427274]
push 0x57
call esi
test eax, eax
je 0x4041d0
mov dword [esp + 0x18], 9
jmp 0x4041ee
push 0x56
call esi
test eax, eax
je 0x4041e2
mov dword [esp + 0x18], 7
jmp 0x4041ee
push 0x58
call esi
test eax, eax
je 0x4041ee
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
call fcn.00411f30
add esp, 4
push eax
push str.os_id
lea edi, [esp + 0x38]
mov byte [esp + 0x4e4], 0x20
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x21
call fcn.004096d0
cmp dword [esp + 0x48], ebx
jb 0x40424e
mov edx, dword [esp + 0x34]
push edx
call fcn.00412b13
add esp, 4
xor eax, eax
mov byte [esp + 0x4dc], 0x1f
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
cmp dword [esp + 0x6c], ebx
jb 0x40427c
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00412b13
add esp, 4
cmp dword [esp + 0x19c], ebp
je 0x404328
lea edx, [esp + 0x188]
push edx
lea ebx, [esp + 0x154]
call fcn.004123d0
add esp, 4
push eax
push str.os_usercountry
lea edi, [esp + 0x13c]
mov byte [esp + 0x4e4], 0x22
call fcn.0040a860
add esp, 8
mov esi, dword [esp + 0x14]
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x4e4], 0x23
call fcn.004096d0
mov esi, 8
cmp dword [esp + 0x14c], esi
jb 0x4042f1
mov eax, dword [esp + 0x138]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], ebp
mov word [esp + 0x138], cx
cmp dword [esp + 0x168], esi
jb 0x404326
mov edx, dword [esp + 0x154]
push edx
call fcn.00412b13
add esp, 4
mov ebx, esi
cmp dword [esp + 0x1a0], ebx
jb 0x404341
mov eax, dword [esp + 0x18c]
push eax
call fcn.00412b13
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1a0], 7
mov dword [esp + 0x19c], ebp
mov word [esp + 0x18c], cx
cmp dword [esp + 0x184], ebx
jb 0x404376
mov edx, dword [esp + 0x170]
push edx
call fcn.00412b13
add esp, 4
mov ecx, dword [esp + 0x4d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00412b1e
add esp, 0x4cc
ret