Function at 0x43a180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ee1b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4c448c]
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 esi, ecx
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
mov edi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
mov dword [ebp - 0x118], esi
je 0x43a211
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x43a1ed
cmp dword [ecx - 8], 0
jge 0x43a1dd
push 0x80070057
call fcn.004018d0
mov dword [ecx - 0xc], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x43a211
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a203
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esi], eax
push str.ebprofiles.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x11c], esi
test esi, esi
jne 0x43a242
push str.ebprofiles.dll
push str.ERROR:_Could_not_load__s
call fcn.004261a0
add esp, 8
or eax, 0xffffffff
jmp 0x43a399
push 0xa
push str.STOCKEBPROFILES
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43a275
push str.ebprofiles.dll
push str.STOCKEBPROFILES
push str.ERROR:_Could_not_find_resource__s_from__s
call fcn.004261a0
add esp, 0xc
lea eax, [edi - 2]
jmp 0x43a399
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x43a2a2
push str.ebprofiles.dll
push str.STOCKEBPROFILES
push str.ERROR:_Zero_size_resource__s_from__s
call fcn.004261a0
add esp, 0xc
lea eax, [ebx - 3]
jmp 0x43a399
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43a2d6
push str.ebprofiles.dll
push str.STOCKEBPROFILES
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Error_0x_x_Could_not_load_resource__s_from__s
call fcn.004261a0
add esp, 0x10
mov eax, 0xfffffffc
jmp 0x43a399
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x43a308
push str.ebprofiles.dll
push str.STOCKEBPROFILES
push str.ERROR:_Could_not_lock_resource__s_from__s
call fcn.004261a0
add esp, 0xc
mov eax, 0xfffffffb
jmp 0x43a399
lea edi, [ebx + 4]
push edi
call fcn.0047125f
push edi
mov esi, eax
push 0
push esi
call fcn.00479dd0
mov ecx, dword [ebp - 0x120]
push ebx
push ecx
push esi
call fcn.00476580
push ebx
push str.STOCKEBPROFILES
push str.Loaded_resource__s_of_size__u
call fcn.004261a0
add esp, 0x28
push 3
push esi
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], edx
call fcn.00429d50
mov edi, dword [ebp - 0x118]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x114]
call fcn.00402c40
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x43a389
push eax
call fcn.00473a61
add esp, 4
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebx + 2]
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.00474985
mov esp, ebp
pop ebp
ret