joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e8990
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, rcx
lea rax, vtable.CNxUpdateDlg.0
mov qword [rcx], rax
add rcx, 0x138
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
test eax, eax
je 0x1400e89e1
lea rcx, [rbx + 0x138]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbx + 0x130]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
test eax, eax
je 0x1400e8a08
lea rcx, [rbx + 0x130]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbx + 0x298]
call fcn.1400acd30
nop
lea rcx, [rbx + 0x288]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbx + 0x280]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbx + reloc.mfc120u.dll_Ordinal_320]
call fcn.140197fd0
nop
lea rcx, [rbx + 0x138]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbx + 0x130]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.140196e70
Function at 0x140112860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x60
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x40]
movzx r14d, dl
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x28]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x40]
mov ebp, ebx
cmp ecx, edx
jge 0x1401128c6
mov eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [rsp + 0x48]
cmp ecx, eax
jle 0x1401128d9
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x44]
cmp ecx, edx
jge 0x1401128f0
mov eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [rsp + 0x4c]
cmp ecx, eax
jle 0x140112903
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add ebp, eax
mov qword [rsp + 0x88], rdi
test ebx, ebx
jne 0x140112918
test ebp, ebp
jne 0x140112918
xor dil, dil
jmp 0x14011291b
mov dil, 1
test r14b, r14b
je 0x1401129cd
test dil, dil
je 0x1401129cd
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x2e8]
call fcn.1401265b0
add dword [rsp + 0x20], ebx
add dword [rsp + 0x24], ebp
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x2e8]
mov qword [rsp + 0x38], rbx
call fcn.1401265b0
mov rax, qword [rsp + 0x30]
cmp ebx, eax
jne 0x140112974
shr rax, 0x20
cmp dword [rsp + 0x3c], eax
je 0x140112986
lea rcx, [rsi + 0x2e8]
mov r8b, 1
mov rdx, rbx
call fcn.1401265c0
mov rcx, rsi
call fcn.14011a860
cmp dword [rsi + 0x3ec], 0
jg 0x1401129b5
lea r8, [rsi + 0x578]
lea rcx, [0x1404697f0]
mov edx, 0x3f7
mov r9d, 1
call fcn.140150200
mov rcx, qword [rsi + 0x40]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, rsi
call fcn.140117cb0
movzx eax, dil
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret
Function at 0x140131d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov r14, rcx
movzx edi, dx
lea rdx, [0x14031b280]
mov ecx, edi
call sub.mfc120u.dll_Ordinal_2145
mov rbx, rax
test rax, rax
jne 0x140131daf
xor al, al
jmp 0x140131e3e
lea r8, [0x14031b280]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140131da8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140131da8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rbp, rbp
je 0x140131da8
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_287]
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [r14 + 0x130]
call sub.mfc120u.dll_Ordinal_13626
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14013d880
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x490
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + Ordinal_1155], rax
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rsp + 0x60]
call sub.MSVCR120.dll_memset
lea rdx, [rsp + 0x60]
mov ecx, Ordinal_261
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, eax
test eax, eax
jne 0x14013d8d3
xor eax, eax
jmp 0x14013d997
dec eax
cmp word [rsp + rax*2 + 0x60], 0x5c
je 0x14013d8f8
lea rax, [rsp + 0x60]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14013d8e6
mov ecx, dword [0x1402dfd40]
mov dword [rax], ecx
cmp edx, 0xf6
jae 0x14013d8cc
xor ebx, ebx
inc ebx
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0x36
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov r9d, ebx
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR120.dll__swprintf]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x14013d902
mov rbx, qword [0x140467270]
lea rcx, str.Wstring
mov rax, qword [0x140467260]
call qword [rax + 0x28]
mov rdx, rax
xor r9d, r9d
lea r8, [rsp + 0x270]
xor ecx, ecx
call qword [rbx + 0x1a0]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x490
pop rbx
ret

Function at 0x14013db40
Capabilities:
Delete file
Get common file path

