Function at 0x433d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4495a0
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 0x433d9b
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 0x434049
cmp dword [ebx + 0x1c], ebp
jne 0x433e33
lea ecx, [esp + 0x24]
call fcn.0043d408
mov edi, dword [ebx + 0x14]
mov ecx, ebx
mov dword [esp + 0x5c], ebp
call fcn.00433d20
mov esi, eax
cmp esi, ebp
je 0x433df8
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 0x434680
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 0x434053
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, 0xffff0000
mov dword [ebx + 0x1c], eax
je 0x433e22
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 0x433f0d
lea ecx, [esp + 0x24]
call fcn.0043d3f6
mov edi, dword [ebx + 0x1c]
mov ebp, dword [ebx + 0x14]
mov ecx, ebx
mov dword [esp + 0x5c], 1
call fcn.00433d20
mov esi, eax
test esi, esi
je 0x433e83
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CWordArray::SetSize
lea eax, [esp + 0x24]
push eax
push 0x434720
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x434066
mov edi, dword [esp + 0x28]
jle 0x433eed
mov edx, edi
mov esi, eax
mov cx, word [edx]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jne 0x433ec1
mov ax, word [ebx + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
jne 0x433ee3
cmp ax, cx
jae 0x433ee7
jmp 0x433ee3
cmp ax, 4
jne 0x433ee7
mov ax, word [ebx + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
je 0x433ee7
cmp ax, 0xffff
je 0x433ee3
cmp ax, cx
jae 0x433ee7
mov word [ebx + 0x24], cx
add edx, 2
dec esi
jne 0x433e99
cmp word [ebx + 0x24], 0xffff
jne 0x433efc
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 0x433f42
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x433f27
mov dword [ebx + 4], 0x57
jmp 0x433f42
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x433f42
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 0x434077
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 0x434077
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x434077
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x434077
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x434077
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.004340a0
add esp, 0xc
test eax, eax
jne 0x434040
cmp dword [esp + 0x10], 1
je 0x434077
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 0x434077
cmp ebp, esi
jb 0x434077
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi]
cmp ebp, ecx
ja 0x434077
mov edx, dword [esp + 0x14]
add edx, ebp
cmp edx, ecx
jb 0x434077
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 0x434077
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x433fb2
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
jmp 0x434080
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x434077
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
jmp 0x434077
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