Function at 0x100f75a2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [0x1015b1bc], 0xffffffff
or dword [0x1015b1b0], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [0x10183d3c]
xor ebx, ebx
push 0x1010af4c
mov dword [ebp - 8], ebx
mov dword [0x10183d0c], ebx
call sub.MSVCR70D.dll_getenv
mov esi, eax
cmp esi, ebx
pop ecx
je 0x100f76fb
cmp byte [esi], bl
je 0x100f76fb
mov eax, dword [0x10183d10]
cmp eax, ebx
je 0x100f7610
push eax
push esi
call sub.MSVCR70D.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x100f77f0
mov eax, dword [0x10183d10]
cmp eax, ebx
je 0x100f7610
push eax
call sub.MSVCR70D.dll_free
pop ecx
push esi
call sub.MSVCR70D.dll_strlen
inc eax
push eax
call sub.MSVCR70D.dll_malloc
cmp eax, ebx
pop ecx
pop ecx
mov dword [0x10183d10], eax
je 0x100f77f0
push esi
push eax
call sub.MSVCR70D.dll_strcpy
push 3
push esi
push dword [0x1015b260]
call sub.MSVCR70D.dll_strncpy
mov eax, dword [0x1015b260]
add esi, 3
add esp, 0x14
mov byte [eax + 3], bl
cmp byte [esi], 0x2d
jne 0x100f765c
mov dword [ebp - 8], 1
inc esi
push esi
call sub.MSVCR70D.dll_atol
imul eax, eax, 0xe10
pop ecx
mov dword [0x1015b1d0], eax
mov al, byte [esi]
cmp al, 0x2b
je 0x100f767c
cmp al, 0x30
jl 0x100f767f
cmp al, 0x39
jg 0x100f767f
inc esi
jmp 0x100f766e
cmp byte [esi], 0x3a
jne 0x100f76c2
inc esi
push esi
call sub.MSVCR70D.dll_atol
imul eax, eax, 0x3c
add dword [0x1015b1d0], eax
pop ecx
jmp 0x100f769c
cmp al, 0x39
jg 0x100f76a2
inc esi
mov al, byte [esi]
cmp al, 0x30
jge 0x100f7697
cmp byte [esi], 0x3a
jne 0x100f76c2
inc esi
push esi
call sub.MSVCR70D.dll_atol
add dword [0x1015b1d0], eax
pop ecx
jmp 0x100f76bc
cmp al, 0x39
jg 0x100f76c2
inc esi
mov al, byte [esi]
cmp al, 0x30
jge 0x100f76b7
cmp dword [ebp - 8], ebx
je 0x100f76cd
neg dword [0x1015b1d0]
movsx eax, byte [esi]
cmp eax, ebx
mov dword [0x1015b1d4], eax
je 0x100f77e9
push 3
push esi
push dword [0x1015b264]
call sub.MSVCR70D.dll_strncpy
mov eax, dword [0x1015b264]
add esp, 0xc
mov byte [eax + 3], bl
jmp 0x100f77f0
mov eax, dword [0x10183d10]
cmp eax, ebx
je 0x100f7711
push eax
call sub.MSVCR70D.dll_free
pop ecx
mov dword [0x10183d10], ebx
push 0x10183c60
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x100f77f0
mov eax, dword [0x10183c60]
mov ecx, dword [0x10183cb4]
imul eax, eax, 0x3c
xor edx, edx
inc edx
cmp word [0x10183ca6], bx
mov dword [0x10183d0c], edx
mov dword [0x1015b1d0], eax
je 0x100f7756
mov esi, ecx
imul esi, esi, 0x3c
add eax, esi
mov dword [0x1015b1d0], eax
cmp word [0x10183cfa], bx
je 0x100f777a
mov eax, dword [0x10183d08]
cmp eax, ebx
je 0x100f777a
sub eax, ecx
imul eax, eax, 0x3c
mov dword [0x1015b1d4], edx
mov dword [0x1015b1d8], eax
jmp 0x100f7786
mov dword [0x1015b1d4], ebx
mov dword [0x1015b1d8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 4]
push eax
push ebx
push 0x3f
push dword [0x1015b260]
push 0xffffffffffffffff
push 0x10183c64
push ebx
push edi
call esi
test eax, eax
je 0x100f77b7
cmp dword [ebp - 4], ebx
jne 0x100f77b7
mov eax, dword [0x1015b260]
mov byte [eax + 0x3f], bl
jmp 0x100f77be
mov eax, dword [0x1015b260]
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push ebx
push 0x3f
push dword [0x1015b264]
push 0xffffffffffffffff
push 0x10183cb8
push ebx
push edi
call esi
test eax, eax
je 0x100f77e9
cmp dword [ebp - 4], ebx
jne 0x100f77e9
mov eax, dword [0x1015b264]
mov byte [eax + 0x3f], bl
jmp 0x100f77f0
mov eax, dword [0x1015b264]
mov byte [eax], bl
pop edi
pop esi
pop ebx
leave
ret