Disassembly:
push rdi
sub rsp, 0x490
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x4a0], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + Ordinal_1155], rax
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rsp + 0x60]
call sub.MSVCR120.dll_memset
lea rdx, [rsp + 0x60]
mov ecx, Ordinal_261
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0xf4
ja 0x14013dc1e
xor edi, edi
nop dword [rax]
inc edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0x35
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov r9d, edi
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR120.dll__swprintf]
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne bl
test bl, bl
je 0x14013dc0f
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test bl, bl
jne 0x14013dba0
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x490
pop rdi
ret
Function at 0x14013dd50
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x840
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x830], rax
lea rdx, [0x14031e460]
mov rdi, rcx
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0x30]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14013df5d
mov edx, ebp
mov ecx, 2
mov qword [rsp + reloc.mfc120u.dll_Ordinal_2136], rbx
mov qword [rsp + Ordinal_2145], rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rax
mov r8d, ebp
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
mov rbx, qword [rsp + reloc.mfc120u.dll_Ordinal_2136]
test eax, eax
je case.0x14013dee8.2056
mov rax, qword [rsp + 0x28]
movzx ecx, word [rax]
cmp ecx, 0x804
jg 0x14013debf
je 0x14013df9f
cmp ecx, 0x404
jg 0x14013de61
lea eax, [rcx - 4]
test eax, 0xfffffbff
je 0x14013df9f
cmp ecx, 0x14
jne case.0x14013dee8.2056
lea rdx, [0x14031e504]
jmp 0x14013df3a
sub ecx, reloc.mfc120u.dll_Ordinal_1030
cmp ecx, 0x17
ja case.0x14013dee8.2056
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x13dfa8]
add rax, rcx
jmp rax
lea rdx, [0x14031e4c4]
jmp 0x14013df3a
lea rdx, [0x14031e4d4]
jmp 0x14013df3a
lea rdx, [0x14031e4e4]
jmp 0x14013df3a
lea rdx, [0x14031e4ec]
jmp 0x14013df3a
lea rdx, [0x14031e4f4]
jmp 0x14013df3a
cmp ecx, 0x81d
jg 0x14013df17
je case.0x14013de84.1053
sub ecx, 0x807
cmp ecx, 0xf
ja case.0x14013dee8.2056
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x13e008]
add rax, rcx
jmp rax
lea rdx, [0x14031e49c]
jmp 0x14013df3a
lea rdx, [0x14031e4a4]
jmp 0x14013df3a
lea rdx, [0x14031e4bc]
jmp 0x14013df3a
lea rdx, [0x14031e4cc]
jmp 0x14013df3a
lea rdx, [0x14031e4fc]
jmp 0x14013df3a
cmp ecx, 0x1004
jg 0x14013df87
je 0x14013df9f
sub ecx, 0xc04
je 0x14013df9f
sub ecx, 6
je case.0x14013dee8.2058
cmp ecx, 2
jne case.0x14013dee8.2056
lea rdx, [0x14031e4b4]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x860]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140289bf0
mov rbp, qword [rsp + 0x868]
add rsp, 0x840
pop rdi
ret
lea rdx, [0x14031e4ac]
jmp 0x14013df3a
cmp ecx, 0x100c
je case.0x14013dee8.2060
cmp ecx, 0x1404
je 0x14013df9f
cmp ecx, 0x7c04
jne case.0x14013dee8.2056
lea rdx, [0x14031e4dc]
jmp 0x14013df3a
Function at 0x14013e1e0
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request

Disassembly:
push rbp
push rdi
sub rsp, 0x48
mov rbp, rcx
lea rcx, [rsp + 0x78]
xor edx, edx
xor dil, dil
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14013e2f2
xor r8d, r8d
lea rcx, str.http:__www.google.com
lea edx, [r8 + 1]
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x14013e2f2
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x14013e2f2
mov qword [rsp + 0x40], rbx
lea rcx, str.My_IE
mov qword [rsp + 0x30], r14
xor r14d, r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
test rax, rax
je 0x14013e2e8
mov rcx, rbp
mov qword [rsp + 0x38], rsi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x14013e2da
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, 0x20000013
mov rcx, rax
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14013e2d1
mov eax, dword [rsp + 0x70]
cmp eax, 0xc8
je 0x14013e2ce
cmp eax, 0x130
jne 0x14013e2d1
mov dil, 1
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, dil
add rsp, 0x48
pop rdi
pop rbp
ret

