Function at 0x7a0ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x87bc36
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0xa5d1d4]
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 ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x180], ebx
test ecx, ecx
je 0x7a1141
test eax, eax
je 0x7a1141
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x7a0b31
mov eax, dword [edi]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x7a1179
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x7a0e2e
mov edi, dword [ebp - 0x17c]
xor al, al
nop dword [eax]
test al, al
jne 0x7a0bc5
lea eax, [ebp - 0xb0]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea47c8], 0
mov dword [ebp - 0x180], ebx
je 0x7a0ba7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7a0ba7
call fcn.00742270
jmp 0x7a0bac
mov al, byte [0xa5c73c]
test al, al
je 0x7a0bc5
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0x171], 1
cmp eax, 1
jae 0x7a0bcc
mov byte [ebp - 0x171], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7a0be6
lea ecx, [ebp - 0xb0]
and ebx, 0xfffffffe
call fcn.00436d10
cmp byte [ebp - 0x171], 0
je 0x7a1179
push str.Failed_to_load_resource___s_.
lea ecx, [ebp - 0xb0]
call fcn.00436220
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.0074aab0
test eax, eax
je 0x7a0c6b
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x7a0c7c
lea eax, [ebp - 0xb0]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 4
call fcn.00737b00
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 5
call fcn.00737b00
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], 0
push str.wx.sys_error
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.00436220
sub esp, 0x20
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x178], esp
push edi
call fcn.004cb460
push 0x8a64f0
push str.wxLoadUserResource
push 0x3d9
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswutils.cpp
push 1
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call fcn.004cb390
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x198]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp - 0xd0]
mov ecx, esi
push eax
call fcn.004ef560
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004cb0d0
lea ecx, [ebp - 0xf0]
call fcn.00436d10
lea ecx, [ebp - 0x118]
call fcn.004cb830
lea ecx, [ebp - 0xd0]
call fcn.00436d10
lea ecx, [ebp - 0x198]
call fcn.00476530
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.008058ea
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x7a0da4
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a0d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a1197
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
call fcn.008058ea
mov edx, dword [ebp - 0x3c]
add esp, 4
cmp edx, 8
jb 0x7a0e01
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a0df7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a1197
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov al, 1
jmp 0x7a0b60
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x184]
mov dword [ecx], eax
test eax, eax
jne 0x7a112d
mov edi, dword [ebp - 0x17c]
xor al, al
nop dword [eax]
test al, al
jne 0x7a0eb5
lea eax, [ebp - 0xb0]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xb
cmp dword [0xea47c8], 0
mov dword [ebp - 0x180], ebx
je 0x7a0e97
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7a0e97
call fcn.00742270
jmp 0x7a0e9c
mov al, byte [0xa5c73c]
test al, al
je 0x7a0eb5
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0x171], 1
cmp eax, 1
jae 0x7a0ebc
mov byte [ebp - 0x171], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x7a0ed6
lea ecx, [ebp - 0xb0]
and ebx, 0xfffffffd
call fcn.00436d10
cmp byte [ebp - 0x171], 0
je 0x7a1179
push str.Failed_to_lock_resource___s_.
lea ecx, [ebp - 0xd0]
call fcn.00436220
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xe
call fcn.0074aab0
test eax, eax
je 0x7a0f64
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x7a0f75
lea eax, [ebp - 0xd0]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0xf
call fcn.00737b00
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x10
call fcn.00737b00
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x19c], 0
push str.wx.sys_error
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x11
call fcn.00436220
sub esp, 0x20
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x178], esp
push edi
call fcn.004cb460
push 0x8a64f0
push str.wxLoadUserResource
push 0x3e0
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswutils.cpp
push 1
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x13
call fcn.004cb390
mov esi, eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1ac]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.004ef560
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004cb0d0
lea ecx, [ebp - 0x140]
call fcn.00436d10
lea ecx, [ebp - 0x168]
call fcn.004cb830
lea ecx, [ebp - 0xb0]
call fcn.00436d10
lea ecx, [ebp - 0x1ac]
call fcn.00476530
push dword [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.008058ea
mov edx, dword [ebp - 0x5c]
add esp, 4
cmp edx, 8
jb 0x7a109d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a1093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a1197
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
call fcn.008058ea
mov edx, dword [ebp - 0x7c]
add esp, 4
cmp edx, 8
jb 0x7a10fd
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a10f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a1197
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov al, 1
jmp 0x7a0e50
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov al, 1
jmp 0x7a117b
cmp dword [0xa5c6a0], ebx
je 0x7a1179
push str.output_pointers_cant_be_NULL
push str._outData__outLen_
push str.wxLoadUserResource
push 0x3ce
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswutils.cpp
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], bl
je 0x7a1179
mov byte [0xea464c], bl
int3
xor al, al
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.008001d2
mov esp, ebp
pop ebp
ret
call fcn.00805899
int3