Function at 0x45b4b0
Capabilities:
Check os version
Get common file path
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4960d9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp - 0x27c]
mov dword [eax], vtable.CWLSetUpApp.0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 4], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 8
call fcn.0041f900
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x18
call fcn.0042de40
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x4c], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x50
call fcn.0042de40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x27c]
add ecx, 0x54
call fcn.0042de40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
add ecx, 0x58
call fcn.0042de40
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x27c]
add ecx, 0x5c
call fcn.0042de40
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x27c]
add ecx, 0x60
call fcn.0042de40
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x27c]
add ecx, 0x64
call fcn.0042de40
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x27c]
add ecx, 0x68
call fcn.0042de40
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x6c], 1
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x74], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x19c
call fcn.0042de40
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1a0
call fcn.0042de40
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1a4
call fcn.0042de40
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1a8
call fcn.0042de40
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1ac
call fcn.0042de40
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1b0
call fcn.0042de40
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1b4
call fcn.0042de40
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1b8
call fcn.0042de40
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1e4
call fcn.0042de40
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x27c]
add ecx, 0x1e8
call fcn.00401c50
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x27c]
add ecx, 0x204
call fcn.00401c50
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x27c]
add ecx, 0x220
call fcn.00401c50
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x27c]
add ecx, 0x23c
call fcn.00401c50
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x27c]
add ecx, 0x258
call fcn.00401c50
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x27c]
add ecx, 0x274
call fcn.00401c50
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x27c]
add ecx, 0x290
call fcn.00401c50
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x27c]
add ecx, 0x2ac
call fcn.00401c50
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x27c]
add ecx, 0x2c8
call fcn.00401c50
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x2e4], 0
mov eax, dword [ebp - 0x27c]
mov byte [eax + 0x2ec], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x2f0], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x2f4
call fcn.00401c50
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x310], 0
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x314], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x340], 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x36c
call fcn.00401c50
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x27c]
add ecx, 0x388
call fcn.0042de40
mov byte [ebp - 4], 0x1d
push 0x4a51cc
mov ecx, dword [ebp - 0x27c]
add ecx, 0x18
call fcn.0042e120
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x40], 1
mov edx, dword [ebp - 0x27c]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x24], 0
push 6
push 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x194
push ecx
call fcn.00472990
add esp, 0xc
push 0x28
push 0
mov edx, dword [ebp - 0x27c]
add edx, 0x1bc
push edx
call fcn.00472990
add esp, 0xc
push 0x14
push 0
mov eax, dword [ebp - 0x27c]
add eax, 0x318
push eax
call fcn.00472990
add esp, 0xc
push 0x12
push 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x32c
push ecx
call fcn.00472990
add esp, 0xc
push 0x24
push 0
lea edx, [ebp - 0x258]
push edx
call fcn.00472990
add esp, 0xc
push 0x11c
push 0
mov eax, dword [ebp - 0x27c]
add eax, 0x78
push eax
call fcn.00472990
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x78], 0x11c
mov edx, dword [ebp - 0x27c]
add edx, 0x78
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x45b95c
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x78], 0x114
mov ecx, dword [ebp - 0x27c]
add ecx, 0x78
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x45b95c
jmp 0x45b9cb
push 0x4a522c
push 0x4a5240
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x45b991
lea edx, [ebp - 0x258]
push edx
call dword [ebp - 0x234]
jmp 0x45b99e
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0x258]
cmp ecx, 9
je 0x45b9b6
movzx edx, word [ebp - 0x258]
cmp edx, 6
jne 0x45b9c3
mov eax, dword [ebp - 0x27c]
mov dword [eax + 0x34], 1
xor ecx, ecx
jne 0x45b8e1
mov byte [ebp - 0x229], 0
lea ecx, [ebp - 0x21d]
call fcn.00427990
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x224]
push eax
push 1
lea ecx, [ebp - 0x229]
push ecx
mov edx, dword [ebp - 0x27c]
add edx, 0x2ec
push edx
mov eax, dword [ebp - 0x27c]
add eax, 0x2e8
push eax
lea ecx, [ebp - 0x21d]
call fcn.00421470
push 0x28
push 0
mov ecx, dword [ebp - 0x27c]
add ecx, 0x344
push ecx
call fcn.00472990
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00472990
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x27c]
add ecx, 0x36c
call fcn.00401f70
push str._system32drivers_
mov ecx, dword [ebp - 0x27c]
add ecx, 0x36c
call fcn.00441d80
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x74]
push ecx
call fcn.0042ad40
add esp, 4
movzx edx, byte [ebp - 0x229]
push edx
mov eax, dword [ebp - 0x27c]
movzx ecx, byte [eax + 0x2ec]
push ecx
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x7c]
push ecx
push str.os:_d._d._d_id_type:_d_0x_X
push 0x4a5284
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 0x1c
cmp dword [ebp - 0x224], 0
je 0x45bbc5
cmp dword [ebp - 0x228], 0
jle 0x45bbc5
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.0040a0b0
add esp, 0xc
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x284]
call fcn.004049e0
push eax
push 0x4a52d4
push 0x4a52c8
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 0xc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x274]
call fcn.004044e0
mov eax, dword [ebp - 0x228]
push eax
push 0
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00472990
add esp, 0xc
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x278]
push eax
call fcn.0047311d
add esp, 4
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x21d]
call fcn.0041f800
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret