Function at 0x404f00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x54], 0x40e8d0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6c]
mov dword [esp], eax
mov dword [ebp - 0x50], 0x44d4d8
mov dword [ebp - 0x48], 0x4052f6
mov dword [ebp - 0x44], esp
call fcn.0041a020
mov dword [ebp - 0x68], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov eax, dword [method.QObject.QObject_QObject_]
call eax
mov edx, dword [ebp - 0x74]
mov dword [edx], 0x45268c
mov eax, dword [sym.imp.QtCore4.dll_QListData::shared_null]
mov dword [edx + 0xc], eax
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x68], 0xd
call eax
mov eax, dword [ebp - 0x74]
sub esp, 4
mov edx, dword [ebp - 0x74]
add eax, 0x14
mov dword [ebp - 0x78], eax
mov eax, dword [sym.imp.QtCore4.dll_QString::shared_null]
mov dword [edx + 0x14], eax
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x68], 0xc
call eax
mov eax, dword [sym.imp.QtCore4.dll_QString::shared_null]
sub esp, 4
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x18], eax
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x68], 0xb
call eax
mov dword [ebp - 0x68], 0xa
mov eax, dword [ebp - 0x74]
sub esp, 4
add eax, 0x1c
mov dword [esp], eax
mov eax, dword [reloc.QtCore4.dll__ZN9QDateTimeC1Ev]
call eax
mov dword [ebp - 0x68], 9
mov eax, 0xffffffff
mov dword [esp + 8], eax
mov eax, 0x450140
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [method.QString.fromAscii_char_const__int_]
call eax
mov dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x78]
sub esp, 4
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [method.QString.operator_QString_const_]
call eax
mov dword [ebp - 0x68], 9
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call eax
sub esp, 4
test eax, eax
je 0x4054ff
mov eax, dword [sym.imp.QtCore4.dll_QString::codecForCStrings]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax]
add edx, 0x14
mov dword [ebp - 0x80], edx
test eax, eax
je 0x4054cf
mov dword [ebp - 0x68], 9
lea eax, [ebp - 0x28]
mov edi, 0xffffffff
mov dword [esp], eax
mov esi, 0x450140
mov eax, dword [method.QString.fromAscii_char_const__int_]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call eax
mov dword [ebp - 0x68], 7
mov eax, dword [ebp - 0x80]
sub esp, 4
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [method.QString.operator_QString_const__const]
call eax
mov dword [ebp - 0x68], 9
movzx eax, al
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call eax
sub esp, 4
test eax, eax
je 0x405568
movzx eax, byte [ebp - 0x84]
test al, al
je 0x405138
mov dword [esp], 0x450141
call sub.msvcrt.dll_getenv
test eax, eax
je 0x405510
mov dword [esp], eax
mov edx, 0xffffffff
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 4], edx
mov dword [ebp - 0x68], 9
call eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], 5
add eax, 0x14
mov dword [esp], eax
mov eax, dword [method.QString.operator_QString_const_]
call eax
mov dword [ebp - 0x68], 9
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call eax
sub esp, 4
test eax, eax
je 0x405579
mov dword [esp], 8
mov dword [ebp - 0x68], 9
call fcn.0040fd20
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x74]
mov dword [esp], eax
mov eax, dword [method.QUdpSocket.QUdpSocket_QObject_]
mov dword [esp + 4], edx
mov dword [ebp - 0x68], 4
call eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x10], eax
mov eax, 0xb18e
mov dword [esp + 4], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x68], 9
mov dword [esp], eax
mov eax, dword [method.QUdpSocket.bind_unsigned_short_]
call eax
lea edx, [ebp - 0x28]
mov dword [esp], edx
call dword [method.QHostInfo.localHostName__]
mov dword [ebp - 0x68], 3
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
add eax, 0x18
mov dword [esp], eax
mov eax, dword [method.QString.operator_QString_const_]
call eax
mov dword [ebp - 0x68], 9
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call eax
sub esp, 4
test eax, eax
jne 0x4051e6
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
mov dword [ebp - 0x68], 9
lea edx, [ebp - 0x38]
mov eax, dword [method.QDateTime.currentDateTime__]
mov dword [esp], edx
call eax
mov dword [ebp - 0x68], 2
sub esp, 4
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
add eax, 0x1c
mov dword [esp], eax
mov eax, dword [method.QDateTime.operator_QDateTime_const_]
call eax
mov dword [ebp - 0x68], 9
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [method.QDateTime.QDateTime__]
call eax
mov edx, dword [ebp - 0x74]
xor eax, eax
mov edi, str.2readyRead__
mov dword [esp + 0x10], eax
mov eax, str.1processPendingDatagrams__
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov eax, dword [edx + 0x10]
mov dword [esp], eax
call dword [method.QObject.connect_QObject_const__char_const__QObject_const__char_const__Qt::ConnectionType_]
call sub.sysinfo.dll_MSYSStart
mov dword [esp], 0x18
call fcn.0040fd20
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [method.QTimer.QTimer_QObject_]
call eax
mov edx, dword [ebp - 0x74]
xor esi, esi
mov ebx, str.1update__
mov eax, dword [ebp - 0x90]
mov ecx, str.2timeout__
mov dword [edx + 8], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x68], 9
mov dword [esp], eax
mov eax, dword [method.QObject.connect_QObject_const__char_const__QObject_const__char_const__Qt::ConnectionType_]
call eax
mov edx, 0x1388
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 8]
mov dword [esp], eax
call dword [method.QTimer.start_int_]
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.0041a100
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x70], 0x450140
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov eax, dword [method.QString.operator_QLatin1String_const__const]
mov dword [esp], edx
mov dword [ebp - 0x68], 9
call eax
movzx eax, al
mov dword [ebp - 0x84], eax
jmp 0x4050bf
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40503b
mov dword [ebp - 0x68], 9
mov eax, dword [ebp - 0x74]
mov ebx, 0xffffffff
mov dword [esp + 8], ebx
mov ecx, 0x45018a
lea edx, [ebp - 0x28]
mov dword [esp + 4], ecx
add eax, 0x14
mov dword [ebp - 0x88], eax
mov eax, dword [method.QString.fromAscii_char_const__int_]
mov dword [esp], edx
call eax
mov dword [ebp - 0x68], 6
mov edx, dword [ebp - 0x88]
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [method.QString.operator_QString_const_]
mov dword [esp], edx
call eax
jmp 0x405119
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x4050bf
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x405138