Function at 0x140001550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14001b018]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0xb142201
mov edx, 0x20
mov dword [rsp + 0x54], 0x109011d
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x58], 0x41d942aa
mov dword [rsp + 0x5c], 0xc8e19868
mov dword [rsp + 0x60], 0x2e4025d3
mov dword [rsp + 0x64], 0x1fd5bfbb
mov dword [rsp + 0x68], 0xc96bf588
mov dword [rsp + 0x6c], 0x39da4e5d
mov dword [rsp + 0x70], 0xdb72ba85
mov dword [rsp + 0x74], 0x82cde72b
mov dword [rsp + 0x78], 0x91dfce74
mov dword [rsp + 0x7c], 0xd986ba2a
mov dword [rbp - 0x80], 0x27518c69
mov dword [rbp - 0x7c], 0x9db4bdea
mov dword [rbp - 0x78], 0x8536e299
mov dword [rbp - 0x74], 0xe065145
mov dword [rbp - 0x70], 0xd0462fa0
mov dword [rbp - 0x6c], 0x9ad8605a
mov dword [rbp - 0x68], 0xa8a6b749
mov dword [rbp - 0x64], 0xa1346033
mov dword [rbp - 0x60], 0x13e680de
mov dword [rbp - 0x5c], 0x84dd8f14
mov dword [rbp - 0x58], 0x62e4c997
mov dword [rbp - 0x54], 0x1c829b98
mov dword [rbp - 0x30], 0xa03a8cf2
mov dword [rbp - 0x2c], 0x1d6afb38
mov dword [rbp - 0x28], 0x74a4feea
mov dword [rbp - 0x24], 0xfda7352c
mov dword [rbp - 0x20], 0xde3fc270
mov dword [rbp - 0x1c], 0x9ec1c9eb
mov dword [rbp - 0x18], 0x8934851c
mov dword [rbp - 0x14], 0xc8f3cfae
mov dword [rbp - 0x10], 0x640f57e
mov dword [rbp - 0xc], 0x25b6f7d
mov dword [rbp - 8], 0x44b043c9
mov dword [rbp - 4], 0xcbf3ed86
mov dword [rbp], 0x2add50ab
mov dword [rbp + 4], 0xe1120a8d
mov dword [rbp + 8], 0xe7c65a5f
mov dword [rbp + 0xc], 0x27213298
mov dword [rbp + 0x10], 0xdb823614
mov dword [rbp + 0x14], 0x90e059eb
mov dword [rbp + 0x18], 0xf2dd82f8
mov dword [rbp + 0x1c], 0x60c7e8a2
mov dword [rbp + 0x20], 0xc3a8494e
mov dword [rbp + 0x24], 0x623d3fd3
mov dword [rbp + 0x28], 0x6d900684
mov dword [rbp + 0x2c], 0x9cfe15ed
mov dword [rbp + 0x30], 0x5861ae7b
mov dword [rbp + 0x34], 0xbcb4d545
mov dword [rbp + 0x38], 0xfd085626
mov dword [rbp + 0x3c], 0x3ff91893
mov dword [rbp + 0x40], 0xfae0b07b
mov dword [rbp + 0x44], 0x69fc1688
mov dword [rbp + 0x48], 0xe0847d14
mov dword [rbp + 0x4c], 0x2ba11f30
mov dword [rbp - 0x50], 0x6a89af1f
mov dword [rbp - 0x4c], 0xf9d7bf95
mov dword [rbp - 0x48], 0xbfa5a27c
mov dword [rbp - 0x44], 0xa570f833
mov dword [rbp - 0x40], 0x764e93a0
mov dword [rbp - 0x3c], 0xbb133ecb
mov dword [rbp - 0x38], 0xc0f4af81
mov dword [rbp - 0x34], 0xfcc039a2
call fcn.140001000
lea rcx, [rbp - 0x70]
call fcn.140001260
lea r8, [rsp + 0x50]
mov edx, 0x20
lea rcx, [rbp - 0x50]
mov rsi, rax
call fcn.140001000
lea rcx, [rbp - 0x50]
call fcn.140001260
mov r15, rax
lea r8, [rsp + 0x50]
mov edx, 0x20
lea rcx, [rbp - 0x30]
call fcn.140001000
movsxd rcx, dword [rsi + 0x3c]
xor ebx, ebx
mov edi, dword [rcx + rsi + 0x88]
mov r14d, dword [rdi + rsi + 0x20]
add r14, rsi
cmp dword [rdi + rsi + 0x18], ebx
jbe 0x1400019fb
nop word [rax + rax]
mov ecx, dword [r14 + rbx*4]
mov rdx, 0xffffffffffffffff
add rcx, rsi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400017d0
lea r8, [rbp - 0x30]
call fcn.140001120
test eax, eax
jne 0x1400017f4
inc ebx
cmp ebx, dword [rdi + rsi + 0x18]
jae 0x1400019fb
jmp 0x1400017c0
lea r8, [rsp + 0x50]
mov edx, 0x20
lea rcx, [rbp - 0x10]
call fcn.140001000
movsxd rax, dword [rsi + 0x3c]
xor ebx, ebx
mov edi, dword [rax + rsi + 0x88]
mov r14d, dword [rdi + rsi + 0x20]
add r14, rsi
cmp dword [rdi + rsi + 0x18], ebx
jbe 0x1400019fb
nop word [rax + rax]
mov ecx, dword [r14 + rbx*4]
mov rdx, 0xffffffffffffffff
add rcx, rsi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140001840
lea r8, [rbp - 0x10]
call fcn.140001120
test eax, eax
jne 0x140001863
inc ebx
cmp ebx, dword [rdi + rsi + 0x18]
jb 0x140001830
jmp 0x1400019fb
lea r8, [rsp + 0x50]
mov edx, 0x20
lea rcx, [rbp + 0x10]
call fcn.140001000
lea rdx, [rbp + 0x10]
mov rcx, r15
call fcn.140001430
lea r8, [rsp + 0x50]
mov word [0x14001cc1c], ax
mov edx, 0x20
lea rcx, [rbp + 0x30]
call fcn.140001000
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140001430
mov edx, 0x64
mov word [0x14001cc18], ax
xor ecx, ecx
mov qword [rsp + 0x30], 0
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x1400019f3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400019f3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
xor ecx, ecx
lea rbx, [rax + 0x1857e]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movzx ecx, word [0x14001cc1c]
sub eax, 0x1857e
mov qword [rsp + 0x40], rax
call fcn.140001a10
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
lea rdx, [rsp + 0x30]
lea rcx, [r8 - 1]
call fcn.140001a17
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], 0
test r8, r8
je 0x14000197a
cmp r8, 4
jb 0x140001972
mov eax, dword [rbx]
add rbx, 4
mov dword [rcx], eax
add rcx, 4
sub r8, 4
jne 0x140001958
jmp 0x14000197a
mov rdx, rbx
call fcn.140003a00
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.140001000
movzx ecx, word [0x14001cc18]
call fcn.140001a10
lea rax, [rsp + 0x38]
mov r9d, 0x20
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call fcn.140001a17
test rax, rax
jne 0x1400019f3
call qword [rsp + 0x30]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140001a40
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor ecx, ecx
call fcn.140005c28
int3
xor ecx, ecx
call fcn.140005c28
int3