Function at 0x40c000
Capabilities:
Copy file
Enumerate gui resources
Get common file path
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xc74
mov eax, dword [0x44aad4]
xor eax, esp
mov dword [esp + 0xc70], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x40bec0
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x44f41c], ebx
je 0x40c05a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc70]
xor ecx, esp
call fcn.0042374b
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x64], ebx
call fcn.0040bf30
push 0x7f00
push ebx
mov dword [0x44f3b0], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], 0x442614
mov dword [esp + 0x40], 0x40a990
mov dword [esp + 0x3c], 3
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push ebx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push ebx
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], str.LOOKALF
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x40c041
push 0x304
call fcn.0041aa8d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40c114
push 0x442698
push 0x441fe4
push esi
call fcn.00423e15
mov edx, dword [esi]
add esp, 0xc
push str.Test_messages_n
push edx
call fcn.00423e65
mov eax, dword [esi]
push eax
call fcn.0042406c
add esp, 0xc
jmp 0x40c116
xor esi, esi
push 0x50a0
mov dword [0x44f424], esi
call fcn.0041aa8d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40c14c
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40c136
sub eax, edx
mov ecx, eax
mov eax, edi
call fcn.0040c670
jmp 0x40c14e
xor eax, eax
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x4c]
mov dword [0x44f3bc], eax
lea eax, [esp + 0x78]
push eax
push 0x1ff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call ebx
lea edi, [esp + 0x78]
add edi, 0xfffffffe
jmp 0x40c190
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c190
mov ecx, 0xf
mov esi, str.LangRsRuReleaseLangRsRu.dll
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x478]
push ecx
push 0x1ff
movsw word es:[edi], word [esi]
call ebx
lea edi, [esp + 0x478]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c1c3
mov ecx, 0xf
mov esi, str.ReleaseLangDLLsLangRsRu.dll
rep movsd dword es:[edi], dword [esi]
push 0x442554
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x20]
push eax
movsw word es:[edi], word [esi]
call fcn.00424a9d
add esp, 0xc
test eax, eax
jne 0x40c21d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042406c
add esp, 4
push 0
lea edx, [esp + 0x47c]
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x78]
push ecx
push 0x1ff
call ebx
lea edi, [esp + 0x78]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c230
mov ecx, 0xf
mov esi, str.LangRsEnReleaseLangRsEn.dll
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x478]
push edx
push 0x1ff
movsw word es:[edi], word [esi]
call ebx
lea edi, [esp + 0x478]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c263
mov ecx, 0xf
mov esi, str.ReleaseLangDLLsLangRsEn.dll
rep movsd dword es:[edi], dword [esi]
push 0x442554
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
push ecx
movsw word es:[edi], word [esi]
call fcn.00424a9d
add esp, 0xc
test eax, eax
jne 0x40c2bd
mov edx, dword [esp + 0x18]
push edx
call fcn.0042406c
add esp, 4
push 0
lea eax, [esp + 0x47c]
push eax
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [0x44f424]
push 0x441ff0
push 0x441fe4
push edi
mov word [0x44f39c], ax
movzx esi, ax
call fcn.00423e15
mov edx, dword [edi]
add esp, 0xc
push esi
push esi
push str._int_langUI
push str._s_d__x__n
push edx
call fcn.00423e65
mov eax, dword [edi]
add esp, 0x14
push eax
call fcn.0042406c
mov bl, 0x19
add esp, 4
cmp byte [0x44f39c], bl
jne 0x40c318
push str.russian
jmp 0x40c31d
push str.nonrussian
call fcn.004010b0
mov edx, dword [0x44f3b0]
push 0x1ff
lea ecx, [esp + 0x87c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x878]
push 0x5c
push eax
call fcn.00424547
add esp, 8
test eax, eax
je 0x40c357
mov word [eax], 0
cmp byte [0x44f39c], bl
mov eax, str.LangDLLsLangRsRu.dll
je 0x40c369
mov eax, str.LangDLLsLangRsEn.dll
mov edx, eax
jmp 0x40c370
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c370
lea edi, [esp + 0x878]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40c390
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c390
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 2
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [0x44f3ac], eax
jne 0x40c3d3
mov ebx, str.DLL_load_ERROR
call fcn.00401020
jmp 0x40c3dd
push str.DLL_load_OK
call fcn.004010b0
mov edx, dword [0x44f3ac]
push str.LOOKALF
push edx
call dword [sym.imp.USER32.dll_LoadMenuW]
test eax, eax
mov dword [0x44f398], eax
jne 0x40c404
mov ebx, str.Menu_load_ERROR
call fcn.00401020
jmp 0x40c40e
push str.Menu_load_OK
call fcn.004010b0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x44f398]
mov edx, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push 0
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
sub eax, ecx
push eax
push edx
push ecx
push 0xcf0000
push 0x442614
push 0x442614
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, 0xca
mov dword [0x44f420], eax
call fcn.00417cf0
mov edx, dword [0x44f420]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [0x44f3ac], 0
jne 0x40c48e
mov eax, dword [0x44f420]
push 0x1010
push str.Error
push str.Language_Resource_DLL_not_found_in_current_dir
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40c497
sub eax, esi
add eax, 1
push eax
push 0x450448
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, 0x450448
call fcn.00401020
cmp word [0x450448], 0x22
jne 0x40c502
push 0x22
push 0x45044a
call fcn.00424547
add esp, 8
test eax, eax
je 0x40c502
fld qword [0x443528]
mov esi, dword [0x44f3bc]
sub esp, 8
fstp qword [esp]
push 0xffffffffffffffff
push 0x45044a
mov word [eax], 0
call fcn.0040c8c0
mov ecx, dword [0x44f420]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
mov dword [0x44f394], eax
call esi
test eax, eax
je 0x40c556
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x5c]
push eax
call edi
lea ecx, [esp + 0x5c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
call esi
test eax, eax
jne 0x40c537
mov eax, dword [0x44f398]
test eax, eax
je 0x40c566
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [0x44f3bc]
test ecx, ecx
mov esi, ecx
je 0x40c580
call fcn.0040e1a0
push esi
call fcn.0041aabd
add esp, 4
mov eax, dword [0x44f3ac]
test eax, eax
je 0x40c590
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x44f424]
push eax
call fcn.0041aabd
mov ecx, dword [esp + 0xc80]
mov eax, dword [esp + 0x68]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042374b
mov esp, ebp
pop ebp
ret 0x10