Function at 0x42f240
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x8b0]
sub esp, 0x8b0
push 0xffffffffffffffff
push 0x469e93
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x48fac0]
xor eax, ebp
mov dword [ebp + 0x8ac], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x8b8]
xor edi, edi
push edi
mov esi, 7
push 0x46d9f4
lea ecx, [ebp + 0x74]
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x8c], esi
mov dword [ebp + 0x88], edi
mov word [ebp + 0x78], di
call fcn.00404930
push edi
push 0x46d9f4
lea ecx, [ebp + 0x90]
mov dword [ebp - 4], edi
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xa4], edi
mov word [ebp + 0x94], di
call fcn.00404930
lea ecx, [ebp + 0x3c]
push ecx
mov byte [ebp - 4], 1
call fcn.0042e920
add esp, 4
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
lea edx, [ebp + 0x58]
push edx
call fcn.004316a0
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 3
call fcn.004040e0
mov ebx, 8
cmp dword [ebp + 0x70], ebx
mov byte [ebp - 4], 2
jb 0x42f328
mov eax, dword [ebp + 0x5c]
push eax
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0xa4], edi
jne 0x42f515
push str.LanguageMap.ini
lea ecx, [ebp + 0x3c]
push ecx
lea edx, [ebp + 0x58]
push edx
call fcn.0042e030
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 4
jae 0x42f358
lea eax, [ebp + 0x5c]
push eax
push str.Using_LanguageMap.ini_to_perform_language_mapping__path:___s_
push str.TmResourceStringLoader::GetResFolderByAutoDetectLanguage
push 0xe6
push str.....common_srcwin32ResourceHandle.cpp
call fcn.0040e560
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0x46d9f4
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406140
push esi
lea eax, [ebp - 0x18]
push 0x479500
push eax
mov byte [ebp - 4], 5
call fcn.00408b90
add esp, 0xc
lea ecx, [ebp]
call fcn.00430900
push 9
push str.LCID2NAME
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edi
mov word [ebp - 0x34], di
call fcn.00404930
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp + 0x58]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00431210
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 7
jb 0x42f3f1
mov eax, dword [ebp - 0x34]
push eax
call fcn.00437b08
add esp, 4
mov ecx, dword [ebp - 0x18]
push str.en_US
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp]
call fcn.00430510
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 9
call fcn.004040e0
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 7
jb 0x42f42e
mov eax, dword [ebp - 0x34]
push eax
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0xa8], ebx
mov eax, dword [ebp + 0x94]
jae 0x42f442
lea eax, [ebp + 0x94]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
push str._LanguageMap.ini__Matched_Locale_Name_from___s__to___s_
push str.TmResourceStringLoader::GetResFolderByAutoDetectLanguage
push 0xf1
push str.....common_srcwin32ResourceHandle.cpp
call fcn.0040e560
add esp, 0x18
lea edx, [ebp - 0x11]
push edx
lea ecx, [ebp]
mov byte [ebp - 0x11], 0
call fcn.00430a00
mov dword [ebp - 4], 6
jmp 0x42f4d1
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.00430270
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x70], ebx
mov byte [ebp - 4], 2
jb 0x42f515
mov ecx, dword [ebp + 0x5c]
push ecx
call fcn.00437b08
add esp, 4
lea edx, [ebp + 0x90]
push edx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp + 0x58]
push ecx
call fcn.0042e0f0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xb
call fcn.004040e0
cmp dword [ebp + 0x70], ebx
mov byte [ebp - 4], 2
jb 0x42f551
mov edx, dword [ebp + 0x5c]
push edx
call fcn.00437b08
add esp, 4
lea eax, [ebp + 0x74]
push eax
call fcn.00432090
lea ecx, [ebp + 0x74]
push edi
push ecx
call fcn.004300f0
add esp, 0xc
test al, al
jne 0x42f709
cmp dword [ebp + 0x8c], ebx
mov ecx, dword [ebp + 0x78]
jae 0x42f57d
lea ecx, [ebp + 0x78]
cmp dword [ebp + 0xa8], ebx
mov eax, dword [ebp + 0x94]
jae 0x42f591
lea eax, [ebp + 0x94]
push ecx
push eax
push str.Start_mapping_primary_language_ID_due_to___s__resource_folder_is_not_existed:___s_
lea edx, [ebp + 0xac]
push 0x400
push edx
call fcn.0044ab17
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x14
lea eax, [ebp + 0xac]
push eax
call esi
lea ecx, [ebp + 0x90]
push ecx
call fcn.0042e7f0
lea edx, [ebp + 0x90]
push edx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp + 0x58]
push ecx
call fcn.0042e0f0
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xc
call fcn.004040e0
cmp dword [ebp + 0x70], ebx
mov byte [ebp - 4], 2
jb 0x42f603
mov edx, dword [ebp + 0x5c]
push edx
call fcn.00437b08
add esp, 4
lea eax, [ebp + 0x74]
push eax
call fcn.00432090
lea ecx, [ebp + 0x74]
push edi
push ecx
call fcn.004300f0
add esp, 0xc
test al, al
jne 0x42f70f
cmp dword [ebp + 0x8c], ebx
mov ecx, dword [ebp + 0x78]
jae 0x42f62f
lea ecx, [ebp + 0x78]
cmp dword [ebp + 0xa8], ebx
mov eax, dword [ebp + 0x94]
jae 0x42f643
lea eax, [ebp + 0x94]
push ecx
push eax
push str.__s__Language_not_support___n_Mapped_primary_language__but_still_not_existed:___s_
lea edx, [ebp + 0xac]
push 0x400
push edx
call fcn.0044ab17
add esp, 0x14
lea eax, [ebp + 0xac]
push eax
call esi
push 5
push str.en_US
lea ecx, [ebp + 0x90]
call fcn.00404930
lea ecx, [ebp + 0x90]
push ecx
lea edx, [ebp + 0x3c]
push edx
lea eax, [ebp + 0x58]
push eax
call fcn.0042e0f0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xd
call fcn.004040e0
cmp dword [ebp + 0x70], ebx
mov byte [ebp - 4], 2
jb 0x42f6b5
mov ecx, dword [ebp + 0x5c]
push ecx
call fcn.00437b08
add esp, 4
lea edx, [ebp + 0x74]
push edx
call fcn.00432090
mov ecx, dword [ebp + 0x78]
add esp, 4
cmp dword [ebp + 0x8c], ebx
jae 0x42f6cf
lea ecx, [ebp + 0x78]
cmp dword [ebp + 0xa8], ebx
mov eax, dword [ebp + 0x94]
jae 0x42f6e3
lea eax, [ebp + 0x94]
push ecx
push eax
push str.Using_default_language___s_:___s_
lea eax, [ebp + 0xac]
push 0x400
push eax
call fcn.0044ab17
add esp, 0x14
lea ecx, [ebp + 0xac]
push ecx
call esi
jmp 0x42f70f
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp + 0x74]
push edi
push edx
call fcn.004300f0
add esp, 8
test al, al
jne 0x42f7ba
cmp dword [ebp + 0x8c], ebx
mov eax, dword [ebp + 0x78]
jae 0x42f732
lea eax, [ebp + 0x78]
push eax
push str._Error_occurred___Resource_folder_is_not_existed:___s_
lea eax, [ebp + 0xac]
push 0x400
push eax
call fcn.0044ab17
add esp, 0x10
lea ecx, [ebp + 0xac]
push ecx
call esi
cmp dword [ebp + 0x54], ebx
jb 0x42f766
mov edx, dword [ebp + 0x40]
push edx
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0xa8], ebx
mov esi, 7
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x50], edi
mov word [ebp + 0x40], di
jb 0x42f78c
mov eax, dword [ebp + 0x94]
push eax
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0x8c], ebx
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xa4], edi
mov word [ebp + 0x94], di
jb 0x42f7b3
mov ecx, dword [ebp + 0x78]
push ecx
call fcn.00437b08
add esp, 4
xor al, al
jmp 0x42f87d
lea edx, [ebp + 0x74]
push edx
call fcn.00432260
mov ecx, dword [ebp - 0x1c]
add esp, 4
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x74]
push eax
call fcn.004040e0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], ebx
jb 0x42f7e2
mov eax, dword [eax + 4]
jmp 0x42f7e5
add eax, 4
cmp dword [ebp + 0xa8], ebx
mov ecx, dword [ebp + 0x94]
jae 0x42f7f9
lea ecx, [ebp + 0x94]
push eax
push ecx
push str.Lang:___s___Resource_Folder:___s_
lea ecx, [ebp + 0xac]
push 0x400
push ecx
call fcn.0044ab17
add esp, 0x14
lea edx, [ebp + 0xac]
push edx
call esi
cmp dword [ebp + 0x54], ebx
jb 0x42f82e
mov eax, dword [ebp + 0x40]
push eax
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0xa8], ebx
mov esi, 7
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x50], edi
mov word [ebp + 0x40], di
jb 0x42f854
mov ecx, dword [ebp + 0x94]
push ecx
call fcn.00437b08
add esp, 4
cmp dword [ebp + 0x8c], ebx
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xa4], edi
mov word [ebp + 0x94], di
jb 0x42f87b
mov edx, dword [ebp + 0x78]
push edx
call fcn.00437b08
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8ac]
xor ecx, ebp
call fcn.00448e02
add ebp, 0x8b0
mov esp, ebp
pop ebp
ret