Function at 0x140140ef0
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + reloc.mfc120u.dll_Ordinal_320], Ordinal_285
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_320]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + reloc.mfc120u.dll_Ordinal_324], 5
ja 0x140140f46
xor eax, eax
jmp 0x140140fd0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140140f7c
lea rdx, str.RegisterApplicationRestart
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140140f83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x140140fd0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r8d, 3
lea rdx, [0x14031e9bc]
lea rcx, [rsp + 0x30]
call fcn.140002800
nop
xor edx, edx
mov rcx, qword [rsp + 0x30]
call rdi
mov edi, eax
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x140140fc5
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140143650
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x680
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x670], rax
movzx eax, word [0x140469750]
mov rdi, rcx
test ax, ax
jne 0x140143807
mov rax, qword [0x1404672c0]
mov qword [r11 + 0x10], rbx
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x30]
mov qword [r11 + 0x18], rsi
call qword [rax + 0x38]
lea rcx, [rsp + 0x252]
xor esi, esi
xor edx, edx
mov r8d, Ordinal_521
mov word [rsp + 0x250], si
call sub.MSVCR120.dll_memset
lea rax, [rsp + 0x250]
lea edx, [rsi + 0x1a]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1401437ba
movzx ebx, word [rsp + 0x30]
dec bx
cmp bx, 7
jl 0x1401437ba
nop dword [rax]
nop word [rax + rax]
movzx eax, word [0x140469750]
test ax, ax
jne 0x1401437d2
mov rax, rsi
movzx ecx, word [rsp + rax + 0x250]
lea rax, [rax + 2]
mov word [rsp + rax + reloc.mfc120u.dll_Ordinal_1118], cx
test cx, cx
jne 0x140143713
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, Ordinal_521
mov word [rsp + 0x40], si
call sub.MSVCR120.dll_memset
xor r9d, r9d
movsx r8d, bx
lea rcx, [rsp + 0x40]
lea rdx, str.NitroPro_d._d_
cmp bx, 7
jg 0x140143763
lea rdx, str.Nitro_PDFProfessional_d._d_
call qword [sym.imp.MSVCR120.dll__swprintf]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1401437ab
lea rcx, [rsp + 0x460]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x1401437a2
dec bx
cmp bx, 7
jge 0x140143700
jmp 0x1401437ba
mov word [0x140469750], bx
jmp 0x1401437ba
movzx eax, word [rsp + 0x30]
dec ax
mov word [0x140469750], ax
cmp word [0x140469750], si
jne 0x1401437fe
movzx eax, word [rsp + 0x30]
dec ax
mov word [0x140469750], ax
mov rbx, qword [rsp + 0x698]
mov rsi, qword [rsp + 0x6a0]
mov word [rdi], ax
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x680
pop rdi
ret
movzx eax, word [0x140469750]
jmp 0x1401437d2
mov word [rcx], ax
jmp 0x1401437e5
Function at 0x140151830
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x4a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rsi, rcx
xor ebp, ebp
mov word [rsp + 0x280], bp
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [r11 - 0x226]
call sub.MSVCR120.dll_memset
lea rdx, [rsp + 0x280]
mov ecx, Ordinal_261
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14015199d
lea rcx, [rsp + 0x280]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bp
jne 0x1401518b0
test rax, rax
je 0x14015199d
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rsp + 0x72]
call sub.MSVCR120.dll_memset
lea r9, [0x14043b6e8]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r9, qword [0x14043b6e8]
lea r8, [rsp + 0x280]
lea rdx, str._s_s_
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR120.dll__swprintf]
test eax, eax
setg dil
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
cmp word [rsp + 0x70], bp
jne 0x14015192f
mov rbx, rbp
jmp 0x14015193d
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], bp
jne 0x140151934
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400916a0
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], ebp
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
lea r9, [0x14032219c]
mov r8, rsi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140150270
nop
cmp qword [rsp + 0x68], 8
jb 0x140151997
mov rcx, qword [rsp + 0x50]
call sub.mfc120u.dll_Ordinal_1486
movzx eax, dil
jmp 0x14015199f
xor al, al
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140153760
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x910
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + reloc.mfc120u.dll_Ordinal_2304], rax
mov r14, rcx
xor bl, bl
mov byte [rsp + 0x40], bl
xor edx, edx
mov r8d, 0x20a
lea rcx, [r11 - 0x628]
call sub.MSVCR120.dll_memset
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140153997
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x500]
call sub.MSVCR120.dll_memset
lea rdx, str.Dropboxhost.db
lea rcx, [rsp + 0x500]
call qword [sym.imp.MSVCR120.dll__swprintf]
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp eax, 1
jne 0x140153997
lea rcx, [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_958
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x70]
call fcn.140289430
test eax, eax
je 0x140153980
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_11981
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_11981
lea rcx, [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_2773
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
or r8d, 0xffffffff
lea rcx, [rsp + 0xa0]
call fcn.140198cd0
nop
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
lea rdx, [rsp + 0x44]
call fcn.1401ac320
mov rdi, rax
test rax, rax
je 0x140153972
cmp dword [rsp + 0x44], 0x104
jge 0x140153968
mov byte [rsp + 0x1e0], bl
xor edx, edx
mov r8d, Ordinal_261
lea rcx, [rsp + 0x1e1]
call sub.MSVCR120.dll_memset
movsxd r8, dword [rsp + 0x44]
mov rdx, rdi
lea rcx, [rsp + 0x1e0]
call sub.MSVCR120.dll_memcpy
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd0], rax
mov r8d, 3
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.140002800
nop
mov rdx, qword [rsp + 0xd0]
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
lea rax, [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x140153962
call qword [sym.imp.MSVCR120.dll_free]
mov bl, 1
mov byte [rsp + 0x40], bl
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_free]
nop
lea rcx, [rsp + 0xa0]
call fcn.140198d60
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_1422
nop
jmp 0x14015399e
movzx eax, bl
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_2304]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140154580
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x490
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x4a8], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + Ordinal_1155], rax
mov rdi, rcx
mov byte [rsp + 0x40], 0
xor ebx, ebx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftSkyDrive
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401545ed
xor al, al
jmp 0x14015467e
mov word [rsp + 0x80], bx
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rsp + 0x82]
call sub.MSVCR120.dll_memset
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], Ordinal_528
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.UserFolder
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140154660
xor al, al
jmp 0x14015467e
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov al, 1
mov byte [rsp + 0x40], al
jmp 0x14015467e
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x490
pop rdi
ret
Function at 0x140155e00
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov rbx, rcx
lea r8d, [r9 + 4]
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x2010
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140155e46
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140155e49
mov byte [rbx], 0
mov rcx, qword [rbx + 8]
mov edi, 2
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp byte [rbx], 0
mov qword [rbx + 0x18], rax
je 0x140155ee2
xor eax, eax
lea r8, str.Nitro_PDF_Professional_single_instance_mutex
lea edx, [rdi - 1]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x18
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140155fa1
mov rcx, qword [rbx + 0x18]
xor edx, edx
mov r8d, 0x2000
call sub.MSVCR120.dll_memset
mov rax, qword [rbx + 0x18]
mov dword [rax + 0x2000], 0
lea eax, [rdi - 1]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rax + 0x2008]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
cmp edi, 2
jne 0x140155fa1
lea r8, str.Nitro_PDF_Professional_single_instance_mutex
lea edx, [rdi - 1]
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rdi, rax
test rax, rax
jne 0x140155f20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140155ef0
cmp rax, 0xffffffffffffffff
je 0x140155fa1
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140155fa1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [rbx + 0x18]
mov r8d, 0x1000
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rax, qword [rbx + 0x18]
mov dword [rax + 0x2000], 1
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x2000], 1
jne 0x140155f88
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0x18]
cmp dword [rcx + 0x2000], 1
je 0x140155f70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret