Function at 0x425120
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x18]
sub esp, 0x6c
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], 0x437e2e
mov dword [ebp - 0x30], 0x42532a
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x58], 0
je 0x4251a8
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x439134]
mov dword [ebp - 0x5c], ecx
test eax, eax
je 0x4252d0
cmp dword [ebp - 0x5c], 0x80
ja 0x425189
mov eax, dword [0x439134]
test eax, eax
jle 0x4251c2
sub esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], 0xffffffff
push eax
call sym.operator_new_unsigned_int_
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x58], ecx
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 eax, dword [ebp - 0x5c]
add eax, 7
mov dword [ebp - 0x64], eax
shr eax, 3
lea eax, [eax*4 - 4]
mov dword [ebp - 0x68], eax
mov eax, dword [0x439140]
test eax, eax
je 0x4252b0
mov eax, dword [0x439100]
test eax, eax
jne 0x425294
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x43f800]
test edx, edx
je 0x42526d
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx]
mov dword [ebp - 0x60], edx
mov dword [ecx + 0x43f800], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x42525f
mov eax, dword [0x439140]
test eax, eax
je 0x425246
mov eax, dword [0x439100]
test eax, eax
je 0x4251a2
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x43914c
call sym.___gthr_win32_mutex_unlock
add esp, 0x10
jmp 0x4251a2
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x439140
call method.std::_STL_mutex_lock._M_initialize__
add esp, 0x10
jmp 0x42521d
mov dword [ebp - 0x50], 1
call method.std.__throw_bad_alloc__
jmp 0x425214
mov edi, dword [ebp - 0x64]
sub esp, 0xc
and edi, 0xfffffff8
mov dword [ebp - 0x64], edi
mov esi, dword [ebp - 0x64]
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 - 0x60], eax
jmp 0x42520d
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x43914c
call sym.___gthr_win32_mutex_lock
add esp, 0x10
jmp 0x4251f2
sub esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 0x439140
call method.std::_STL_mutex_lock._M_initialize__
add esp, 0x10
jmp 0x4251e5
sub esp, 0xc
push 0x407ee0
call sym._getenv
add esp, 0x10
test eax, eax
je 0x425300
mov eax, 1
lock add dword [0x439134], eax
mov eax, dword [0x439134]
test eax, eax
jne 0x425177
jmp 0x42530a
lock add dword [0x439134], 0xffffffff
jmp 0x4252f0
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 - 0x6c], eax
mov eax, dword [0x439140]
test eax, eax
jne 0x425353
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 0x425374
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 - 0x6c]
mov dword [ebp - 0x50], 0xffffffff
push edx
call sym.__Unwind_SjLj_Resume
nop
nop
nop
nop
nop
nop
nop
nop
nop