Function at 0x100caa2
Capabilities:
Accept command line arguments
Check os version
Create thread
Get geographical location

Disassembly:
push 0x150
mov eax, 0x1029cf8
call fcn.01008d6c
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp + 8]
lea esi, [ebp + 0x14]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
push ebx
push ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0xc]
push 1
push ebx
mov dword [ebp - 0x138], eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, dword [0x1033f70]
or eax, dword [0x1033f74]
jne 0x100cbfa
cmp byte [0x1033f64], bl
jne 0x100cb99
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x100cb37
cmp dword [ebp - 0x130], 6
setb al
mov byte [0x1033f65], al
cmp al, bl
jne 0x100cb92
push 0x1001a7c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
je 0x100cb8b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001a70
push edi
call esi
mov dword [0x1033f68], eax
cmp eax, ebx
je 0x100cb8b
push 0x1001a60
push edi
call esi
mov dword [section..data], eax
cmp eax, ebx
je 0x100cb81
push 0x1001a50
push edi
call esi
mov dword [0x1033f6c], eax
cmp eax, ebx
jne 0x100cb92
mov dword [section..data], 0x10079ce
mov byte [0x1033f65], 1
mov byte [0x1033f64], 1
cmp byte [0x1033f65], bl
jne 0x100cbbd
push 0x1033f70
push 0x1033f78
push 0x1007977
push 0x100188c
call dword [section..data]
jmp 0x100cbfa
mov ecx, 0x1033f78
push ecx
push ebx
mov eax, ecx
cdq
push ebx
mov dword [0x1033f74], edx
lea edx, [ebp - 0x154]
push edx
push 1
mov dword [0x1033f70], eax
mov eax, 0x100188c
push eax
push ecx
push 0x1007905
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], ebx
call dword [sym.imp.ntdll.dll_EtwRegisterTraceGuidsW]
cmp dword [0x1033f9c], ebx
je 0x100cc2a
mov al, byte [0x1033fa0]
cmp al, 4
jae 0x100cc0f
cmp al, bl
jne 0x100cc2a
push 0x100189c
push 0x1001910
push dword [0x1033f74]
push dword [0x1033f70]
call fcn.01009460
push 0x250
call fcn.010086aa
pop ecx
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x100cc51
push dword [ebp - 0x148]
mov ecx, eax
call fcn.0100ebce
jmp 0x100cc53
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [0x1034008], eax
cmp eax, ebx
je 0x100d0ec
mov edi, dword [ebp - 0x140]
cmp byte [edi], bl
je 0x100cc91
push 0x10021f0
call fcn.010094d1
cmp eax, ebx
jne 0x100cc91
push 0xffffffffffffffff
push ebx
push 1
push 0x63
push 0x5b
push 0x54
call fcn.0100df6c
jmp 0x100d0d5
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jg 0x100cc7c
cmp byte [edi + 1], bl
je 0x100ccb6
push ebx
push 0x10021e8
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
test eax, eax
jl 0x100d0d5
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x148], eax
cmp eax, ebx
je 0x100cd2b
xor esi, esi
cmp dword [ebp - 0x158], ebx
jle 0x100cd2b
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + esi*4]
cmp eax, ebx
je 0x100cd22
mov ecx, 0x10021d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cd15
cmp dx, bx
je 0x100cd11
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cd15
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100ccef
xor eax, eax
jmp 0x100cd1a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x100cdcd
inc esi
cmp esi, dword [ebp - 0x158]
jl 0x100ccdd
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x138]
mov ecx, 0x1033fc8
mov dword [ebp - 0x140], ebx
call fcn.0100c76c
test al, al
je 0x100d0c1
mov eax, dword [0x1034008]
add eax, 0x48
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x14c], ebx
call fcn.0100ca5c
push ebx
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x140]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0100c8d0
mov esi, eax
cmp esi, ebx
je 0x100d0af
cmp esi, 1
jne 0x100ce4b
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x100ce4b
push 0xffffffffffffffff
push ebx
push esi
push ebx
push 0x60
push 0x54
call fcn.0100df6c
jmp 0x100d0af
push 2
lea eax, [ebp - 0x140]
push eax
mov esi, 0x1014
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0x10021cc
push esi
push ebx
call edi
push dword [ebp + 0x10]
mov ecx, 0x1033fc8
call fcn.0100c885
mov dword [ebp - 0x15c], eax
mov eax, dword [0x1034008]
cmp dword [eax + 0x34], ebx
je 0x100ce3b
push ebx
push ebx
push ebx
push 0x100d58b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x138], eax
cmp eax, ebx
je 0x100ce3b
push eax
call fcn.0100a291
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x140]
push eax
push esi
push ebx
call edi
jmp 0x100d0c1
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x100d0af
mov dword [ebp - 0x144], ebx
lea eax, [ebp - 0x144]
push eax
push 0x1001be0
push 0x17
push ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x144], ebx
je 0x100d095
cmp eax, ebx
jl 0x100d095
cmp esi, 2
jne 0x100cf79
cmp byte [edi + 2], bl
je 0x100d074
mov dword [ebp - 0x138], ebx
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x144]
mov byte [ebp - 4], 3
call fcn.010096f4
mov esi, eax
cmp esi, ebx
jl 0x100cf3c
mov ecx, dword [ebp - 0x138]
cmp ecx, ebx
je 0x100cf3c
mov dword [ebp - 0x13c], ebx
mov edx, dword [ecx]
lea eax, [ebp - 0x13c]
push eax
mov eax, 0x10021bc
push eax
push ebx
push eax
push ecx
mov byte [ebp - 4], 4
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x100cf12
mov eax, dword [ebp - 0x13c]
cmp eax, ebx
je 0x100cf12
push dword [ebp - 0x14c]
mov ecx, dword [eax]
push dword [ebp - 0x140]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x13c]
cmp eax, ebx
je 0x100cf28
mov dword [ebp - 0x13c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x100cf3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, 0x80004002
jne 0x100cf5c
push dword [ebp - 0x14c]
mov eax, dword [ebp - 0x144]
push dword [ebp - 0x140]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x138]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x100d074
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100d074
cmp esi, 1
jne 0x100d074
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x150]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x138], ebx
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x144]
mov byte [ebp - 4], 5
call fcn.010096f4
mov esi, eax
cmp esi, ebx
jl 0x100d035
mov ecx, dword [ebp - 0x138]
cmp ecx, ebx
je 0x100d035
mov dword [ebp - 0x13c], ebx
mov edx, dword [ecx]
lea eax, [ebp - 0x13c]
push eax
mov eax, 0x10021bc
push eax
push ebx
push eax
push ecx
mov byte [ebp - 4], 6
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x100d00b
mov eax, dword [ebp - 0x13c]
cmp eax, ebx
je 0x100d00b
push dword [ebp - 0x14c]
mov edx, dword [0x1034008]
push dword [edx + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x13c]
cmp eax, ebx
je 0x100d021
mov dword [ebp - 0x13c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x100d035
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, 0x80004002
jne 0x100d059
push dword [ebp - 0x14c]
mov edx, dword [0x1034008]
push dword [edx + 8]
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x138]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x100d06d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x144]
cmp eax, ebx
je 0x100d095
mov dword [ebp - 0x144], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x144]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x100d0af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x150]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0100a344
cmp dword [ebp - 0x148], ebx
je 0x100d0d5
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [0x1034008]
cmp ecx, ebx
je 0x100d0ec
push 1
call fcn.0100961c
mov dword [0x1034008], ebx
cmp byte [0x1033f64], bl
je 0x100d13f
mov esi, dword [0x1033f70]
mov eax, dword [0x1033f74]
mov ecx, esi
or ecx, eax
je 0x100d13f
cmp byte [0x1033f65], bl
jne 0x100d117
push eax
push esi
call dword [0x1033f6c]
jmp 0x100d133
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ntdll.dll_EtwUnregisterTraceGuids]
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [0x1033f70], ebx
mov dword [0x1033f74], ebx
mov eax, dword [ebp - 0x15c]
call fcn.01008dfe
ret 0x1c