Function at 0x1000eddc
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10058d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov byte [esp + 0x30], dl
push ebx
push esi
push edi
test dl, dl
je 0x1000ee16
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x1000f48c
xor ecx, ecx
inc ecx
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0xea2a3b3f
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x24], 0x8d9dcee3
mov dword [esp + 0xc], ebx
jmp 0x1000ee4d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x38], 0x1476
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x1000ee3d
dec dword [esp + 0x14]
jne 0x1000ee87
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], ebx
je 0x1000ee73
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0x8af8
jle 0x1000ee87
mov ecx, ebx
mov eax, dword [esp + 0x38]
xor edx, edx
cmp eax, ecx
setge dl
xor ecx, ecx
neg edx
cmp edx, 0x5b3847d2
setge cl
xor eax, eax
cmp ecx, 0xaf86
setg al
mov dword [esp + 0x10], eax
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1000eed2
push 0x4ee8
push 0x7950
push ecx
mov edx, 0x3f83
mov cl, 1
call fcn.1000d989
add esp, 0xc
mov dword [esp + 0x10], 0x14bc
cmp dword [esp + 0x10], 0x1540
jle 0x1000ef50
mov esi, ebx
mov edi, ebx
lea eax, [ebx + edi]
add eax, esi
lea ecx, [esp + 0xe8]
cdq
push edx
push eax
call fcn.10001a11
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000ef06
mov eax, dword [eax]
push eax
call fcn.100400a6
pop ecx
push 0
push 1
lea ecx, [esp + 0xf0]
call fcn.10001eb4
inc ebx
cmp ebx, 0x6858
jl 0x1000eee8
inc edi
push 0
pop ebx
cmp edi, 0x4c1f
jl 0x1000eee8
inc esi
cmp esi, 0x2156
jl 0x1000eee6
push 1
push ebx
push 0x212b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 3
lea ecx, [esp + 0x88]
call fcn.10001bdd
cmp dword [esp + 0x10], 0x1159
jge 0x1000ef73
push str.ygj_zqggoxzkz_jwwonnhx_uidk_bjz
call fcn.100400a6
pop ecx
mov dword [esp + 0x124], ebx
lea eax, [esp + 0xa8]
mov dword [esp + 0x5c], 0x40f2fdad
mov dword [esp + 0x74], 0x7d1afd06
push eax
mov dword [esp + 0x70], 0x829ed890
lea eax, [esp + 0x88]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xd70cadd6
push 1
mov dword [esp + 0x68], ebx
push eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.1000decb
add esp, 0xc
lea eax, [esp + 0x84]
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
push eax
push 0x26e3
push ebx
push 1
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
push 0x30fe
lea eax, [esp + 0x80]
push eax
push 1
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.100101cd
or dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0xb0]
add esp, 0x2c
call fcn.10001c3a
push 0x7c
pop eax
push 2
mov word [esp + 0x20], 0x6500
mov ecx, ebx
mov byte [esp + 0x22], 2
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0xe6
mov word [esp + 0x2c], ax
pop esi
cmp esi, 2
jne 0x1000f053
push 3
pop ecx
push ecx
pop esi
jmp 0x1000f07a
movzx edx, byte [esp + esi + 0x1d]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x1a]
movzx eax, word [esp + eax*2 + 0x28]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x1c]
mov word [esp + eax*2 + 0x28], cx
mov ecx, ebx
add esi, 2
cmp esi, 5
jb 0x1000f047
xor eax, eax
mov dword [esp + 0xd8], 7
mov word [esp + 0x2a], ax
lea ecx, [esp + 0xc4]
mov word [esp + 0xc4], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xd8], ebx
call fcn.1000c915
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x128], 3
call fcn.1000d8b6
pop ecx
push ebx
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x12c], 5
call fcn.1000ca37
push 0x7540
push ecx
push 1
push ecx
mov dword [esp + 0x38], ebx
call fcn.1000e986
mov eax, 0x18795010
lea ecx, [esp + 0xa0]
mov dword [esp + 0x50], eax
add esp, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0xffffffff
push 1
call fcn.10001bdd
mov byte [esp + 0x124], 6
mov dword [esp + 0xc], 0x1c8f
cmp dword [esp + 0xc], 0x1da5
jle 0x1000f1c3
mov esi, ebx
mov dword [esp + 0x10], 0x2abf
xor edi, edi
mov eax, ebx
lea ecx, [esp + 0x100]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001a11
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000f178
mov eax, dword [eax]
push eax
call fcn.100400a6
pop ecx
push 0
push 1
lea ecx, [esp + 0x108]
call fcn.10001eb4
inc edi
cmp edi, 0x10d6
jl 0x1000f158
add ebx, esi
dec dword [esp + 0x10]
jne 0x1000f156
inc esi
push 0
pop ebx
cmp esi, 0xada
jl 0x1000f14e
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov dword [esp + 0x10], 0x1ee3199f
cmp dword [esp + 0xc], 0x19e9
jge 0x1000f1e0
push str.mzcyafvq_eibviac_itb_igr_oso_vyo_jkpdyzuwf_ewito_vttu
call fcn.100400a6
pop ecx
mov dword [esp + 0x124], 6
push 3
mov dword [esp + 0x28], 0x5d07a051
mov dword [esp + 0x10], ebx
pop edx
jmp 0x1000f20c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x78], 2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1000f1fc
mov dword [esp + 0xc], ebx
jmp 0x1000f22e
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x1000f218
mov dword [esp + 0xc], ebx
jmp 0x1000f24e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xdc], 2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1000f23b
cmp dword [esp + 0x4c], ebx
jne 0x1000f25e
mov ecx, ebx
jmp 0x1000f261
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x4c]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x80], ecx
test ecx, ecx
je 0x1000f289
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0xc], 0xffffffff
sbb ecx, ecx
neg ecx
add ecx, 0x20cb0022
imul ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x90]
mov dword [eax], ecx
lea ecx, [esp + 0x90]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xdc]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x124], 5
call fcn.10001c3a
push 0x20
pop eax
push 2
mov dword [esp + 0x30], 0x2a026703
mov ecx, ebx
mov dword [esp + 0x34], 0x4000701
mov word [esp + 0x38], 0x3f01
mov word [esp + 0x5a], ax
pop esi
cmp esi, 8
jne 0x1000f3b4
push 2
mov dword [esp + 0x28], 0x1349
cmp dword [esp + 0x28], 0x1365
pop ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], esi
jle 0x1000f3db
push 0x1f81
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, ebx
xor edi, edi
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [eax + edi]
mov eax, ebx
shl eax, cl
mov ecx, 0x10072ab8
and eax, esi
cdq
push edx
push eax
call fcn.10001ac8
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x4d48
jl 0x1000f366
inc edi
cmp edi, 0x7284
jl 0x1000f360
inc ebx
cmp ebx, 0x14b8
jl 0x1000f35e
inc esi
push 0
pop ebx
cmp esi, 0x2109
jl 0x1000f35e
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
jmp 0x1000f3db
movzx edx, byte [esp + esi + 0x2d]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x2a]
movzx eax, word [esp + eax*2 + 0x50]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x2c]
mov word [esp + eax*2 + 0x50], cx
mov ecx, ebx
add esi, 2
cmp esi, 0xa
jb 0x1000f326
xor eax, eax
mov dword [esp + 0xc0], 7
mov word [esp + 0x58], ax
lea ecx, [esp + 0xac]
mov word [esp + 0xac], ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0xc0], ebx
call fcn.1000c915
xor eax, eax
mov byte [esp + 0x124], 0xb
lea edi, [esp + 0x50]
mov dl, 1
stosd dword es:[edi], eax
mov ecx, 0x6a3e
push ebx
push 0x245c
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xb8]
push eax
push 1
push 0x26d8
push 0x6000
push 0x77a2
call fcn.1000ea28
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xbc]
add esp, 0x20
push eax
call fcn.100112dd
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.1000ca37
lea ecx, [esp + 0x9c]
call fcn.10011937
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret