Function at 0x401fe5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
push 4
mov edx, 0xde5b7090
pop ecx
call fcn.00401402
call eax
push 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00404990
lea ecx, [esp + 0x20]
push 8
mov dword [eax + 4], ebx
mov dword [esp + 0x24], eax
mov dword [eax], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00404990
pop ecx
pop ecx
lea ecx, [esp + 0x2c]
mov dword [eax + 4], ebx
mov dword [esp + 0x2c], eax
mov dword [eax], ecx
mov eax, ecx
push eax
sub esp, 0x1c
mov ecx, esp
push str.DigitalProductId
call fcn.0040332d
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x3c]
call fcn.00403f74
add esp, 0x20
mov edx, 0x59b26164
push dword [esp + 0x14]
push 4
pop ecx
call fcn.00401402
call eax
mov ecx, dword [ebp + 8]
call fcn.00401ac9
push str.BCDFGHJKMPQRTVWXY2346789
lea ecx, [esp + 0x94]
call fcn.0040332d
push 0x42
lea ecx, [esp + 0x20]
call fcn.0040315c
push 0x42
lea ecx, [esp + 0x20]
call fcn.0040315c
push 0x42
lea ecx, [esp + 0x20]
mov bl, byte [eax]
call fcn.0040315c
and bl, 0xf7
push 0x18
mov byte [eax], bl
xor ebx, ebx
pop eax
mov dword [esp + 0x10], eax
push 0x42
mov edi, ebx
mov dword [esp + 0x1c], 0xf
pop esi
push esi
lea ecx, [esp + 0x20]
call fcn.0040315c
shl edi, 8
push 0x18
pop ecx
movzx eax, byte [eax]
add eax, edi
cdq
idiv ecx
push esi
lea ecx, [esp + 0x20]
mov edi, edx
mov ebx, eax
call fcn.0040315c
dec esi
sub dword [esp + 0x18], 1
mov byte [eax], bl
jne 0x4020e8
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x90]
push edi
call fcn.0040324a
cmp dword [esi + 0x14], 0x7fffffff
mov al, byte [eax]
mov byte [esp + 0xc], al
je 0x4022cf
cmp dword [esi + 0x18], 0xf
lea eax, [esi + 4]
jbe 0x402146
mov eax, dword [eax]
push dword [esi + 0x14]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x54]
call fcn.00403ccf
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004032cf
lea ecx, [esp + 0x3c]
call fcn.00401b05
mov eax, dword [esp + 0x3c]
xor ebx, ebx
push 8
push eax
mov dword [esp + 0x44], ebx
call fcn.004049e0
sub dword [esp + 0x18], 1
pop ecx
pop ecx
jns 0x4020db
push edi
push 1
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call fcn.004031f3
push 0xffffffffffffffff
lea eax, [edi + 1]
mov ecx, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004031f3
push 0x407a18
lea edx, [esp + 0x78]
lea ecx, [esp + 0xb0]
call fcn.00403665
cmp dword [esp + 0x74], 0xf
pop ecx
push dword [esp + 0x6c]
lea ecx, [esp + 0x60]
cmova ecx, dword [esp + 0x60]
push ecx
mov ecx, eax
call fcn.004035ff
push eax
lea ecx, [esp + 0x40]
call fcn.004032f0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004032cf
lea ecx, [esp + 0x3c]
call fcn.00401b05
mov eax, dword [esp + 0x3c]
push 8
push eax
mov dword [esp + 0x44], ebx
call fcn.004049e0
pop ecx
pop ecx
lea ecx, [esp + 0xac]
call fcn.00401b05
mov eax, dword [esp + 0xac]
push 8
push eax
mov dword [esp + 0xb4], ebx
call fcn.004049e0
pop ecx
pop ecx
push 5
pop edi
cmp dword [esi + 0x14], edi
jbe 0x402258
push 1
push 0x407a1c
push edi
mov ecx, esi
call fcn.00403493
add edi, 6
cmp edi, dword [esi + 0x14]
jb 0x402241
lea ecx, [esp + 0x58]
call fcn.00401b05
mov eax, dword [esp + 0x58]
push 8
push eax
mov dword [esp + 0x60], ebx
call fcn.004049e0
pop ecx
pop ecx
lea ecx, [esp + 0x74]
call fcn.00401b05
mov eax, dword [esp + 0x74]
push 8
push eax
mov dword [esp + 0x7c], ebx
call fcn.004049e0
pop ecx
pop ecx
lea ecx, [esp + 0x90]
call fcn.00401b05
mov ecx, dword [esp + 0x90]
push 8
push ecx
mov dword [esp + 0x98], ebx
call fcn.004049e0
pop ecx
pop ecx
lea ecx, [esp + 0x2c]
call fcn.004031bd
lea ecx, [esp + 0x1c]
call fcn.004031bd
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401c87
int3