Function at 0x100073e0
Capabilities:
Check os version
Encode data using xor
Get common file path

Disassembly:
push 0x218
push 0x100c1988
call fcn.10075ce0
xor ebx, ebx
mov dword [ebp - 0x214], ebx
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10007408
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007415
add dword [ebp - 0x214], eax
jmp 0x1000741b
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0xc
jl 0x100073f9
mov esi, 0x100a6ea4
push esi
push esi
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
call edi
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 0x3b
jl 0x10007432
cmp dword [ebp - 0x214], ebx
jge 0x1000744c
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007468
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10007479
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007486
add dword [ebp - 0x214], eax
jmp 0x1000748c
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x15
jl 0x1000746a
push esi
push esi
call edi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop esi
idiv esi
cmp edx, 1
je 0x100074b2
cmp edx, 4
je 0x100074b2
and dword [ebp - 0x214], ecx
jmp 0x100074b8
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 0x1e
jl 0x10007498
mov edi, 0xfa
push edi
lea eax, [ebp - 0x210]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call esi
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 0x13
jl 0x100074d5
cmp dword [ebp - 0x214], ebx
jge 0x100074f8
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007514
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007530
cmp edx, 4
je 0x10007530
and dword [ebp - 0x214], ecx
jmp 0x10007536
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 0x1c
jl 0x10007516
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 9
jl 0x10007548
cmp dword [ebp - 0x214], 0
jge 0x10007563
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x1000757f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x18
jl 0x10007581
cmp dword [ebp - 0x214], 0xffff0001
jge 0x100075a8
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x100075c4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x100075e0
cmp edx, 4
je 0x100075e0
and dword [ebp - 0x214], ecx
jmp 0x100075e6
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 0x14
jl 0x100075c6
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10007607
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007614
add dword [ebp - 0x214], eax
jmp 0x1000761a
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x100075f8
mov ebx, 0x100a6ea4
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
and dword [ebp - 4], 0
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0x14
jge 0x1000766e
mov eax, dword [ebp - 0x224]
and eax, reloc.WS2_32.dll_accept
jns 0x10007653
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10007660
inc dword [ebp - 0x214]
jmp 0x10007666
dec dword [ebp - 0x214]
inc dword [ebp - 0x224]
jmp 0x10007638
mov dword [ebp - 4], 0xfffffffe
call fcn.100077bc
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [ebp - 0x214], 0
jge 0x1000769d
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test edx, edx
jne 0x100076bb
call ebx
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x100076bd
cmp dword [ebp - 0x214], 0
jge 0x100076d8
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x100076f0
call ebx
mov dword [ebp - 0x214], eax
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x100076f2
cmp dword [ebp - 0x214], 0
jge 0x10007716
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007732
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jge 0x10007741
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007759
call ebx
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 5
jl 0x1000775b
cmp dword [ebp - 0x214], 0
jge 0x10007776
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x1000778e
call ebx
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
xor ebx, ebx
inc ebx
cmp edx, ebx
je 0x100077d7
cmp edx, 4
je 0x100077d7
and dword [ebp - 0x214], ecx
jmp 0x100077dd
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 3
jl 0x10007790
push edi
lea eax, [ebp - 0x210]
push eax
call esi
mov dword [ebp - 4], ebx
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], 7
jge 0x1000782c
mov eax, dword [ebp - 0x228]
and eax, reloc.WS2_32.dll_accept
jns 0x10007812
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, ebx
jne 0x1000781e
inc dword [ebp - 0x214]
jmp 0x10007824
dec dword [ebp - 0x214]
inc dword [ebp - 0x228]
jmp 0x100077f7
mov dword [ebp - 4], 0xfffffffe
call fcn.10007898
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x1000783a
cmp dword [ebp - 0x214], 0
jge 0x10007855
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007871
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x100078b3
cmp edx, 4
je 0x100078b3
and dword [ebp - 0x214], ecx
jmp 0x100078bb
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 8
jl 0x10007873
xor eax, eax
push 7
pop ebx
xor dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x100078c6
cmp dword [ebp - 0x214], 0
jge 0x100078e0
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, ebx
idiv ecx
test edx, edx
jne 0x100078fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 5
jl 0x100078fd
cmp dword [ebp - 0x214], 0
jge 0x10007918
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, ebx
idiv ecx
test edx, edx
jne 0x10007933
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
sub dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x10007935
cmp dword [ebp - 0x214], 0xffff0001
jge 0x1000795b
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
idiv ebx
test edx, edx
je 0x10007974
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007990
cmp edx, 4
je 0x10007990
and dword [ebp - 0x214], ecx
jmp 0x10007996
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x10007976
push edi
lea eax, [ebp - 0x210]
push eax
call esi
and dword [ebp - 0x214], 0
push 2
pop eax
mov dword [ebp - 4], eax
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x218], eax
jge 0x100079f0
mov ecx, dword [ebp - 0x218]
and ecx, reloc.WS2_32.dll_accept
jns 0x100079d5
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x100079e2
inc dword [ebp - 0x214]
jmp 0x100079e8
dec dword [ebp - 0x214]
inc dword [ebp - 0x218]
jmp 0x100079ba
mov dword [ebp - 4], 0xfffffffe
call fcn.10007a46
test eax, eax
jns 0x10007a09
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007a1f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007a65
cmp edx, 4
je 0x10007a65
and dword [ebp - 0x214], ecx
jmp 0x10007a6d
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x10007a21
and dword [ebp - 0x214], 0
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007aa0
cmp edx, 4
je 0x10007aa0
and dword [ebp - 0x214], ecx
jmp 0x10007aa6
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 3
jl 0x10007a86
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007ad2
cmp edx, 4
je 0x10007ad2
and dword [ebp - 0x214], ecx
jmp 0x10007ad8
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 2
jl 0x10007ab8
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10007aea
cmp dword [ebp - 0x214], 0
jge 0x10007b0e
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007b2a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
and dword [ebp - 0x214], 0
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10007b57
cmp edx, 4
je 0x10007b57
and dword [ebp - 0x214], ecx
jmp 0x10007b5d
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x10007b3d
push edi
lea eax, [ebp - 0x210]
push eax
call esi
xor ebx, ebx
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
push 3
pop esi
cmp eax, esi
jl 0x10007b71
cmp dword [ebp - 0x214], ebx
jge 0x10007b96
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007bb2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], ebx
jge 0x10007bc0
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], ebx
jge 0x10007bea
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007c06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0x21c], ebx
jge 0x10007c44
mov eax, dword [ebp - 0x21c]
and eax, reloc.WS2_32.dll_accept
jns 0x10007c29
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10007c36
inc dword [ebp - 0x214]
jmp 0x10007c3c
dec dword [ebp - 0x214]
inc dword [ebp - 0x21c]
jmp 0x10007c0f
mov dword [ebp - 4], 0xfffffffe
mov esi, 0x100a6ea4
call fcn.10007c7a
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10007c66
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007c95
add dword [ebp - 0x214], eax
jmp 0x10007c9b
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x10007c57
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x10007cab
cmp dword [ebp - 0x214], ebx
jge 0x10007cce
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007cea
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x214], ebx
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10007cf2
cmp dword [ebp - 0x214], ebx
jge 0x10007d0c
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10007d28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], ebx
jge 0x10007d3f
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10007d5b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ebx
cmp dword [ebp - 0x220], eax
jge 0x10007d9d
mov ecx, dword [ebp - 0x220]
and ecx, reloc.WS2_32.dll_accept
jns 0x10007d82
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007d8f
inc dword [ebp - 0x214]
jmp 0x10007d95
dec dword [ebp - 0x214]
inc dword [ebp - 0x220]
jmp 0x10007d67
mov dword [ebp - 4], 0xfffffffe
call fcn.10007e02
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x10007dbf
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop edi
mov ecx, edi
idiv ecx
test edx, edx
jne 0x10007ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10007dee
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10007e1d
add dword [ebp - 0x214], eax
jmp 0x10007e23
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10007ddf
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop esi
idiv esi
cmp edx, 1
je 0x10007e4d
cmp edx, 4
je 0x10007e4d
and dword [ebp - 0x214], ecx
jmp 0x10007e55
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x10007e33
cmp dword [ebp - 0x214], 0xffff0001
jge 0x10007e76
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x10007e91
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10007e93
cmp dword [ebp - 0x214], ebx
jge 0x10007ead
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
jne 0x10007ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x10007eca
cmp dword [ebp - 0x214], ebx
jge 0x10007ee4
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
idiv edi
test edx, edx
jne 0x10007efd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
call fcn.10075d28
ret