Function at 0x1401e0790
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x5f0], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov r12, rdx
mov rsi, rcx
test rdx, rdx
je 0x1401e0f01
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x28]
mov r13d, eax
mov dword [rsp + 0x38], eax
movsxd r14, dword [rsi + 0x174]
mov r10, qword [r12]
mov r9d, 1
lea r8d, [r9 + 5]
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [r10 + InitCommonControls]
movzx edx, word [rsp + 0x32]
mov rcx, rsi
call sym.NitroFree.exe_protected:_short_int___cdecl_CxImage::ntohs_short_int____ptr64
mov word [rsp + 0x32], ax
movzx edx, word [rsp + 0x34]
mov rcx, rsi
call sym.NitroFree.exe_protected:_short_int___cdecl_CxImage::ntohs_short_int____ptr64
movzx edi, ax
mov word [rsp + 0x34], ax
cmp word [rsp + 0x30], 0
jne 0x1401e0f01
movzx ecx, word [rsp + 0x32]
dec cx
cmp cx, 1
ja 0x1401e0f01
movzx ebx, ax
mov dword [rsi + 0x178], ebx
movzx ecx, ax
shl rcx, 4
call qword [sym.imp.MSVCR120.dll_malloc]
mov rcx, rax
mov qword [rsp + 0x48], rax
xor r15d, r15d
test ebx, ebx
jle 0x1401e08f6
mov r13, rax
lea rbx, [rax + 6]
nop
mov r10, qword [r12]
movsxd rdx, r15d
shl rdx, 4
add rdx, r13
mov r9d, 1
lea r8d, [r9 + 0xf]
mov rcx, r12
call qword [r10 + InitCommonControls]
movzx edx, word [rbx - 2]
mov rcx, rsi
call sym.NitroFree.exe_protected:_short_int___cdecl_CxImage::ntohs_short_int____ptr64
mov word [rbx - 2], ax
movzx edx, word [rbx]
mov rcx, rsi
call sym.NitroFree.exe_protected:_short_int___cdecl_CxImage::ntohs_short_int____ptr64
mov word [rbx], ax
mov edx, dword [rbx + 2]
mov rcx, rsi
call sym.NitroFree.exe_protected:_long_int___cdecl_CxImage::ntohl_long_int____ptr64
mov dword [rbx + 2], eax
mov edx, dword [rbx + 6]
mov rcx, rsi
call sym.NitroFree.exe_protected:_long_int___cdecl_CxImage::ntohl_long_int____ptr64
mov dword [rbx + 6], eax
inc r15d
lea rbx, [rbx + 0x10]
movzx edi, word [rsp + 0x34]
mov eax, edi
cmp r15d, edi
jl 0x1401e0880
mov r13d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
test r14d, r14d
js 0x1401e0efb
movzx eax, di
cmp r14d, eax
jge 0x1401e0efb
cmp dword [rsi + 0x160], 0xffffffff
jne 0x1401e09c9
mov rax, r14
shl rax, 4
add rcx, rax
movzx eax, byte [rcx]
mov dword [rsi + 0x14], eax
movzx edx, byte [rcx + 1]
mov dword [rsi + 0x18], edx
test eax, eax
jne 0x1401e09b0
test edx, edx
jne 0x1401e09b0
mov r9, qword [r12]
mov edx, dword [rcx + 0xc]
add edx, r13d
xor r8d, r8d
mov rcx, r12
call qword [r9 + 0x20]
xor edx, edx
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_void___cdecl_CxImage::constructor_unsigned_long_int____ptr64
nop
or edx, 0xffffffff
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetEscape_long_int____ptr64
mov r8d, 4
mov rdx, r12
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Decode_class_CxFile____ptr64__unsigned_long_int____ptr64
test al, al
je 0x1401e0993
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Transfer_class_CxImage____ptr64__bool____ptr64
movzx eax, word [rsp + 0x34]
mov dword [rsi + 0x178], eax
lea rax, vtable.CxImage.0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::DestroyFrames_void____ptr64
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Destroy_void____ptr64
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_free]
mov dword [rsi + 0x58], 5
mov al, 1
jmp 0x1401e0f03
mov rbx, r14
shl rbx, 4
add rbx, rcx
mov r9, qword [r12]
mov edx, dword [rbx + 0xc]
add edx, r13d
xor r8d, r8d
mov rcx, r12
call qword [r9 + 0x20]
cmp byte [rbx], 0
jne 0x1401e0a5e
cmp byte [rbx + 1], 0
jne 0x1401e0a5e
xor edx, edx
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_void___cdecl_CxImage::constructor_unsigned_long_int____ptr64
nop
mov r8d, 4
mov rdx, r12
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Decode_class_CxFile____ptr64__unsigned_long_int____ptr64
test al, al
je 0x1401e0a2e
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Transfer_class_CxImage____ptr64__bool____ptr64
movzx eax, word [rsp + 0x34]
mov dword [rsi + 0x178], eax
mov edx, 5
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::SetType_unsigned_long_int____ptr64
nop
lea rax, vtable.CxImage.0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::DestroyFrames_void____ptr64
lea rcx, [rbp - 0x70]
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Destroy_void____ptr64
jmp 0x1401e0eec
mov rax, qword [r12]
mov r9d, 1
lea r8d, [r9 + 0x27]
lea rdx, [rsp + 0x68]
mov rcx, r12
call qword [rax + InitCommonControls]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call sym.NitroFree.exe_protected:_void___cdecl_CxImage::bihtoh_struct_tagBITMAPINFOHEADER____ptr64____ptr64
movzx edi, word [rsp + 0x76]
mov dword [rsp + 0x3c], edi
movzx r8d, byte [rbx + 1]
movzx edx, byte [rbx]
mov dword [rsp + 0x20], 5
mov r9d, edi
mov rcx, rsi
call sym.NitroFree.exe_public:_void____ptr64___cdecl_CxImage::Create_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int____ptr64
mov ecx, dword [rbp - 0x78]
mov rax, qword [r12]
mov r9d, 1
lea rdx, [rbp - 0x70]
test ecx, ecx
mov r8d, ecx
jne 0x1401e0ac4
mov r8d, dword [rsi + 0x30]
shl r8, 2
mov rcx, r12
call qword [rax + InitCommonControls]
mov r8d, dword [rsi + 0x30]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetPalette_struct_tagRGBQUAD____ptr64__unsigned_long_int____ptr64
cmp edi, 0x18
jg 0x1401e0b00
mov rax, qword [r12]
mov r8d, dword [rsi + 0x24]
mov r9d, 1
mov rdx, qword [rsi + 0x40]
mov rcx, r12
call qword [rax + InitCommonControls]
jmp 0x1401e0bb9
mov eax, dword [rsi + 0x18]
imul eax, dword [rsi + 0x14]
shl eax, 2
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_malloc]
mov r13, rax
mov rdi, rax
mov r10, qword [r12]
mov r9d, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call qword [r10 + InitCommonControls]
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::AlphaIsValid_void____ptr64
test al, al
jne 0x1401e0b47
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::AlphaCreate_void____ptr64
xor r15d, r15d
cmp dword [rsi + 0x18], r15d
jle 0x1401e0bb0
mov edx, r15d
mov rcx, rsi
call sym.NitroFree.exe_public:_unsigned_char____ptr64___cdecl_CxImage::GetBits_unsigned_long_int____ptr64
mov rbx, rax
xor r14d, r14d
cmp dword [rsi + 0x14], r14d
jle 0x1401e0ba7
nop word [rax + rax]
movzx ecx, byte [rdi]
mov byte [rbx], cl
movzx ecx, byte [rdi + 1]
mov byte [rbx + 1], cl
movzx ecx, byte [rdi + 2]
mov byte [rbx + 2], cl
lea rbx, [rbx + 3]
movzx r9d, byte [rdi + 3]
mov r8d, r15d
mov edx, r14d
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::AlphaSet_long_int__long_int__unsigned_char____ptr64
add rdi, 4
inc r14d
cmp r14d, dword [rsi + 0x14]
jl 0x1401e0b70
inc r15d
cmp r15d, dword [rsi + 0x18]
jl 0x1401e0b50
mov rcx, r13
call qword [sym.imp.MSVCR120.dll_free]
mov eax, dword [rsi + 0x14]
add eax, 0x1f
cdq
and edx, 0x1f
lea r14d, [rdx + rax]
sar r14d, 5
shl r14d, 2
mov ecx, dword [rsi + 0x18]
imul ecx, r14d
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_malloc]
mov r13, rax
mov r10, qword [r12]
mov r9d, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call qword [r10 + InitCommonControls]
test rax, rax
je 0x1401e0ee3
xor ecx, ecx
test rbx, rbx
jle 0x1401e0ed1
cmp byte [rcx + r13], 0xff
jne 0x1401e0c24
inc rcx
cmp rcx, rbx
jl 0x1401e0c10
jmp 0x1401e0ed1
xor r15b, r15b
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::AlphaIsValid_void____ptr64
test al, al
jne 0x1401e0c3d
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::AlphaCreate_void____ptr64
jmp 0x1401e0c40
mov r15b, 1
xor edi, edi
movsxd r12, r14d
mov qword [rsp + 0x40], r12
cmp dword [rsi + 0x18], edi
jle 0x1401e0cb0
xor r14d, r14d
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jle 0x1401e0ca6
nop dword [rax]
movsxd rdx, ebx
mov eax, ebx
and eax, 0x80000007
jge 0x1401e0c73
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, 7
sub cl, al
sar rdx, 3
add rdx, r14
movzx eax, byte [rdx + r13]
shr al, cl
test al, 1
je 0x1401e0c9f
xor r9d, r9d
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::AlphaSet_long_int__long_int__unsigned_char____ptr64
mov r15b, 1
inc ebx
cmp ebx, dword [rsi + 0x14]
jl 0x1401e0c60
inc edi
add r14, r12
cmp edi, dword [rsi + 0x18]
jl 0x1401e0c52
test r15b, r15b
jne 0x1401e0cbd
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::AlphaDelete_void____ptr64
xor r15d, r15d
xor edx, edx
mov dword [rsp + 0x38], edx
xor r12d, r12d
cmp dword [rsi + 0x18], edx
jle 0x1401e0dae
xor r8d, r8d
mov qword [rsp + 0x50], r8
mov edi, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x40]
xor r14d, r14d
cmp dword [rsi + 0x14], r14d
jle 0x1401e0d75
movsxd rdx, r14d
mov eax, r14d
and eax, 0x80000007
jge 0x1401e0d04
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, 7
sub cl, al
sar rdx, 3
add rdx, r8
movzx eax, byte [rdx + r13]
shr al, cl
test al, 1
je 0x1401e0d67
mov byte [rsp + 0x20], 0
mov r9d, r12d
mov r8d, r14d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call sym.NitroFree.exe_public:_struct_tagRGBQUAD___cdecl_CxImage::GetPixelColor_long_int__long_int__bool____ptr64
mov ebx, dword [rax]
test r15d, r15d
jne 0x1401e0d5b
mov r8d, r12d
mov edx, r14d
mov rcx, rsi
call sym.NitroFree.exe_public:_unsigned_char___cdecl_CxImage::GetPixelIndex_long_int__long_int____ptr64
movzx eax, al
mov dword [rsp + 0x38], eax
mov r15d, 1
mov edi, ebx
jmp 0x1401e0d62
cmp edi, ebx
je 0x1401e0d62
inc r15d
mov r8, qword [rsp + 0x50]
inc r14d
cmp r14d, dword [rsi + 0x14]
jl 0x1401e0cf0
mov rax, qword [rsp + 0x40]
inc r12d
add r8, rax
mov qword [rsp + 0x50], r8
cmp r12d, dword [rsi + 0x18]
jl 0x1401e0ce3
cmp r15d, 1
jne 0x1401e0dae
mov edx, edi
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetTransColor_struct_tagRGBQUAD____ptr64
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetTransIndex_long_int____ptr64
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::AlphaDelete_void____ptr64
cmp dword [rsp + 0x3c], 8
jg 0x1401e0ee3
xor edx, edx
mov r8d, Ordinal_261
lea rcx, [rbp + 0x390]
call sub.MSVCR120.dll_memset
xor edi, edi
cmp dword [rsi + 0x18], edi
jle 0x1401e0e06
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jle 0x1401e0dff
nop dword [rax + rax]
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call sym.NitroFree.exe_protected:_unsigned_char___cdecl_CxImage::BlindGetPixelIndex_long_int__long_int____ptr64
movzx eax, al
mov byte [rbp + rax + 0x390], 1
inc ebx
cmp ebx, dword [rsi + 0x14]
jl 0x1401e0de0
inc edi
cmp edi, dword [rsi + 0x18]
jl 0x1401e0dd4
mov edi, dword [rsi + 0x30]
dec edi
movsxd rax, edi
js 0x1401e0ee3
cmp byte [rbp + rax + 0x390], 0
je 0x1401e0e2a
dec edi
dec rax
jns 0x1401e0e14
jmp 0x1401e0ee3
test edi, edi
js 0x1401e0ee3
xor r8b, r8b
xor r14d, r14d
cmp dword [rsi + 0x18], r14d
jle 0x1401e0ec7
xor r15d, r15d
mov rax, qword [rsp + 0x40]
nop word [rax + rax]
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jle 0x1401e0eac
nop word [rax + rax]
movsxd rdx, ebx
mov eax, ebx
and eax, 0x80000007
jge 0x1401e0e73
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, 7
sub cl, al
sar rdx, 3
add rdx, r15
movzx eax, byte [rdx + r13]
shr al, cl
test al, 1
je 0x1401e0ea0
movzx r9d, dil
mov r8d, r14d
mov edx, ebx
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetPixelIndex_long_int__long_int__unsigned_char____ptr64
mov r8b, 1
inc ebx
cmp ebx, dword [rsi + 0x14]
jl 0x1401e0e60
mov rax, qword [rsp + 0x40]
inc r14d
add r15, rax
cmp r14d, dword [rsi + 0x18]
jl 0x1401e0e50
test r8b, r8b
je 0x1401e0ec7
mov edx, edi
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetTransIndex_long_int____ptr64
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::AlphaDelete_void____ptr64
jmp 0x1401e0ee3
xor edx, edx
mov rcx, rsi
call sym.NitroFree.exe_public:_void___cdecl_CxImage::SetTransIndex_long_int____ptr64
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Negative_void____ptr64
mov rcx, r13
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_free]
mov al, 1
jmp 0x1401e0f03
call qword [sym.imp.MSVCR120.dll_free]
xor al, al
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x5f0]
add rsp, 0x5a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret