Function at 0x4373b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46a070
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x30]
cmp eax, ebp
jle 0x4373eb
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov eax, dword [ebx + 0x14]
push esi
cmp eax, ebp
push edi
je 0x437699
cmp dword [ebx + 0x1c], ebp
jne 0x437483
lea ecx, [esp + 0x24]
call fcn.00456dd6
mov edi, dword [ebx + 0x14]
mov ecx, ebx
mov dword [esp + 0x5c], ebp
call fcn.00437370
mov esi, eax
cmp esi, ebp
je 0x437448
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CPtrArray::SetSize
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x24]
push ecx
push 0x437cd0
push edi
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
cmp dword [esp + 0x2c], ebp
je 0x4376a3
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, 0xffff0000
mov dword [ebx + 0x1c], eax
je 0x437472
lea esi, [ebx + 0x20]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::operator
mov esi, dword [esi]
mov dword [ebx + 0x1c], esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
cmp word [ebx + 0x24], 0xffff
jne 0x43755d
lea ecx, [esp + 0x24]
call fcn.00456dc4
mov edi, dword [ebx + 0x1c]
mov ebp, dword [ebx + 0x14]
mov ecx, ebx
mov dword [esp + 0x5c], 1
call fcn.00437370
mov esi, eax
test esi, esi
je 0x4374d3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CWordArray::SetSize
lea eax, [esp + 0x24]
push eax
push 0x437d70
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4376b6
mov edi, dword [esp + 0x28]
jle 0x43753d
mov edx, edi
mov esi, eax
mov cx, word [edx]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jne 0x437511
mov ax, word [ebx + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
jne 0x437533
cmp ax, cx
jae 0x437537
jmp 0x437533
cmp ax, 4
jne 0x437537
mov ax, word [ebx + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
je 0x437537
cmp ax, 0xffff
je 0x437533
cmp ax, cx
jae 0x437537
mov word [ebx + 0x24], cx
add edx, 2
dec esi
jne 0x4374e9
cmp word [ebx + 0x24], 0xffff
jne 0x43754c
mov cx, word [edi]
mov word [ebx + 0x24], cx
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x437592
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x437577
mov dword [ebx + 4], 0x57
jmp 0x437592
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x437592
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x18], esi
je 0x4376c7
mov dx, word [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebp, eax
test ebp, ebp
je 0x4376c7
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x4376c7
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4376c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4376c7
mov dword [esp + 0x10], 0
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x28]
call sub.MFC42u.DLL_CByteArray::SetSize
mov eax, dword [ebx + 0x2c]
push edi
push ebp
push eax
call fcn.004376f0
add esp, 0xc
test eax, eax
jne 0x437690
cmp dword [esp + 0x10], 1
je 0x4376c7
lea edx, [esp + 0x38]
and esi, 0xfffffffe
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x3c]
push 0x1c
mov dword [esp + 0x3c], 0
push edx
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4376c7
cmp ebp, esi
jb 0x4376c7
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi]
cmp ebp, ecx
ja 0x4376c7
mov edx, dword [esp + 0x14]
add edx, ebp
cmp edx, ecx
jb 0x4376c7
sub eax, ebp
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jge 0x4376c7
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x437602
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
jmp 0x4376d0
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4376c7
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
jmp 0x4376c7
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x30]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
setg al
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret