Function at 0x10155fc0
Capabilities:
Check os version
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101f0764
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.101d9141
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x3e0], esi
call fcn.101d3586
mov eax, dword [0x1026a7a0]
mov dword [esp + 0x40], eax
mov ebx, vtable.CFileException.0
or ebp, 0xffffffff
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x3e4], 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
call fcn.101d2c95
mov eax, dword [0x1026a7a0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xcc]
lea edx, [esp + 0xcc]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3f0]
mov byte [esp + 0x3e0], 6
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x30]
lea ecx, [esp + 0xcc]
push eax
push 0x40
push ecx
lea ecx, [esp + 0x64]
call fcn.101d9278
test eax, eax
jne 0x101560e3
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], 5
call fcn.101d2b0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e0], 4
call fcn.101d2b0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 3
call fcn.101d2b0c
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x3e0], 7
call fcn.101d2b0c
lea ecx, [esp + 0x58]
mov dword [esp + 0x3e0], ebp
call fcn.101d9235
xor eax, eax
jmp 0x10156812
lea edx, [esp + 0x18]
xor esi, esi
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
call fcn.101d945b
mov ebp, dword [esp + 0x3e8]
test eax, eax
je 0x10156648
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10156622
mov edx, dword [esp + 0x48]
xor esi, esi
cmp edx, esi
jne 0x10156140
mov dl, byte [eax]
mov dword [esp + 0x48], 1
cmp dl, 0x5b
jne 0x10156140
mov dword [esp + 0x44], esi
jmp 0x10156177
cmp dword [esp + 0x44], esi
je 0x10156177
cmp ecx, esi
jle 0x10156177
mov al, byte [esi + eax]
mov cl, al
and ecx, 0xf
mov dl, byte [ecx + 0x10248e20]
lea ecx, [esp + 0x18]
xor al, dl
mov byte [esp + 0x54], al
mov edx, dword [esp + 0x54]
push edx
push esi
call fcn.101d30be
mov eax, dword [esp + 0x18]
inc esi
cmp esi, dword [eax - 8]
jl 0x1015614a
push 0x1027ee34
lea ecx, [esp + 0x1c]
call fcn.101cb580
cmp eax, 0xffffffff
jne 0x10156622
push 0x1027ee30
lea ecx, [esp + 0x1c]
call fcn.101cb580
cmp eax, 0xffffffff
je 0x101561e4
xor bl, bl
mov byte [esp + 0x28], 0xff
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x2c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1027ed14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.101cb580
cmp eax, 0xffffffff
jne 0x101561db
inc bl
cmp bl, 8
mov byte [esp + 0x2c], bl
jb 0x101561ac
jmp 0x10156622
mov byte [esp + 0x28], bl
jmp 0x10156622
push str.Version
lea ecx, [esp + 0x1c]
call fcn.101cb580
cmp eax, 0xffffffff
je 0x10156288
mov edx, dword [esp + 0x18]
push 0x10229a28
lea ecx, [esp + 0x1c]
mov edi, dword [edx - 8]
call fcn.101cb580
mov esi, eax
lea eax, [esp + 0x4c]
inc esi
lea ecx, [esp + 0x18]
sub edi, esi
push edi
push eax
call fcn.101cb414
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e4], 8
call fcn.101d2c45
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3e0], 6
call fcn.101d2b0c
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0x10265fd0
push edx
call fcn.10033968
lea ecx, [ebp + 0x85]
xor eax, eax
mov edx, ecx
add esp, 0xc
mov dword [edx], eax
mov word [edx + 4], ax
mov byte [edx + 6], al
mov edx, dword [esp + 0x18]
add esi, edx
mov dl, byte [esi]
mov byte [ecx + eax], dl
inc eax
inc esi
cmp eax, 6
jl 0x10156277
jmp 0x10156622
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1d0]
mov byte [esp + 0x17], al
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x2d4]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor esi, esi
push 0x1027ee20
push eax
mov dword [esp + 0x2c], esi
call fcn.10147f9c
add esp, 8
lea ecx, [esp + 0x1c]
push eax
call fcn.101d2c95
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x10156622
mov ebx, dword [esp + 0x3ec]
test esi, esi
jne 0x1015630c
push eax
lea ecx, [esp + 0x20]
call fcn.101d2f3c
lea ecx, [esp + 0x1d0]
push eax
push ecx
jmp 0x101565cb
cmp esi, 5
ja 0x1015633d
lea edi, [esp + esi*4 + 0x68]
push edi
push str.0x_02x
push ecx
call fcn.10033968
mov eax, dword [edi]
xor edx, edx
mov dl, byte [esi + ebx - 1]
add esp, 0xc
cmp edx, eax
jne 0x1015661a
inc byte [esp + 0x17]
jmp 0x101565dc
cmp esi, 6
jne 0x1015639b
lea eax, [esp + 0x80]
push eax
push str.0x_02x
push ecx
call fcn.10033968
mov eax, dword [esp + 0x8c]
add esp, 0xc
test eax, eax
je 0x1015638e
xor ecx, ecx
mov dword [esp + 0x24], 1
mov cl, byte [ebx + 5]
cmp ecx, eax
jne 0x10156622
mov al, byte [esp + 0x17]
mov ebx, dword [esp + 0x3ec]
inc al
mov byte [esp + 0x17], al
jmp 0x101565dc
mov dword [esp + 0x24], 0
jmp 0x101565dc
cmp esi, 8
jbe 0x101565dc
lea edx, [esp + 0x10]
push edx
push str.0x_x
push ecx
call fcn.10033968
add esp, 0xc
cmp esi, 9
jne 0x101563c8
mov al, byte [esp + 0x10]
mov byte [ebp], al
jmp 0x101565dc
cmp esi, 0xa
jne 0x101563d9
mov cl, byte [esp + 0x10]
mov byte [ebp + 1], cl
jmp 0x101565dc
cmp esi, 0xb
jne 0x101563ea
mov dl, byte [esp + 0x10]
mov byte [ebp + 2], dl
jmp 0x101565dc
cmp esi, 0xc
jne 0x101563fb
mov al, byte [esp + 0x10]
mov byte [ebp + 3], al
jmp 0x101565dc
cmp esi, 0xd
jne 0x1015640c
mov cl, byte [esp + 0x10]
mov byte [ebp + 4], cl
jmp 0x101565dc
cmp esi, 0xe
jne 0x1015641d
mov dl, byte [esp + 0x10]
mov byte [ebp + 5], dl
jmp 0x101565dc
cmp esi, 0xf
jne 0x1015642e
mov al, byte [esp + 0x10]
mov byte [ebp + 6], al
jmp 0x101565dc
cmp esi, 0x10
jne 0x1015643f
mov cl, byte [esp + 0x10]
mov byte [ebp + 7], cl
jmp 0x101565dc
cmp esi, 0x11
jne 0x10156450
mov dl, byte [esp + 0x10]
mov byte [ebp + 8], dl
jmp 0x101565dc
cmp esi, 0x12
jne 0x10156463
mov ax, word [esp + 0x10]
mov word [ebp + 0x20], ax
jmp 0x101565dc
cmp esi, 0x13
jne 0x10156476
mov cx, word [esp + 0x10]
mov word [ebp + 0x22], cx
jmp 0x101565dc
cmp esi, 0x14
jb 0x1015648d
cmp esi, 0x33
ja 0x1015648d
mov dl, byte [esp + 0x10]
mov byte [esp + esi + 0x78], dl
jmp 0x101565dc
cmp esi, 0x34
jne 0x101564a1
mov al, byte [esp + 0x10]
mov byte [ebp + 0xac], al
jmp 0x101565dc
cmp esi, 0x35
jne 0x101564b2
mov cl, byte [esp + 0x10]
mov byte [ebp + 0x28], cl
jmp 0x101565dc
cmp esi, 0x36
jne 0x101564c3
mov dl, byte [esp + 0x10]
mov byte [ebp + 0x29], dl
jmp 0x101565dc
cmp esi, 0x37
jne 0x101564d7
mov al, byte [esp + 0x10]
mov byte [ebp + 0x132], al
jmp 0x101565dc
cmp esi, 0x38
jne 0x101564e8
mov cl, byte [esp + 0x10]
mov byte [ebp + 0x2a], cl
jmp 0x101565dc
cmp esi, 0x39
jne 0x101564f9
mov dl, byte [esp + 0x10]
mov byte [ebp + 0x2b], dl
jmp 0x101565dc
cmp esi, 0x3a
jne 0x1015650c
mov ax, word [esp + 0x10]
mov word [ebp + 0x2c], ax
jmp 0x101565dc
cmp esi, 0x3b
jne 0x1015651f
mov cx, word [esp + 0x10]
mov word [ebp + 0x2e], cx
jmp 0x101565dc
cmp esi, 0x3c
jb 0x10156536
cmp esi, 0x5b
ja 0x10156536
mov dl, byte [esp + 0x10]
mov byte [esp + esi + 0x70], dl
jmp 0x101565dc
cmp esi, 0x5c
jb 0x10156553
cmp esi, 0xdb
ja 0x10156553
mov al, byte [esp + 0x10]
mov byte [esi + ebp + 0xf7], al
jmp 0x101565dc
cmp esi, 0xdc
jb 0x10156570
cmp esi, 0x15b
ja 0x10156570
mov cl, byte [esp + 0x10]
mov byte [esi + ebp + 0xf7], cl
jmp 0x101565dc
cmp esi, 0x15c
jne 0x10156584
mov dl, byte [esp + 0x10]
mov byte [ebp + 0x253], dl
jmp 0x101565dc
cmp esi, 0x15d
jne 0x10156598
mov al, byte [esp + 0x10]
mov byte [ebp + 0x254], al
jmp 0x101565dc
cmp esi, 0x15e
jne 0x101565a9
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x7d], ecx
jmp 0x101565dc
cmp esi, 0x15f
jne 0x10156608
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
push eax
call fcn.101d2f3c
push eax
lea eax, [esp + 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.101d2f8b
mov ecx, dword [esp + 0x18]
push 0x1027ee20
push ecx
inc esi
call fcn.10147f9c
add esp, 8
lea ecx, [esp + 0x1c]
push eax
call fcn.101d2c95
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x101562f0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x1015661e
cmp al, 5
je 0x1015663e
jmp 0x10156622
xor al, al
jmp 0x1015660c
cmp al, 6
je 0x1015663e
lea edx, [esp + 0x18]
lea ecx, [esp + 0x58]
push edx
call fcn.101d945b
test eax, eax
jne 0x10156112
mov esi, dword [esp + 0x50]
jmp 0x10156643
mov esi, 1
mov ebx, vtable.CFileException.0
lea ecx, [esp + 0x58]
call fcn.101d95a8
test esi, esi
jne 0x10156699
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], 5
call fcn.101d2b0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e0], 4
call fcn.101d2b0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 3
call fcn.101d2b0c
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3e0], 9
jmp 0x10156778
xor eax, eax
mov cl, byte [esp + eax + 0x1d0]
test cl, cl
je 0x101566b0
mov byte [eax + ebp + 0x30], cl
inc eax
cmp eax, 0x20
jl 0x1015669b
xor eax, eax
mov cl, byte [esp + eax + 0x2d4]
test cl, cl
je 0x101566ca
mov byte [eax + ebp + 0x2d3], cl
inc eax
cmp eax, 0x20
jl 0x101566b2
cmp byte [esp + 0x28], 0xff
jae 0x101566f7
mov ecx, dword [esp + 0x28]
xor eax, eax
and ecx, 0xff
lea edx, [ecx*4 + 0x1027ed14]
mov ecx, dword [edx]
mov cl, byte [eax + ecx]
test cl, cl
je 0x101566f7
mov byte [eax + ebp + 0x50], cl
inc eax
cmp eax, 0x10
jl 0x101566e4
mov eax, dword [ebp + 0x7d]
lea edi, [ebp + 0x8c]
mov ecx, 8
lea esi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x133]
mov ecx, 8
lea esi, [esp + 0xac]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x1015679c
cmp byte [ebp + 0x7c], 6
jb 0x1015679c
push ebp
call sym.ITEuDllvMgr.dll_FLH_CalCulate_ECCNO
add esp, 4
cmp al, 0xff
jne 0x10156799
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], 5
call fcn.101d2b0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e0], 4
call fcn.101d2b0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 3
call fcn.101d2b0c
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3e0], 0xa
lea ecx, [esp + 0x40]
call fcn.101d2b0c
lea ecx, [esp + 0x58]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.101d9235
xor eax, eax
jmp 0x10156812
mov byte [ebp + 0x28], al
push 1
push ebp
call fcn.10157110
add esp, 8
lea ecx, [esp + 0x20]
mov dword [ebp + 0x81], 0x33776655
mov byte [esp + 0x3e0], 5
call fcn.101d2b0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e0], 4
call fcn.101d2b0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 3
call fcn.101d2b0c
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x3e0], 0xb
call fcn.101d2b0c
lea ecx, [esp + 0x58]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.101d9235
mov eax, 1
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d4
ret