Function at 0x1000c930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], ecx
test edx, edx
je 0x1000cb90
test eax, eax
je 0x1000cb90
test esi, esi
je 0x1000cb90
test ecx, ecx
je 0x1000cb90
push edi
push edx
lea esi, [ebx + 8]
push 0x104
push esi
mov dword [ebp - 0x208], 0
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push dword [ebp - 0x214]
lea edi, [ebx + 0x210]
push 0x104
push edi
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push edi
push esi
push str.__s____s_
push 0xffffffffffffffff
lea eax, [ebx + 0x854]
push 0x40f
push eax
call dword [sym.imp.MSVCR110.dll__snwprintf_s]
push 0x44
lea esi, [ebx + 0x1074]
push 0
push esi
call sub.MSVCR110.dll_memset
add esp, 0x3c
lea ecx, [ebx + 0x125c]
push edi
mov dword [esi], 0x44
mov dword [ebx + 0x1078], 0
mov dword [ebx + 0x107c], 0
mov dword [ebx + 0x1080], 0
mov dword [ebx + 0x10a0], 1
mov dword [ebx + 0x10a4], 5
mov dword [ebx + 0x10a8], 0
call fcn.1000cc80
test al, al
je 0x1000cb77
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x208], 1
call edi
push eax
lea ecx, [ebx + 0x10c8]
call fcn.1000c830
mov esi, dword [ebx + 0x1264]
call edi
mov edi, dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov dword [esi + 0x2e0], eax
mov esi, dword [ebp - 0x20c]
mov eax, dword [ebx + 0x1264]
push esi
add eax, 0x5b0
push 0x104
push eax
call edi
push dword [ebp - 0x210]
mov eax, dword [ebx + 0x1264]
add eax, 0x7b8
push 0x104
push eax
call edi
push 0x5c
push esi
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 0x20
test eax, eax
je 0x1000caba
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov eax, dword [ebx + 0x1264]
push esi
add eax, 0x13c8
push 0x400
push eax
call edi
mov eax, dword [ebx + 0x1264]
push 0x208
add eax, 0x9c0
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
mov ecx, ebx
push str._n_a_
push str._n_a_
call fcn.1000cd10
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0x10013914
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1000cb5e
push 0x1000c920
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push method.boost::detail::sp_counted_impl_p_class_boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_alloc___.virtual_12
push 0x1000ce20
call fcn.1000e840
mov eax, dword [ebp - 0x208]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret 0x10
push method.boost::detail::sp_counted_impl_p_class_boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_alloc___.virtual_12
push 0x1000ce20
call fcn.1000e840
push 0x1000c920
call 0x1000ce20
mov eax, dword [ebp - 0x208]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000f53c
mov esp, ebp
pop ebp
ret 0x10