Function at 0x1003c33
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes
Get geographical location
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x1005020]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
cmp esi, ebx
mov word [ebp - 0x224], bx
mov ecx, 0x81
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
mov word [ebp - 0x10], 0x2e
mov word [ebp - 0xe], 0x65
mov word [ebp - 0xc], 0x78
mov word [ebp - 0xa], 0x65
mov word [ebp - 8], bx
mov word [ebp - 0x1c], 0x2e
mov word [ebp - 0x1a], 0x6c
mov word [ebp - 0x18], 0x6e
mov word [ebp - 0x16], 0x6b
mov word [ebp - 0x14], bx
stosw word es:[edi], ax
mov dword [ebp - 0xa2c], ebx
mov dword [ebp - 0xa30], ebx
je 0x1003fb8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, ebx
je 0x1003fb8
cmp eax, 1
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
jle 0x1003d46
push 2
push 0x1001910
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x1003d46
and word [ebp - 0xa28], ax
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, 0x200
lea edi, [ebp - 0xa26]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
push 0x88
push dword [0x100503c]
call esi
push 0x401
lea eax, [ebp - 0xa28]
push eax
push 0x89
push dword [0x100503c]
call esi
push 0x20
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0xa28]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1003fb3
lea eax, [ebp - 0xa30]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
mov dword [ebp - 0xa34], esi
je 0x1003fb8
cmp dword [ebp - 0xa30], 0
je 0x1003fb8
push dword [esi]
call edi
mov dword [ebp + 8], eax
mov eax, 0x104
cmp dword [ebp + 8], eax
jae 0x1003f34
push dword [esi]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.01001a40
test eax, eax
jl 0x1003f34
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x224]
push eax
call esi
cmp eax, 0xffffffff
jne 0x1003e18
mov eax, dword [ebp + 8]
cmp eax, 0x100
jae 0x1003e14
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebp + eax*2 - 0x224]
push 5
push eax
call fcn.01001a40
test eax, eax
jl 0x1003f34
lea eax, [ebp - 0x224]
push eax
call esi
cmp eax, 0xffffffff
jne 0x1003e14
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push 5
lea eax, [ebp + eax*2 - 0x224]
push eax
call fcn.01001a40
test eax, eax
jl 0x1003f34
lea eax, [ebp - 0x224]
push eax
call esi
cmp eax, 0xffffffff
je 0x1003f34
add dword [ebp + 8], 4
mov eax, dword [ebp + 8]
cmp eax, 5
jl 0x1003f34
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea ecx, [ebp - 0x10]
lea eax, [ebp + eax*2 - 0x22c]
push ecx
push eax
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x1003e70
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1003f34
push 0x104
push 0x1005048
lea eax, [ebp - 0x224]
push eax
call fcn.01001bfa
test eax, eax
je 0x1003f34
jmp 0x1003e8e
lea eax, [ebp - 0x224]
push eax
push 0x104
push 0x1005048
call fcn.01001a40
test eax, eax
jl 0x1003f34
cmp dword [ebp - 0xa30], 1
jle 0x1003f34
mov eax, dword [ebp - 0xa34]
mov esi, dword [eax + 4]
push esi
call edi
cmp eax, 4
jle 0x1003ed3
cmp eax, 7
jge 0x1003ed3
push 2
push 0x1001328
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1003f28
push 2
push 0x1001908
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1003f28
push esi
push 0x104
push 0x1005250
call fcn.01001a40
test eax, eax
jl 0x1003f34
cmp dword [ebp - 0xa30], 2
jle 0x1003f34
mov eax, dword [ebp - 0xa34]
mov esi, dword [eax + 8]
push esi
call edi
cmp eax, 4
jle 0x1003f34
cmp eax, 7
jge 0x1003f34
push 2
push 0x1001328
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1003f28
push 2
push 0x1001908
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x1003f34
push esi
call fcn.010023fd
mov dword [ebp - 0xa2c], eax
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xa2c], 0
je 0x1003fb8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp dword [ebp - 0xa2c], eax
je 0x1003f99
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1001218
push 0x10011f8
call esi
test eax, eax
je 0x1003fb8
push 0x104
lea eax, [ebp - 0x224]
push eax
push 9
push dword [ebp - 0xa2c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x224]
push eax
push 0x10013bc
call esi
test eax, eax
je 0x1003fb8
push 0
push 0x1003a32
push 0
push 0x91
push dword [0x100503c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor eax, eax
inc eax
jmp 0x1003fba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01004128
leave
ret 4