Function at 0x40b141
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0x24
mov byte [ebp - 0x27], 0x41
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x55
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x4d
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], 0x24
mov byte [ebp - 0x1f], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1b8]
cmp dword [eax + 0x794], 0
je 0x40b25d
mov dword [ebp - 0x2c], 0x10007
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00423fa9
add esp, 4
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x40b1e6
jmp 0x40c20f
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00412470
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [eax], 0xf0000
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], 0xffff
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x728]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405894
test eax, eax
jne 0x40b252
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call fcn.00423fd2
add esp, 4
jmp 0x40c20f
mov edx, dword [ebp - 0xc]
add edx, 8
mov dword [ebp - 4], edx
jmp 0x40b264
mov dword [ebp - 4], 0xf0000
mov dword [ebp - 0x14], 0
jmp 0x40b276
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10000
jae 0x40b38a
mov dword [ebp - 0x18], 0
jmp 0x40b295
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 9
jge 0x40b2b8
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movsx ecx, byte [edx + eax]
mov edx, dword [ebp - 0x18]
movsx eax, byte [ebp + edx - 0x28]
cmp ecx, eax
je 0x40b2b6
jmp 0x40b2b8
jmp 0x40b28c
cmp dword [ebp - 0x18], 9
jl 0x40b385
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 9]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 0x1c], dl
mov eax, dword [ebp - 0x1c]
and eax, 0xff
cmp eax, 1
jne 0x40b385
push 0x3c
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 1]
mov eax, dword [ebp - 4]
add eax, edx
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
call fcn.00412c10
add esp, 0xc
push 0x64
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 3]
mov ecx, dword [ebp - 4]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x1b8]
add edx, 0x70
push edx
call fcn.00412c10
add esp, 0xc
push 0x1e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 5]
mov edx, dword [ebp - 4]
add edx, ecx
push edx
mov eax, dword [ebp - 0x1b8]
add eax, 0x5ce
push eax
call fcn.00412c10
add esp, 0xc
push 0x3c
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 7]
mov eax, dword [ebp - 4]
add eax, edx
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x5ec
push ecx
call fcn.00412c10
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x40b38a
jmp 0x40b26d
mov edx, dword [ebp - 0x1b8]
cmp dword [edx + 0x794], 0
je 0x40b3b1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.00423fd2
add esp, 4
cmp dword [ebp - 8], 0
jne 0x40b779
mov edx, dword [ebp - 0x1b8]
xor eax, eax
mov al, byte [edx + 0x754]
shl eax, 0x11
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1b8]
cmp dword [ecx + 0x794], 0
je 0x40b48f
mov edx, dword [ebp - 0x38]
add edx, 7
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00423fa9
add esp, 4
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x40b411
jmp 0x40c20f
mov edx, dword [ebp - 0x3c]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00412470
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x40], ecx
or edx, 0xffffffff
sub edx, dword [ebp - 0x38]
add edx, 1
mov eax, dword [ebp - 0x40]
mov dword [eax], edx
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov edx, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x728]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.00405894
test eax, eax
jne 0x40b484
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
push edx
call fcn.00423fd2
add esp, 4
jmp 0x40c20f
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 4], eax
jmp 0x40b4d8
or ecx, 0xffffffff
sub ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea ecx, [ebp - 0x48]
push ecx
push 8
lea edx, [ebp - 0x50]
push edx
push 0x6e
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 4], edx
mov dword [ebp - 0x34], 0
jmp 0x40b4ea
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x10
cmp dword [ebp - 0x34], ecx
ja 0x40b752
mov dword [ebp - 0x18], 0
jmp 0x40b50b
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 9
jge 0x40b52e
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
movsx edx, byte [eax + ecx]
mov eax, dword [ebp - 0x18]
movsx ecx, byte [ebp + eax - 0x28]
cmp edx, ecx
je 0x40b52c
jmp 0x40b52e
jmp 0x40b502
cmp dword [ebp - 0x18], 9
jl 0x40b74d
or edx, 0xffffffff
sub edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
lea ecx, [edx + eax + 1]
push ecx
push str._ASUSAMI__tag_locates_at_0x_08X_within_current_BIOS
call fcn.004030c0
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 9]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x1c], al
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
cmp ecx, 2
jl 0x40b74d
push 0x3c
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
call fcn.00412c10
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
push 0x64
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x70
push ecx
call fcn.00412c10
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
push 0x1e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x5ce
push ecx
call fcn.00412c10
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
push 0x3c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x5ec
push ecx
call fcn.00412c10
add esp, 0xc
mov edx, dword [ebp - 0x1c]
and edx, 0xff
push edx
push str.Structure_Version____:__d
call fcn.004030c0
add esp, 8
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
push str.Model_Name___________:__s
call fcn.004030c0
add esp, 8
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x70
push ecx
push str.BIOS_Version_________:__s
call fcn.004030c0
add esp, 8
mov edx, dword [ebp - 0x1b8]
add edx, 0x5ce
push edx
push str.Built_Date___________:__s
call fcn.004030c0
add esp, 8
mov eax, dword [ebp - 0x1b8]
add eax, 0x5ec
push eax
push str.Chipset_Name_________:__s
call fcn.004030c0
add esp, 8
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
cmp ecx, 3
jl 0x40b744
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
push 0x64
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00412c10
add esp, 0xc
movsx edx, byte [ebp - 0xb4]
test edx, edx
je 0x40b730
push 0x43205c
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0x1b8]
add edx, 0x556
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x432060
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xb4]
push ecx
push str.Product_ID___________:__s
call fcn.004030c0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x40b752
jmp 0x40b4e1
mov edx, dword [ebp - 0x1b8]
cmp dword [edx + 0x794], 0
je 0x40b779
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
push ecx
call fcn.00423fd2
add esp, 4
cmp dword [ebp - 8], 0
je 0x40b838
mov byte [ebp - 0xc0], 0
xor edx, edx
mov dword [ebp - 0xbf], edx
mov dword [ebp - 0xbb], edx
mov eax, dword [ebp - 0x1b8]
movsx ecx, byte [eax + 0x5d2]
push ecx
mov edx, dword [ebp - 0x1b8]
movsx eax, byte [edx + 0x5d1]
push eax
mov ecx, dword [ebp - 0x1b8]
movsx edx, byte [ecx + 0x5cf]
push edx
mov eax, dword [ebp - 0x1b8]
movsx ecx, byte [eax + 0x5ce]
push ecx
mov edx, dword [ebp - 0x1b8]
movsx eax, byte [edx + 0x5d7]
push eax
mov ecx, dword [ebp - 0x1b8]
movsx edx, byte [ecx + 0x5d6]
push edx
mov eax, dword [ebp - 0x1b8]
movsx ecx, byte [eax + 0x5d5]
push ecx
mov edx, dword [ebp - 0x1b8]
movsx eax, byte [edx + 0x5d4]
push eax
push 0x432080
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
lea edx, [ebp - 0xc0]
push edx
call fcn.00412fd7
add esp, 4
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x6c8], eax
push 0x432094
mov edx, dword [ebp - 0x1b8]
add edx, 0x556
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40b873
push 0x43209c
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40baff
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
mov edx, dword [ebp - 0x1b8]
add edx, 0x6e8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0xd8], 0x50
mov byte [ebp - 0xd7], 0x34
mov byte [ebp - 0xd6], 0x43
mov byte [ebp - 0xd5], 0x38
mov byte [ebp - 0xd4], 0x30
mov byte [ebp - 0xd3], 0x30
mov byte [ebp - 0xd2], 0x42
mov byte [ebp - 0xd1], 0x20
mov byte [ebp - 0xd0], 0x52
mov byte [ebp - 0xcf], 0x4f
mov byte [ebp - 0xce], 0x4d
mov byte [ebp - 0xcc], 0x4b
mov byte [ebp - 0xcb], 0x38
mov byte [ebp - 0xca], 0x56
mov byte [ebp - 0xc9], 0x42
mov byte [ebp - 0xc8], 0x20
mov byte [ebp - 0xc7], 0x20
mov byte [ebp - 0xc6], 0x20
mov byte [ebp - 0xc5], 0x20
mov byte [ebp - 0xc4], 0x52
mov byte [ebp - 0xc3], 0x4f
mov byte [ebp - 0xc2], 0x4d
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x1b8]
cmp dword [eax + 0x794], 0
je 0x40b96d
push 0xfe
push 0xffffff00
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x728]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405809
mov dword [ebp - 4], eax
jmp 0x40b9c4
mov dword [ebp - 0xf0], 0xffffff00
mov dword [ebp - 0xec], 0x100
mov dword [ebp - 0xe8], 0
push 0
lea eax, [ebp - 0xe4]
push eax
push 4
lea ecx, [ebp - 0xe8]
push ecx
push 8
lea edx, [ebp - 0xf0]
push edx
push 0x6e
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 4], edx
push str.P4C800
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40b9ed
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe0], ecx
jmp 0x40b9f9
lea edx, [ebp - 0xcc]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], 0
jmp 0x40ba14
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x100
jae 0x40bacf
mov dword [ebp - 0xf4], 0
jmp 0x40ba3f
mov ecx, dword [ebp - 0xf4]
add ecx, 1
mov dword [ebp - 0xf4], ecx
cmp dword [ebp - 0xf4], 0xb
jge 0x40ba72
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xf4]
movsx ecx, byte [edx + eax]
mov edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0xf4]
movsx eax, byte [edx]
cmp ecx, eax
je 0x40ba70
jmp 0x40ba72
jmp 0x40ba30
cmp dword [ebp - 0xf4], 0xb
jl 0x40baca
push 0x4320a8
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40bab1
push str._BASIC_
mov edx, dword [ebp - 0x1b8]
add edx, 0x556
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40bac8
push 0x4320b4
mov eax, dword [ebp - 0x1b8]
add eax, 0x6e8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40bacf
jmp 0x40ba05
mov ecx, dword [ebp - 0x1b8]
cmp dword [ecx + 0x794], 0
je 0x40bafa
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405860
jmp 0x40c1fe
push str.P5GD2
mov edx, dword [ebp - 0x1b8]
add edx, 0x556
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40be2e
mov byte [ebp - 0x128], 0x50
mov byte [ebp - 0x127], 0x35
mov byte [ebp - 0x126], 0x47
mov byte [ebp - 0x125], 0x44
mov byte [ebp - 0x124], 0x32
mov byte [ebp - 0x123], 0x20
mov byte [ebp - 0x122], 0x20
mov byte [ebp - 0x121], 0x20
mov byte [ebp - 0x120], 0x52
mov byte [ebp - 0x11f], 0x4f
mov byte [ebp - 0x11e], 0x4d
mov byte [ebp - 0x11d], 0x50
mov byte [ebp - 0x11c], 0x35
mov byte [ebp - 0x11b], 0x47
mov byte [ebp - 0x11a], 0x44
mov byte [ebp - 0x119], 0x32
mov byte [ebp - 0x118], 0x44
mov byte [ebp - 0x117], 0x20
mov byte [ebp - 0x116], 0x20
mov byte [ebp - 0x115], 0x52
mov byte [ebp - 0x114], 0x4f
mov byte [ebp - 0x113], 0x4d
mov byte [ebp - 0x112], 0x50
mov byte [ebp - 0x111], 0x35
mov byte [ebp - 0x110], 0x47
mov byte [ebp - 0x10f], 0x44
mov byte [ebp - 0x10e], 0x32
mov byte [ebp - 0x10d], 0x50
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x20
mov byte [ebp - 0x10a], 0x52
mov byte [ebp - 0x109], 0x4f
mov byte [ebp - 0x108], 0x4d
mov byte [ebp - 0x107], 0x50
mov byte [ebp - 0x106], 0x35
mov byte [ebp - 0x105], 0x47
mov byte [ebp - 0x104], 0x44
mov byte [ebp - 0x103], 0x32
mov byte [ebp - 0x102], 0x50
mov byte [ebp - 0x101], 0x52
mov byte [ebp - 0x100], 0x4f
mov byte [ebp - 0xff], 0x52
mov byte [ebp - 0xfe], 0x4f
mov byte [ebp - 0xfd], 0x4d
mov dword [ebp - 0x138], str._Basic_
mov dword [ebp - 0x134], 0x4320c8
mov dword [ebp - 0x130], 0x4320d4
mov dword [ebp - 0x12c], str._PRO_
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1b8]
cmp dword [eax + 0x794], 0
je 0x40bcbb
push 0xfe
push 0xffffff00
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x728]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405809
mov dword [ebp - 4], eax
jmp 0x40bd12
mov dword [ebp - 0x148], 0xffffff00
mov dword [ebp - 0x144], 0x100
mov dword [ebp - 0x140], 0
push 0
lea eax, [ebp - 0x13c]
push eax
push 4
lea ecx, [ebp - 0x140]
push ecx
push 8
lea edx, [ebp - 0x148]
push edx
push 0x6e
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [ebp - 0x140]
mov dword [ebp - 4], edx
mov dword [ebp - 0xf8], 0
jmp 0x40bd2d
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 4
jge 0x40bdfe
mov dword [ebp - 0x14c], 0
jmp 0x40bd55
mov ecx, dword [ebp - 0x14c]
add ecx, 1
mov dword [ebp - 0x14c], ecx
cmp dword [ebp - 0x14c], 0x100
jae 0x40bdf9
mov dword [ebp - 0x150], 0
jmp 0x40bd80
mov edx, dword [ebp - 0x150]
add edx, 1
mov dword [ebp - 0x150], edx
cmp dword [ebp - 0x150], 0xb
jge 0x40bdbe
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x150]
movsx edx, byte [eax + ecx]
mov eax, dword [ebp - 0xf8]
imul eax, eax, 0xb
lea ecx, [ebp + eax - 0x128]
mov eax, dword [ebp - 0x150]
movsx ecx, byte [ecx + eax]
cmp edx, ecx
je 0x40bdbc
jmp 0x40bdbe
jmp 0x40bd71
cmp dword [ebp - 0x150], 0xb
jl 0x40bdf4
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + edx*4 - 0x138]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0xf8], 4
jmp 0x40bdf9
jmp 0x40bd46
jmp 0x40bd1e
mov edx, dword [ebp - 0x1b8]
cmp dword [edx + 0x794], 0
je 0x40be29
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x728]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405860
jmp 0x40c1fe
push str.P5AD2
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c0ae
mov byte [ebp - 0x170], 0x50
mov byte [ebp - 0x16f], 0x35
mov byte [ebp - 0x16e], 0x41
mov byte [ebp - 0x16d], 0x44
mov byte [ebp - 0x16c], 0x32
mov byte [ebp - 0x16b], 0x44
mov byte [ebp - 0x16a], 0x20
mov byte [ebp - 0x169], 0x20
mov byte [ebp - 0x168], 0x52
mov byte [ebp - 0x167], 0x4f
mov byte [ebp - 0x166], 0x4d
mov byte [ebp - 0x165], 0x50
mov byte [ebp - 0x164], 0x35
mov byte [ebp - 0x163], 0x41
mov byte [ebp - 0x162], 0x44
mov byte [ebp - 0x161], 0x32
mov byte [ebp - 0x160], 0x50
mov byte [ebp - 0x15f], 0x20
mov byte [ebp - 0x15e], 0x20
mov byte [ebp - 0x15d], 0x52
mov byte [ebp - 0x15c], 0x4f
mov byte [ebp - 0x15b], 0x4d
mov dword [ebp - 0x178], str._Deluxe_
mov dword [ebp - 0x174], str._Premium_
mov dword [ebp - 0x158], 0
mov ecx, dword [ebp - 0x1b8]
cmp dword [ecx + 0x794], 0
je 0x40bf3b
push 0xfe
push 0xffffff00
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x728]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.00405809
mov dword [ebp - 4], eax
jmp 0x40bf92
mov dword [ebp - 0x188], 0xffffff00
mov dword [ebp - 0x184], 0x100
mov dword [ebp - 0x180], 0
push 0
lea ecx, [ebp - 0x17c]
push ecx
push 4
lea edx, [ebp - 0x180]
push edx
push 8
lea eax, [ebp - 0x188]
push eax
push 0x6e
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x728]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x180]
mov dword [ebp - 4], eax
mov dword [ebp - 0x154], 0
jmp 0x40bfad
mov ecx, dword [ebp - 0x154]
add ecx, 1
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 2
jge 0x40c07e
mov dword [ebp - 0x18c], 0
jmp 0x40bfd5
mov edx, dword [ebp - 0x18c]
add edx, 1
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x18c], 0x100
jae 0x40c079
mov dword [ebp - 0x190], 0
jmp 0x40c000
mov eax, dword [ebp - 0x190]
add eax, 1
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0xb
jge 0x40c03e
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x190]
movsx eax, byte [ecx + edx]
mov ecx, dword [ebp - 0x154]
imul ecx, ecx, 0xb
lea edx, [ebp + ecx - 0x170]
mov ecx, dword [ebp - 0x190]
movsx edx, byte [edx + ecx]
cmp eax, edx
je 0x40c03c
jmp 0x40c03e
jmp 0x40bff1
cmp dword [ebp - 0x190], 0xb
jl 0x40c074
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp + eax*4 - 0x178]
push ecx
mov edx, dword [ebp - 0x1b8]
add edx, 0x556
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x154], 2
jmp 0x40c079
jmp 0x40bfc6
jmp 0x40bf9e
mov eax, dword [ebp - 0x1b8]
cmp dword [eax + 0x794], 0
je 0x40c0a9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x728]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.00405860
jmp 0x40c1fe
push str.P4C800_E
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x556
push ecx
call fcn.00412b60
add esp, 8
test eax, eax
je 0x40c1fe
mov byte [ebp - 0x19c], 0x48
mov byte [ebp - 0x19b], 0x50
mov byte [ebp - 0x19a], 0x20
mov byte [ebp - 0x199], 0x50
mov byte [ebp - 0x198], 0x61
mov byte [ebp - 0x197], 0x76
mov byte [ebp - 0x196], 0x69
mov byte [ebp - 0x195], 0x6c
mov byte [ebp - 0x194], 0x69
mov byte [ebp - 0x193], 0x6f
mov byte [ebp - 0x192], 0x6e
mov byte [ebp - 0x191], 0
mov edx, dword [ebp - 0x1b8]
cmp dword [edx + 0x794], 0
je 0x40c15a
push 0xfffe
push 0xf0000
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405809
mov dword [ebp - 4], eax
jmp 0x40c161
mov dword [ebp - 4], 0xf0000
mov dword [ebp - 0x14], 0
jmp 0x40c173
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x10000
jae 0x40c1d3
mov dword [ebp - 0x18], 0
jmp 0x40c18e
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb
jge 0x40c1b4
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movsx eax, byte [ecx + edx]
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ebp + ecx - 0x19c]
cmp eax, edx
je 0x40c1b2
jmp 0x40c1b4
jmp 0x40c185
cmp dword [ebp - 0x18], 0xb
jl 0x40c1d1
push 0x432114
mov eax, dword [ebp - 0x1b8]
add eax, 0x556
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40c16a
mov ecx, dword [ebp - 0x1b8]
cmp dword [ecx + 0x794], 0
je 0x40c1fe
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x728]
push ecx
mov ecx, dword [ebp - 0x1b8]
call fcn.00405860
cmp dword [ebp - 8], 0
je 0x40c20f
mov ecx, dword [ebp - 0x1b8]
call fcn.0040c782
mov esp, ebp
pop ebp
ret