Function at 0x408110
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b4fc
mov eax, dword fs:[0]
push eax
mov eax, 0x1140
call fcn.00409210
mov eax, dword [0x42a27c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1064], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x40703
push ebx
lea ecx, [ebp - 0x1064]
push ecx
lea ecx, [ebp - 0x1084]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QApplication::constructor_int___char____int_]
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x100e]
push eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1010], dx
call sub.MSVCR100.dll_memset
push str.EACore.dll
push 0
push 0
lea ecx, [ebp - 0x1010]
push 0x800
push ecx
call fcn.00403cb0
mov edi, dword [sym.imp.QtCore4.dll_void___cdecl_qDebug_char_const__]
add esp, 0x20
test al, al
jne 0x4081d2
push str.EACore.dll_not_found
call edi
add esp, 4
push 0xffffffffffffffff
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
push 0
push eax
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLibrary::constructor_class_QString_const___class_QObject__]
mov ecx, dword [ebp - 0x1060]
mov byte [ebp - 4], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x408221
mov eax, dword [ebp - 0x1060]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
lea ecx, [ebp - 0x1074]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QLibrary::load_void_]
test al, al
jne 0x40823d
push str.Error_loading_EACore.dll
call edi
jmp 0x40830c
mov esi, dword [sym.imp.QtCore4.dll_public:_void____thiscall_QLibrary::resolve_char_const__]
push str.Connect3
lea ecx, [ebp - 0x1074]
call esi
push str.AgentAdd
lea ecx, [ebp - 0x1074]
mov dword [0x42a318], eax
call esi
push str.UserLogin
lea ecx, [ebp - 0x1074]
mov dword [0x42a314], eax
call esi
push str.StateGet
lea ecx, [ebp - 0x1074]
mov dword [0x42a31c], eax
call esi
push str.IsConnected
lea ecx, [ebp - 0x1074]
mov dword [0x42a320], eax
call esi
push str.AgentTaskStatusSet
lea ecx, [ebp - 0x1074]
mov dword [0x42a324], eax
call esi
push str.AgentTaskStatusGet
lea ecx, [ebp - 0x1074]
mov dword [0x42a328], eax
call esi
cmp dword [0x42a318], 0
mov dword [0x42a32c], eax
je 0x4082fb
cmp dword [0x42a314], 0
je 0x4082fb
cmp dword [0x42a31c], 0
je 0x4082fb
cmp dword [0x42a320], 0
je 0x4082fb
cmp dword [0x42a324], 0
je 0x4082fb
cmp dword [0x42a328], 0
je 0x4082fb
test eax, eax
jne 0x40830f
push str.Error_resolving_function_addresses_within_DLL
call edi
mov dword [0x42a318], 0
add esp, 4
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov eax, dword [ebp - 0x1064]
mov dword [ebp - 0x1014], ecx
mov edx, 1
lock xadd dword [ecx], edx
push ebx
push eax
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 4
call fcn.00401470
mov esi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push str.en_US
mov byte [ebp - 4], 5
call esi
mov dword [ebp - 0x103c], eax
push 0xffffffffffffffff
push str._locale
mov byte [ebp - 4], 6
call esi
add esp, 0x10
mov dword [ebp - 0x1040], eax
lea eax, [ebp - 0x103c]
push eax
lea ecx, [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x1020]
push edx
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 7
call fcn.00401610
mov eax, dword [ebp - 0x1040]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [ebp - 4], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4083b3
mov edx, dword [ebp - 0x1040]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x103c]
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4083d2
mov edx, dword [ebp - 0x103c]
push edx
call edi
add esp, 4
push 0xffffffffffffffff
push str.en_us
call esi
mov dword [ebp - 0x1048], eax
push 0xffffffffffffffff
push str._patchLocale
mov byte [ebp - 4], 0xb
call esi
add esp, 0x10
mov dword [ebp - 0x1050], eax
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x1034]
push edx
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0xc
call fcn.00401610
mov eax, dword [ebp - 0x1050]
mov byte [ebp - 4], 0xe
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40843a
mov edx, dword [ebp - 0x1050]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1048]
mov byte [ebp - 4], 0xf
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408459
mov edx, dword [ebp - 0x1048]
push edx
call edi
add esp, 4
push 0xffffffffffffffff
push 0x40cd30
call esi
mov dword [ebp - 0x1030], eax
push 0xffffffffffffffff
push str._gameName
mov byte [ebp - 4], 0x10
call esi
add esp, 0x10
mov dword [ebp - 0x1044], eax
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1044]
push ecx
lea edx, [ebp - 0x102c]
push edx
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0x11
call fcn.00401610
mov eax, dword [ebp - 0x1044]
mov byte [ebp - 4], 0x13
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4084c1
mov edx, dword [ebp - 0x1044]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1030]
mov byte [ebp - 4], 0x14
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4084e0
mov edx, dword [ebp - 0x1030]
push edx
call edi
add esp, 4
push 0xffffffffffffffff
push 0x40cd30
call esi
mov dword [ebp - 0x1038], eax
push 0xffffffffffffffff
push str._waitTime
mov byte [ebp - 4], 0x15
call esi
add esp, 0x10
mov dword [ebp - 0x104c], eax
lea eax, [ebp - 0x1038]
push eax
lea ecx, [ebp - 0x104c]
push ecx
lea edx, [ebp - 0x1028]
push edx
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0x16
call fcn.00401610
mov eax, dword [ebp - 0x104c]
mov byte [ebp - 4], 0x18
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408548
mov edx, dword [ebp - 0x104c]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1038]
mov byte [ebp - 4], 0x19
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408567
mov edx, dword [ebp - 0x1038]
push edx
call edi
add esp, 4
push 0xffffffffffffffff
push 0x40d8e4
call esi
mov dword [ebp - 0x105c], eax
push 0xffffffffffffffff
push str._guid
mov byte [ebp - 4], 0x1a
call esi
add esp, 0x10
mov dword [ebp - 0x1054], eax
lea eax, [ebp - 0x105c]
push eax
lea ecx, [ebp - 0x1054]
push ecx
lea edx, [ebp - 0x1024]
push edx
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0x1b
call fcn.00401610
mov eax, dword [ebp - 0x1054]
mov byte [ebp - 4], 0x1d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4085cf
mov edx, dword [ebp - 0x1054]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x105c]
mov byte [ebp - 4], 0x1e
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4085ee
mov edx, dword [ebp - 0x105c]
push edx
call edi
add esp, 4
push 0
lea ecx, [ebp - 0x109c]
call fcn.004029d0
push 0xffffffffffffffff
push str..xml
mov byte [ebp - 4], 0x1f
call esi
mov dword [ebp - 0x1018], eax
push 0xffffffffffffffff
mov bl, 0x20
push str.:_Resources_lang_LoginStrings_
mov byte [ebp - 4], bl
call esi
add esp, 0x10
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1020]
push ecx
lea edx, [ebp - 0x101c]
push edx
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 0x21
call fcn.00403420
mov eax, dword [ebp - 0x101c]
mov byte [ebp - 4], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408667
mov edx, dword [ebp - 0x101c]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1018]
mov byte [ebp - 4], 0x1f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408686
mov edx, dword [ebp - 0x1018]
push edx
call edi
add esp, 4
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QCoreApplication::installTranslator_class_QTranslator__]
push 0xffffffffffffffff
push str.:_Resources_login.qss
call esi
add esp, 0xc
mov dword [ebp - 0x1018], eax
lea ecx, [ebp - 0x1018]
push ecx
lea ecx, [ebp - 0x107c]
mov byte [ebp - 4], 0x22
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov edx, dword [ebp - 0x1018]
mov byte [ebp - 4], 0x24
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4086db
mov ecx, dword [ebp - 0x1018]
push ecx
call edi
add esp, 4
push ecx
mov eax, esp
lea ecx, [ebp - 0x107c]
mov dword [ebp - 0x101c], esp
mov dword [eax], 1
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
lea edx, [ebp - 0x101c]
push edx
lea ecx, [ebp - 0x107c]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
push eax
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0x25
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QByteArray_const__]
mov eax, dword [ebp - 0x101c]
mov bl, 0x27
mov byte [ebp - 4], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40873e
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x1084]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QApplication::setStyleSheet_class_QString_const__]
push ecx
mov eax, esp
mov dword [ebp - 0x1088], esp
push 0
lea ecx, [ebp - 0x1024]
push ecx
lea edx, [ebp - 0x1028]
push edx
mov dword [eax], 0
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1034]
push ecx
lea edx, [ebp - 0x1020]
push edx
lea ecx, [ebp - 0x114c]
call fcn.00407920
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 0x28
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::show_void_]
call dword [sym.imp.QtGui4.dll_public:_static_int___cdecl_QApplication::exec_void_]
lea ecx, [ebp - 0x114c]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00406880
mov eax, dword [ebp - 0x1058]
mov byte [ebp - 4], 0x24
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4087d5
mov edx, dword [ebp - 0x1058]
push edx
call edi
add esp, 4
lea ecx, [ebp - 0x107c]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 0x1e
call fcn.00402a80
mov eax, dword [ebp - 0x1024]
mov byte [ebp - 4], 0x19
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408813
mov edx, dword [ebp - 0x1024]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1028]
mov byte [ebp - 4], 0x14
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408832
mov edx, dword [ebp - 0x1028]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x102c]
mov byte [ebp - 4], 0xf
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408851
mov edx, dword [ebp - 0x102c]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1034]
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408870
mov edx, dword [ebp - 0x1034]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1020]
mov byte [ebp - 4], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40888f
mov edx, dword [ebp - 0x1020]
push edx
call edi
add esp, 4
mov eax, dword [ebp - 0x1014]
mov byte [ebp - 4], 3
test eax, eax
je 0x4088b8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4088b8
mov edx, dword [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x1014]
call fcn.00401050
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 0
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QLibrary::destructor_void_]
lea ecx, [ebp - 0x1084]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QApplication::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408fe8
mov esp, ebp
pop ebp
ret