Function at 0x4ade60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9be3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x4f7fc4
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0x4f7fc0
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 1
call dword [sym.imp.QtCore4.dll_public:_static_class_QDir___cdecl_QDir::temp_void_]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absolutePath_void_]
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x3c], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x4f7fc4
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 0xa
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QString_const___enum_Qt::CaseSensitivity_const]
test al, al
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0x30], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x4adfc4
push 0x4f7fc4
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004029f0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0xb
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x30], 0xc
test esi, esi
je 0x4adfff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.NGLALog.txt
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.004029f0
add esp, 0xc
push esi
call fcn.0049f240
jmp 0x4ae001
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [0x570a20], eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret