Function at 0x23a22a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x23bcfeb0
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
mov edi, dword [esp + 0x58]
movzx eax, di
push 0x23be4e5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
jne 0x23a22a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.FindResource__u__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jne 0x23a22ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push str.SizeOfResource__u__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x23a22b03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x58]
push eax
push edx
push str.LoadResource__u__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
jne 0x23a22b36
mov eax, dword [esp + 0x58]
push eax
push str.LockResource__u__failed
call dword [0x23c41f24]
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov esi, dword [esp + 0x5c]
sub edi, 2
push edi
add eax, 2
push eax
push edi
mov ecx, esi
call fcn.23a10ad0
push eax
call fcn.23a4a910
add esp, 0xc
shr edi, 1
push edi
mov ecx, esi
call fcn.23a22440
mov edi, dword [0x23c7a190]
mov eax, dword [edi + 0x24]
push eax
push str._APPNAME_
mov ecx, esi
call fcn.23a22620
mov eax, dword [edi + 0x2c]
push eax
push str._COMPANY_
mov ecx, esi
call fcn.23a22620
mov eax, dword [edi + 0x34]
push eax
push str._WEBSITE_
mov ecx, esi
call fcn.23a22620
mov eax, dword [edi + 0x30]
push eax
push str._COMPANYWEBSITE_
mov ecx, esi
call fcn.23a22620
mov eax, dword [edi + 0x28]
push eax
push str._BUILDLABEL_
mov ecx, esi
call fcn.23a22620
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
lea edx, [esp + 0x2c]
push edx
lea ecx, [edi + 0x70]
mov dword [esp + 0x54], ebx
call fcn.23a124c0
push eax
push str._BUILD_
mov ecx, esi
call fcn.23a22620
xor eax, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
mov ecx, dword [edi + 0x78]
push ecx
lea edx, [esp + 0x14]
push 0x23be4dc8
push edx
mov byte [esp + 0x5c], 1
call fcn.23a01220
mov eax, dword [esp + 0x20]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x23a22c22
lea eax, [esp + 0x14]
push eax
push str._BUILDDAY_
mov ecx, esi
call fcn.23a22620
mov eax, dword [edi + 0x7c]
push eax
lea ecx, [esp + 0x14]
push 0x23be4dc8
push ecx
call fcn.23a01220
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x23a22c53
lea eax, [esp + 0x14]
push eax
push str._BUILDMONTH_
mov ecx, esi
call fcn.23a22620
mov edx, dword [edi + 0x80]
push edx
lea eax, [esp + 0x14]
push 0x23be4dc8
push eax
call fcn.23a01220
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x23a22c87
lea eax, [esp + 0x14]
push eax
push str._BUILDYEAR_
mov ecx, esi
call fcn.23a22620
lea ecx, [esp + 0x10]
call fcn.23a022f0
lea ecx, [esp + 0x2c]
call fcn.23a022f0
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret