Function at 0x1400053a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x6a8
mov qword [rsp + 0x638], 0xfffffffffffffffe
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x690], rax
lea rax, [0x140442f10]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x138], rax
movzx eax, word [rsp + 0x6b8]
mov r8d, 0xf0
mov edx, eax
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x70], 0
je 0x140005469
lea rax, [0x140442f10]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140005469
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x50], rax
lea rax, [0x140442f10]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x148], rax
movzx eax, word [rsp + 0x6b8]
mov r8d, 5
mov edx, eax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140005edc
lea rax, [0x140442f10]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x80], 0
je 0x140005ed3
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140005ec8
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 2]
cmp eax, 0xffff
jne 0x14000552d
mov dword [rsp + 0x640], 1
jmp 0x140005538
mov dword [rsp + 0x640], 0
mov eax, dword [rsp + 0x640]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 2]
cmp eax, 0xffff
jne 0x140005563
mov dword [rsp + 0x644], 1
jmp 0x14000556e
mov dword [rsp + 0x644], 0
cmp dword [rsp + 0x644], 0
je 0x14000558d
mov rax, qword [rsp + 0x78]
add rax, 0x10
mov qword [rsp + 0x158], rax
jmp 0x14000559e
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
mov word [rsp + 0xa0], ax
mov rcx, qword [rsp + 0x78]
call fcn.14000cf00
mov qword [rsp + 0x90], rax
mov edx, 5
mov rax, qword [rsp + 0x6b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
xor eax, eax
mov word [rsp + 0xa4], ax
jmp 0x140005621
movzx eax, word [rsp + 0xa4]
inc ax
mov word [rsp + 0xa4], ax
movzx eax, word [rsp + 0xa4]
movzx ecx, word [rsp + 0xa0]
cmp eax, ecx
jge 0x140005ec6
cmp dword [rsp + 0x88], 0
je 0x140005657
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x648], eax
jmp 0x14000566a
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x10]
mov dword [rsp + 0x648], eax
mov eax, dword [rsp + 0x648]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0x88], 0
je 0x140005698
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov qword [rsp + 0x650], rax
jmp 0x1400056ac
mov rax, qword [rsp + 0x90]
add rax, 0x12
mov qword [rsp + 0x650], rax
mov rax, qword [rsp + 0x650]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
cmp eax, 0x7b
jne 0x1400056d6
mov byte [rsp + 0x180], 1
jmp 0x1400056de
mov byte [rsp + 0x180], 0
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x140005e7e
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a0], rax
xor eax, eax
test eax, eax
jne 0x140005707
xor eax, eax
test eax, eax
jne 0x140005707
cmp qword [rsp + 0x1a0], 0
je 0x140005818
mov rax, qword [rsp + 0x1a0]
movzx eax, word [rax]
mov word [rsp + 0x190], ax
mov rax, qword [rsp + 0x1a0]
add rax, 2
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1a0]
movzx eax, word [rax]
mov word [rsp + 0x194], ax
mov rax, qword [rsp + 0x1a0]
add rax, 2
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax]
mov dword [rsp + 0x198], eax
mov rax, qword [rsp + 0x1a0]
add rax, 4
mov qword [rsp + 0x1a0], rax
movzx eax, word [rsp + 0x190]
cmp eax, dword [rsp + 0xa8]
jne 0x1400057f6
movzx eax, word [rsp + 0x194]
cmp eax, 0x378
jne 0x1400057d2
mov dword [rsp + 0xc8], 0
jmp 0x140005823
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x198]
add rax, 6
mov dword [rsp + 0xc8], eax
jmp 0x140005823
mov eax, dword [rsp + 0x198]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
jmp 0x140005713
mov dword [rsp + 0xc8], 0
mov qword [rsp + 0xb8], 0
cmp dword [rsp + 0xc8], 0
je 0x140005992
mov eax, dword [rsp + 0xc8]
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x140005951
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x1400058db
call fcn.1400072d0
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0xb8], 0
je 0x1400058d6
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x658], rcx
mov rcx, rax
mov rax, qword [rsp + 0x658]
call qword [rax + 0x10]
jmp 0x140005ec6
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd8], rax
xor eax, eax
test eax, eax
jne 0x1400058eb
xor eax, eax
test eax, eax
jne 0x1400058eb
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc8]
mov r9d, eax
mov r8, qword [rsp + 0xd8]
mov edx, ecx
mov rcx, qword [rsp + 0xe0]
call fcn.140250f34
mov ecx, eax
call fcn.1400012b0
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0xb8]
mov edx, 1
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x140005992
mov dword [rsp + 0x68], 0x8007000e
cmp qword [rsp + 0xb8], 0
je 0x14000598d
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x660], rcx
mov rcx, rax
mov rax, qword [rsp + 0x660]
call qword [rax + 0x10]
jmp 0x140005ec6
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1b0], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000d160
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x140005e39
mov qword [rsp + 0x108], 0
call fcn.14000d8e0
cmp dword [rsp + 0x88], 0
je 0x140005a03
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov qword [rsp + 0x668], rax
jmp 0x140005a17
mov rax, qword [rsp + 0x90]
add rax, 0x12
mov qword [rsp + 0x668], rax
mov rax, qword [rsp + 0x668]
mov qword [rsp + 0x100], rax
cmp dword [rsp + 0x88], 0
je 0x140005a47
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0xc]
mov word [rsp + 0x670], ax
jmp 0x140005a5b
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 8]
mov word [rsp + 0x670], ax
movsx eax, word [rsp + 0x670]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0x88], 0
je 0x140005a8a
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0xe]
mov word [rsp + 0x672], ax
jmp 0x140005a9e
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0xa]
mov word [rsp + 0x672], ax
movsx eax, word [rsp + 0x672]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0x88], 0
je 0x140005acd
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x10]
mov word [rsp + 0x674], ax
jmp 0x140005ae1
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0xc]
mov word [rsp + 0x674], ax
movsx eax, word [rsp + 0x674]
mov ecx, dword [rsp + 0xf0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0x88], 0
je 0x140005b1b
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x12]
mov word [rsp + 0x676], ax
jmp 0x140005b2f
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0xe]
mov word [rsp + 0x676], ax
movsx eax, word [rsp + 0x676]
mov ecx, dword [rsp + 0xf4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xfc], eax
lea rdx, [rsp + 0xf0]
mov rax, qword [rsp + 0x6b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_MapDialogRect]
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
cmp dword [rsp + 0x88], 0
je 0x140005b91
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x5e8], eax
jmp 0x140005ba4
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x10]
mov dword [rsp + 0x5e8], eax
cmp dword [rsp + 0x88], 0
je 0x140005bc2
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 4]
mov dword [rsp + 0x600], eax
jmp 0x140005bcd
mov dword [rsp + 0x600], 0
cmp dword [rsp + 0x88], 0
je 0x140005beb
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
mov dword [rsp + 0x678], eax
jmp 0x140005bfc
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x678], eax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x120]
mov qword [rcx], rax
mov rax, qword [rsp + 0x130]
lea rcx, [rsp + 0xf0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x608], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x6b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x5f0], rax
mov eax, dword [rsp + 0x678]
bts eax, 0x10
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x608]
mov qword [rsp + 0x38], rcx
mov ecx, dword [rsp + 0x600]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x5f8]
mov r8, qword [rsp + 0x5f0]
lea rdx, str.AtlAxWinLic100
lea rcx, [rsp + 0x108]
call fcn.14000d510
cmp qword [rsp + 0x108], 0
je 0x140005e30
cmp dword [rsp + 0x88], 0
je 0x140005d14
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x140005d14
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x610], eax
mov edx, dword [rsp + 0x610]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x618], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x620], rax
mov rax, qword [rsp + 0x618]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [0x14033e850]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x620]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x108]
call fcn.140006940
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x140005dd2
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
cmp qword [rsp + 0xb8], 0
je 0x140005dcd
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x680], rcx
mov rcx, rax
mov rax, qword [rsp + 0x680]
call qword [rax + 0x10]
jmp 0x140005ec6
movzx eax, word [rsp + 0xa4]
test eax, eax
jne 0x140005dea
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x30], 0x13
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x98], rax
jmp 0x140005e39
call fcn.1400072d0
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
cmp qword [rsp + 0xb8], 0
je 0x140005e7c
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x688], rcx
mov rcx, rax
mov rax, qword [rsp + 0x688]
call qword [rax + 0x10]
jmp 0x140005ea5
movzx eax, word [rsp + 0xa4]
test eax, eax
je 0x140005ea5
mov edx, 2
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14000d060
mov qword [rsp + 0x90], rax
jmp 0x14000560e
jmp 0x140005ed1
call fcn.1400072d0
mov dword [rsp + 0x68], eax
jmp 0x140005edc
call fcn.1400072d0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x6a8
ret