Function at 0x43ac77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x538010]
xor eax, ebp
mov dword [esp + 0xa0], eax
cmp byte [edi + 0x114], 0
je 0x43a857
push 0x2c
call fcn.004d0575
add esp, 4
mov dword [esp + 0x10], eax
test ebx, ebx
mov dword [esp + 4], eax
je 0x43a8fc
lock inc dword [ebx + 4]
lock inc dword [ebx + 4]
mov dword [eax], 0x51ad34
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
lock inc dword [ebx + 4]
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 4]
mov dword [ecx + 0x10], eax
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x43a921
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, ebx
call fcn.0046deb0
mov ecx, dword [esp + 4]
jmp 0x43a921
push 0x14
call fcn.004d0575
add esp, 4
test ebx, ebx
je 0x43adbf
lock inc dword [ebx + 4]
lock inc dword [ebx + 4]
mov dword [eax], 0x51ad34
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
lock inc dword [ebx + 4]
push 0xffffff
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, ebx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x10], eax
xor edi, edi
dec edi
mov eax, edi
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x43a8c6
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp + 0x14]
call esi
mov ecx, dword [ebp + 0x14]
call fcn.0046deb0
mov edx, ebx
mov ecx, dword [ebp + 0x14]
mov dword [edx], 0x51ae44
lock xadd dword [ecx + 4], edi
test edi, edi
jne 0x43a8f4
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp + 0x14]
call esi
mov ecx, dword [ebp + 0x14]
call fcn.0046deb0
mov edx, ebx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
jmp 0x43ad8f
mov dword [eax], 0x51ad34
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 4]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x51ac24
mov esi, ecx
call fcn.004c8a50
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
push 0xcfcfcf
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x1c], eax
add dword [esp + 0x10], 0x20
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov ebx, 0xfffffff8
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
mov ebx, dword [ebx + str.InstallationWindowThemeFacetune]
movzx eax, bx
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43aa0c
mov esi, eax
mov dword [esp + 0xc], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43aace
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, edi
xor edi, edi
mov dword [esp + 0x9c], edi
push esi
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x9c]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov dword [esp + 0x98], eax
cmp eax, 0xffffffff
je 0x43aba0
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x28]
je 0x43ac33
test ecx, ecx
mov ebx, dword [esp + 8]
je 0x43ae07
mov dword [ecx], eax
add ecx, 4
mov dword [edx + 0x24], ecx
jmp 0x43ac48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [esp + 0x8c]
push esi
call fcn.00500050
add esp, 8
lea ecx, [esp + 0x18]
push esi
push 0x117
push str.InstallationWindowThemeFacetune
push 1
call fcn.0044cb80
lea esi, [esp + 0x54]
mov ecx, esi
push 0x51f5e2
push str.Unable_to_find_font_id
call fcn.00415500
push ebx
lea edi, [esp + 0x80]
push edi
call fcn.00470170
add esp, 8
movzx eax, byte [esp + 0x87]
mov edx, edi
test al, al
jns 0x43aa78
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
add eax, edx
mov ecx, esi
push eax
push edx
call fcn.00415500
mov ecx, esi
push 0x51f5f0
push str._in_resources
call fcn.00415500
cmp byte [esp + 0x87], 0
mov ebx, dword [esp + 8]
jns 0x43aaae
push dword [esp + 0x7c]
call fcn.004d05a5
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0044cbc0
cmp byte [esp + 0x93], 0
mov edi, dword [esp + 0x14]
jns 0x43ad50
jmp 0x43ab8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [esp + 0x8c]
push esi
call fcn.00500050
add esp, 8
lea ecx, [esp + 0x18]
push esi
push 0x113
push str.InstallationWindowThemeFacetune
push 1
call fcn.0044cb80
lea ecx, [esp + 0x54]
push 0x51f5ba
push str.Unable_to_load_font_id
call fcn.00415500
push dword [esp + 0xc]
lea esi, [esp + 0x80]
push esi
call fcn.00470170
add esp, 8
movzx eax, byte [esp + 0x87]
mov edx, esi
test al, al
mov ebx, dword [esp + 8]
jns 0x43ab3f
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
add eax, edx
lea esi, [esp + 0x54]
mov ecx, esi
push eax
push edx
call fcn.00415500
mov ecx, esi
push 0x51f5ca
push str._from_resources
call fcn.00415500
cmp byte [esp + 0x87], 0
jns 0x43ab75
push dword [esp + 0x7c]
call fcn.004d05a5
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0044cbc0
cmp byte [esp + 0x93], 0
jns 0x43ad50
push dword [esp + 0x88]
call fcn.004d05a5
add esp, 4
jmp 0x43ad50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edi, [esp + 0x8c]
push edi
call fcn.00500050
add esp, 8
lea ecx, [esp + 0x18]
push edi
push 0x10f
push str.InstallationWindowThemeFacetune
push 1
call fcn.0044cb80
lea edi, [esp + 0x54]
mov ecx, edi
push 0x51f5a2
push str.Unable_to_add_font_id
call fcn.00415500
push dword [esp + 0xc]
lea ebx, [esp + 0x80]
push ebx
call fcn.00470170
add esp, 8
movzx eax, byte [esp + 0x87]
mov edx, ebx
test al, al
jns 0x43ac0f
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
add eax, edx
mov ecx, edi
push eax
push edx
call fcn.00415500
cmp byte [esp + 0x87], 0
mov edi, esi
mov ebx, dword [esp + 8]
jns 0x43ab75
jmp 0x43ab69
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x98]
push eax
call fcn.00432b80
mov ebx, dword [esp + 8]
lea ecx, [esp + 0x18]
push 0x10d
push str.InstallationWindowThemeFacetune
xor esi, esi
push esi
call fcn.0044c760
push dword [esp + 0x9c]
lea edi, [esp + 0x80]
push edi
call fcn.00500250
add esp, 8
mov ecx, edi
push 0x13
push str._font_s__added__id
call fcn.0046ea90
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x88], xmm0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
movzx eax, byte [esp + 0x93]
lea edx, [esp + 0x88]
test al, al
jns 0x43acc3
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
add eax, edx
lea ecx, [esp + 0x54]
push eax
push edx
call fcn.00415500
push dword [esp + 0xc]
lea esi, [esp + 0x74]
push esi
call fcn.00470170
add esp, 8
movzx eax, byte [esp + 0x7b]
mov edx, esi
test al, al
jns 0x43acf4
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add eax, edx
lea ecx, [esp + 0x54]
push eax
push edx
call fcn.00415500
cmp byte [esp + 0x7b], 0
mov edi, dword [esp + 0x14]
jns 0x43ad18
push dword [esp + 0x70]
call fcn.004d05a5
add esp, 4
cmp byte [esp + 0x93], 0
jns 0x43ad31
push dword [esp + 0x88]
call fcn.004d05a5
add esp, 4
cmp byte [esp + 0x87], 0
jns 0x43ad47
push dword [esp + 0x7c]
call fcn.004d05a5
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0044c9f0
add ebx, 4
jne 0x43a964
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x43adb9
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x43ad88
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov edi, ecx
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov ecx, edi
call fcn.0046deb0
mov ecx, edi
mov edi, dword [ebp + 8]
mov edx, dword [esp + 4]
mov dword [edi], edx
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x43adef
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ebx, ecx
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, ebx
call fcn.0046deb0
jmp 0x43adef
mov ecx, dword [esp + 4]
jmp 0x43adea
mov dword [eax], 0x51ad34
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
push 0xffffff
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi], 0x51ae44
mov edi, dword [ebp + 8]
mov dword [edi], ecx
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.004d1573
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00448430
int3