Function at 0x41b3c4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x44c2a4]
test eax, eax
je 0x41b4ce
movzx eax, byte [0x44c2bc]
test al, al
jne 0x41b4bf
mov eax, dword [0x44c2ac]
mov esi, dword [0x44c2a8]
cmp esi, eax
jbe 0x41b415
mov ecx, dword [0x44c2c0]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x41b404
mov dword [0x44c2c0], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call sym.operator_new_unsigned_int_
movzx ebx, word [0x44c2ac]
mov dword [0x44c2e4], eax
mov edx, eax
mov esi, dword [0x44c2a8]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp cx, bx
jbe 0x41b455
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x41b444
mov eax, dword [0x44c2c0]
shl eax, 4
mov dword [esp], eax
call sym.operator_new_unsigned_int_
mov dword [0x44c2d4], eax
mov ebx, dword [0x455880]
test ebx, ebx
jne 0x41b527
xor esi, esi
cmp esi, dword [0x44c2c0]
jae 0x41b4bf
mov esi, esi
mov dword [esp], 4
mov eax, dword [0x44c2d4]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call sym.operator_new_unsigned_int_
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x44c2c0]
jb 0x41b494
mov byte [0x44c2d8], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0x1000
mov dword [0x44c2a4], eax
mov eax, pe_nt_image_headers32
mov esi, 0xa
mov dword [0x44c2a8], eax
mov eax, 8
mov dword [0x44c2ac], eax
mov eax, 0xff0
mov dword [0x44c2b0], eax
mov dword [0x44c2b4], edi
mov dword [0x44c2b8], esi
call sym._getenv
test eax, eax
setne al
mov byte [0x44c2bc], al
jmp 0x41b3e1
mov eax, dword [0x44c2b4]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call sym.operator_new_unsigned_int_
cmp dword [0x44c2b4], 1
mov dword [0x44c2c8], eax
jmp 0x41b56f
mov edx, dword [0x44c2c8]
lea eax, [ebx*8]
mov ecx, dword [0x44c2c8]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x44c2b4], ebx
mov dword [edx - 8], eax
ja 0x41b54a
mov eax, dword [0x44c2c8]
xor ecx, ecx
mov dword [eax + ebx*8 - 8], ecx
mov eax, dword [0x44c2c8]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x44c2cc
call sym.___gthr_win32_mutex_init_function
mov dword [esp], 0x44c2c4
mov edx, method.__gnu_cxx::__mt_alloc_wchar_t_._S_destroy_thread_key_void_
mov dword [esp + 4], edx
call sym.___gthr_win32_key_create
mov dword [ebp - 0x10], 0
mov esi, dword [0x44c2b4]
xor eax, eax
inc esi
cmp eax, dword [0x44c2c0]
jae 0x41b4bf
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x44c2d4]
shl edx, 4
lea ebx, [edx + eax]
call sym.operator_new_unsigned_int_
mov dword [ebx], eax
mov dword [esp], edi
call sym.operator_new_unsigned_int_
mov dword [ebx + 4], eax
mov dword [esp], edi
call sym.operator_new_unsigned_int_
mov dword [ebx + 8], eax
mov dword [esp], 8
call sym.operator_new_unsigned_int_
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call sym.___gthr_win32_mutex_init_function
xor edx, edx
jmp 0x41b642
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x41b624
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x44c2c0]
jb 0x41b5d4
jmp 0x41b4bf