Function at 0x43c000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x473450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x14]
push edi
xor esi, esi
mov edi, 0xffff
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
je 0x43c333
cmp dword [ebx + 0x1c], esi
jne 0x43c0ca
lea ecx, [esp + 0x28]
call fcn.0041f260
mov ebp, dword [ebx + 0x14]
mov ecx, ebx
mov dword [esp + 0x60], esi
call fcn.0043b3b0
mov esi, eax
test esi, esi
je 0x43c08d
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CPtrArray::SetSize
lea ecx, [esp + 0x20]
lea eax, [esp + 0x28]
push ecx
push 0x43beb0
push ebp
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43c33d
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
test eax, 0xffff0000
mov dword [ebx + 0x1c], eax
je 0x43c0b9
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 + 0x28]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
cmp word [ebx + 0x24], 0xffff
jne 0x43c1a0
lea ecx, [esp + 0x28]
call fcn.0045e69e
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x60], 1
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0043bc90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43c350
cmp eax, 1
jne 0x43c11b
mov eax, dword [esp + 0x2c]
mov di, word [eax]
mov word [ebx + 0x24], 0
jmp 0x43c18f
mov ebp, dword [esp + 0x2c]
test eax, eax
jle 0x43c17f
mov edx, ebp
mov esi, eax
mov cx, word [edx]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jne 0x43c14f
mov ax, word [ebx + 0x24]
mov edi, eax
and edi, 0x3ff
cmp edi, 9
jne 0x43c171
cmp ax, cx
jae 0x43c175
jmp 0x43c171
cmp ax, 4
jne 0x43c175
mov ax, word [ebx + 0x24]
mov edi, eax
and edi, 0x3ff
cmp edi, 9
je 0x43c175
cmp ax, 0xffff
je 0x43c171
cmp ax, cx
jae 0x43c175
mov word [ebx + 0x24], cx
add edx, 2
dec esi
jne 0x43c127
mov edi, dword [esp + 0x14]
cmp word [ebx + 0x24], 0xffff
jne 0x43c18f
mov cx, word [ebp]
mov word [ebx + 0x24], cx
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x43c1d5
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43c1ba
mov dword [ebx + 4], 0x57
jmp 0x43c1d5
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x43c1d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [esp + 0x1c], esi
je 0x43c305
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 0x43c305
cmp word [ebx + 0x24], 0
jne 0x43c214
cmp di, 0xffff
je 0x43c214
mov word [ebx + 0x24], di
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x43c305
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x20], eax
je 0x43c305
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x43c305
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x68]
push 0xffffffffffffffff
push 0
mov ecx, esi
call sub.MFC42u.DLL_CByteArray::SetSize
push 0xffffffffffffffff
push edi
mov ecx, esi
call sub.MFC42u.DLL_CByteArray::SetSize
mov esi, dword [esi + 4]
push edi
push ebp
push esi
call fcn.0043b750
add esp, 0xc
test eax, eax
jne 0x43c2ef
cmp dword [esp + 0x10], 1
je 0x43c305
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
and esi, 0xfffffffe
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x40]
push 0x1c
mov dword [esp + 0x40], 0
push edx
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43c305
cmp ebp, esi
jb 0x43c305
mov eax, dword [esp + 0x48]
lea ecx, [eax + esi]
cmp ebp, ecx
ja 0x43c305
mov edx, dword [esp + 0x14]
add edx, ebp
cmp edx, ecx
jb 0x43c305
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 0x43c305
mov edi, dword [esp + 0x14]
jmp 0x43c257
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 1
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x10], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x43c31a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0xc], 0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43c305
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42u.DLL_CPtrArray::CPtrArray
jmp 0x43c305
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42u.DLL_CWordArray::CWordArray
jmp 0x43c305