Function at 0x45c1c0
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6832
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x51e080]
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 ebx, ecx
mov dword [ebp - 0x30], ebx
push ecx
mov dword [ebp - 0x7c], ebx
mov edi, dword [0x522474]
push 0
call fcn.00408080
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x88]
mov dword [ebx], vtable.pd_physer.0
push 0x14
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d3886
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0x70]
mov byte [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x208
call fcn.004d9a7e
add esp, 4
mov dword [ebx + 0x488], eax
xor ecx, ecx
mov word [eax], cx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x45a670
mov dword [ebx + 0x480], 0
mov dword [ebx + 0x484], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0x470], 0
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], ebx
mov ecx, dword [edi + 0x470]
push 0x45a690
call fcn.00403f10
mov eax, dword [ebx + 0x60]
push 0x45a700
push 0x45a720
mov ecx, dword [eax + 0x470]
call fcn.00403f10
push 0xb8
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
push dword [ebx + 0x60]
call fcn.004afd30
push 0x20
mov dword [ebx + 0x48c], eax
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [eax], vtable.info_line2.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebx + 0x474], eax
mov ecx, eax
call fcn.00406950
push str.INFO_LINE
push 0x6d
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45c440
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c440
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x45c440
push 8
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x40], eax
push fcn.004d9a63
push fcn.004d9a7e
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004ce770
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
push edi
call fcn.004ce7b0
mov edi, eax
test esi, esi
je 0x45c41e
push ecx
mov ecx, esi
call fcn.00406880
test edi, edi
jne 0x45c440
mov eax, dword [ebp - 0x3c]
test al, 1
jne 0x45c435
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.00406760
push dword [ebp - 0x34]
call fcn.004d9a63
add esp, 4
push 0x28
call fcn.004d3886
mov dword [ebp - 0x40], eax
add esp, 4
mov ecx, dword [ebx + 0x474]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], vtable.info_line2b.0
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], 0
mov dword [ebx + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
xor eax, eax
and ecx, 0x3ff
cmp ecx, 0x11
push 0xd0
sete al
mov dword [ebx + 0x90], eax
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
push dword [ebx + 0x6c]
push ebx
push dword [ebx + 0x60]
call fcn.0045ad50
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x20
push 0x20
push 1
push 0x67
push dword [0x5223e0]
mov dword [ebx + 0x68], eax
call esi
push 0
push 0x10
push 0x10
push 1
push 0x67
push dword [0x5223e0]
mov dword [ebx + 0x478], eax
call esi
push str.perfect_dark_class
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x47c], eax
call fcn.0044c900
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044cb00
mov esi, dword [ebp - 0x40]
mov edi, dword [0x522408]
cmp byte [esi + 0xd], 0
jne 0x45c545
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044cc30
test al, al
je 0x45c547
mov esi, edi
mov ecx, dword [ebp - 0x14]
cmp esi, edi
sete al
mov byte [ebp - 0x29], al
cmp ecx, 7
jbe 0x45c58c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c57f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c674
push ecx
push edx
call fcn.004d38b6
mov al, byte [ebp - 0x29]
add esp, 8
test al, al
je 0x45c654
mov eax, dword [0x5223e0]
push 0x7f00
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x478]
push 0
mov dword [ebp - 0x78], 0x30
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x408450
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x47c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.perfect_dark_class
call dword [sym.imp.USER32.dll_RegisterClassExW]
push str.perfect_dark_class
lea ecx, [ebp - 0x28]
call fcn.0044c900
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044c9d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x45c654
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c64a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c679
push ecx
push edx
call fcn.004d38b6
add esp, 8
mov eax, ebx
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.004d3878
mov esp, ebp
pop ebp
ret 8
call fcn.004daae0
call fcn.004daae0
int3