Function at 0x43b3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4733f0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, dword [esi + 0x30]
cmp eax, ebp
jle 0x43b42b
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov eax, dword [esi + 0x14]
push ebx
cmp eax, ebp
push edi
mov dword [esp + 0x14], 0xffff
je 0x43b6ef
cmp dword [esi + 0x1c], ebp
jne 0x43b4cb
lea ecx, [esp + 0x24]
call fcn.0041f260
mov edi, dword [esi + 0x14]
mov ecx, esi
mov dword [esp + 0x5c], ebp
call fcn.0043b3b0
mov ebx, eax
cmp ebx, ebp
je 0x43b490
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 0x43beb0
push edi
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
cmp dword [esp + 0x2c], ebp
je 0x43b6f9
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, 0xffff0000
mov dword [esi + 0x1c], eax
je 0x43b4ba
lea ebx, [esi + 0x20]
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::operator
mov ebx, dword [ebx]
mov dword [esi + 0x1c], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
cmp word [esi + 0x24], 0xffff
jne 0x43b5a1
lea ecx, [esp + 0x24]
call fcn.0045e69e
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x5c], 1
push eax
push ecx
push edx
mov ecx, esi
call fcn.0043bc90
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x43b70c
cmp eax, 1
jne 0x43b51f
mov eax, dword [esp + 0x28]
mov cx, word [eax]
mov word [esi + 0x24], bp
mov word [esp + 0x14], cx
jmp 0x43b590
mov ebx, dword [esp + 0x28]
cmp eax, ebp
jle 0x43b581
mov edx, ebx
mov edi, eax
mov cx, word [edx]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jne 0x43b553
mov ax, word [esi + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
jne 0x43b575
cmp ax, cx
jae 0x43b579
jmp 0x43b575
cmp ax, 4
jne 0x43b579
mov ax, word [esi + 0x24]
mov ebp, eax
and ebp, 0x3ff
cmp ebp, 9
je 0x43b579
cmp ax, 0xffff
je 0x43b575
cmp ax, cx
jae 0x43b579
mov word [esi + 0x24], cx
add edx, 2
dec edi
jne 0x43b52b
xor ebp, ebp
cmp word [esi + 0x24], 0xffff
jne 0x43b590
mov dx, word [ebx]
mov word [esi + 0x24], dx
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
cmp dword [esi + 0xc], ebp
jne 0x43b5d1
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebp
jne 0x43b5b7
mov dword [esi + 4], 0x57
jmp 0x43b5d1
push 2
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebp
mov dword [esi + 0xc], eax
jne 0x43b5d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov edi, dword [esi + 0xc]
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x43b71d
mov ax, word [esi + 0x24]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebp, eax
test ebp, ebp
je 0x43b71d
cmp word [esi + 0x24], 0
jne 0x43b613
mov eax, dword [esp + 0x14]
cmp ax, 0xffff
je 0x43b613
mov word [esi + 0x24], ax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x43b71d
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43b71d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x43b71d
mov dword [esp + 0x10], 0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x28]
call sub.MFC42u.DLL_CByteArray::SetSize
mov eax, dword [esi + 0x2c]
push ebx
push ebp
push eax
call fcn.0043b750
add esp, 0xc
test eax, eax
jne 0x43b6e6
cmp dword [esp + 0x10], 1
je 0x43b71d
mov ebx, edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], 0
and ebx, 0xfffffffe
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43b71d
cmp ebp, ebx
jb 0x43b71d
mov eax, dword [esp + 0x44]
lea ecx, [eax + ebx]
cmp ebp, ecx
ja 0x43b71d
mov edx, dword [esp + 0x14]
add edx, ebp
cmp edx, ecx
jb 0x43b71d
sub eax, ebp
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jge 0x43b71d
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x43b656
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
jmp 0x43b726
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43b71d
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
jmp 0x43b71d
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x30]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x54]
pop edi
pop ebx
pop esi
setg al
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret