Function at 0x432c50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x18]
sub esp, 0x5c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x54]
sub esp, 0xc
mov dword [ebp - 0x3c], sym.___gxx_personality_sj0
push eax
mov dword [ebp - 0x38], 0x437e28
mov dword [ebp - 0x30], 0x432e35
call sym.__Unwind_SjLj_Register
mov eax, dword [0x439134]
add esp, 0x10
test eax, eax
je 0x432de0
cmp dword [ebp + 8], 0x80
ja 0x432ca5
mov eax, dword [0x439134]
test eax, eax
jle 0x432cd8
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], 0xffffffff
push eax
call sym.operator_new_unsigned_int_
add esp, 0x10
mov dword [ebp - 0x58], eax
sub esp, 0xc
lea eax, [ebp - 0x54]
push eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x58]
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 8]
add ecx, 7
mov eax, ecx
mov dword [ebp - 0x5c], ecx
shr eax, 3
lea eax, [eax*4 - 4]
mov dword [ebp - 0x60], eax
mov eax, dword [0x439140]
test eax, eax
je 0x432dc1
mov eax, dword [0x439100]
test eax, eax
jne 0x432da5
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x43f800]
test edx, edx
je 0x432d81
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx]
mov dword [ebp - 0x58], edx
mov dword [ecx + 0x43f800], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x432d73
mov eax, dword [0x439140]
test eax, eax
je 0x432d5a
mov eax, dword [0x439100]
test eax, eax
je 0x432cbe
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x43914c
call sym.___gthr_win32_mutex_unlock
add esp, 0x10
jmp 0x432cbe
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x439140
call method.std::_STL_mutex_lock._M_initialize__
add esp, 0x10
jmp 0x432d35
mov dword [ebp - 0x50], 1
call method.std.__throw_bad_alloc__
jmp 0x432d2c
mov edi, dword [ebp - 0x5c]
sub esp, 0xc
and edi, 0xfffffff8
mov dword [ebp - 0x5c], edi
mov esi, dword [ebp - 0x5c]
push esi
mov dword [ebp - 0x50], 1
call method.std::__default_alloc_template_true__0_._S_refill_unsigned_int_
add esp, 0x10
mov dword [ebp - 0x58], eax
jmp 0x432d25
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x43914c
call sym.___gthr_win32_mutex_lock
add esp, 0x10
jmp 0x432d0a
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x439140
call method.std::_STL_mutex_lock._M_initialize__
add esp, 0x10
jmp 0x432cfd
sub esp, 0xc
push 0x407ee0
call sym._getenv
add esp, 0x10
test eax, eax
je 0x432e10
mov eax, 1
lock add dword [0x439134], eax
mov eax, dword [0x439134]
test eax, eax
jne 0x432c93
jmp 0x432e15
or eax, 0xffffffff
jmp 0x432df9
push 0x407ef2
push 0x199
push 0x407f20
push 0x407f6b
mov dword [ebp - 0x50], 0xffffffff
call sym.___eprintf
add ebp, 0x18
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [0x439140]
test eax, eax
jne 0x432e5e
sub esp, 0xc
mov dword [ebp - 0x50], 0
push 0x439140
call method.std::_STL_mutex_lock._M_initialize__
add esp, 0x10
mov ecx, dword [0x439100]
test ecx, ecx
je 0x432e7f
sub esp, 0xc
mov dword [ebp - 0x50], 0
push 0x43914c
call sym.___gthr_win32_mutex_unlock
add esp, 0x10
sub esp, 0xc
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0xffffffff
push edx
call sym.__Unwind_SjLj_Resume
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop