Function at 0x440930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466649
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1020
call fcn.00462120
mov eax, dword [0x47e0b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x101c], 0
mov byte [ebp - 4], 1
call fcn.00403b30
jmp 0x440999
mov dword [ebp - 4], 0
push 0xa9
push 0xba
push 0x47
call fcn.004062d0
add esp, 0xc
mov dword [ebp - 0x102c], eax
cmp dword [ebp - 0x102c], 0x1aa
je 0x4409c8
jmp 0x4409ca
jmp 0x4409d4
call fcn.0040f100
call fcn.0040f230
mov al, byte [0x46ad36]
mov byte [ebp - 0x1018], al
push 0xfff
push 0
lea ecx, [ebp - 0x1017]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00406510
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 1
je 0x440a0b
jmp 0x440a15
call fcn.00412fa0
call fcn.0040f300
mov ecx, dword [ebp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
push 0x1000
lea edx, [ebp - 0x1018]
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0
jne 0x440a6e
mov dword [ebp - 0x1020], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x1020]
jmp 0x440b43
cmp dword [ebp - 0x101c], 0x1000
jb 0x440a9f
mov dword [ebp - 0x1024], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x1024]
jmp 0x440b43
lea eax, [ebp - 0x1018]
push eax
mov ecx, dword [ebp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x53
push 0x64
call fcn.00403600
add esp, 8
test eax, eax
je 0x440af1
push 0x53
push 0x64
call fcn.00403600
add esp, 8
mov esi, eax
call fcn.00403920
cdq
idiv esi
cmp eax, 0xa6
jle 0x440af1
push 0xa6
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409900
call fcn.0040f430
push 0x4b
push 0xee
call fcn.00403600
add esp, 8
cmp eax, 0x25
jne 0x440b13
call fcn.004040b0
test eax, eax
je 0x440b13
call fcn.0041ddf0
mov dword [ebp - 0x1028], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x1028]
jmp 0x440b43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00462030
mov esp, ebp
pop ebp
ret