joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a9f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0042a651
push eax
push esi
push dword [ebp + 8]
call fcn.0042a606
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
pop ecx
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0042a651
push eax
push esi
push dword [ebp + 8]
call fcn.0042a606
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0042a641
loope 0x42aa95
push 0x7c9d8848
invalid

Function at 0x43046a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a7f0]
jne fcn.0043121a
repz ret

Function at 0x43121a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x44bad0], eax
mov dword [0x44bacc], ecx
mov dword [0x44bac8], edx
mov dword [0x44bac4], ebx
mov dword [0x44bac0], esi
mov dword [0x44babc], edi
mov word [0x44bae8], ss
mov word [0x44badc], cs
mov word [0x44bab8], ds
mov word [0x44bab4], es
mov word [0x44bab0], fs
mov word [0x44baac], gs
pushfd
pop dword [0x44bae0]
mov eax, dword [ebp]
mov dword [0x44bad4], eax
mov eax, dword [ebp + 4]
mov dword [0x44bad8], eax
lea eax, [ebp + 8]
mov dword [0x44bae4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x44ba20], 0x10001
mov eax, dword [0x44bad8]
mov dword [0x44b9d4], eax
mov dword [0x44b9c8], 0xc0000409
mov dword [0x44b9cc], 1
mov eax, dword [0x44a7f0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x44a7f4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x44ba18], eax
push 1
call fcn.00437fea
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x409d48
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x44ba18], 0
jne 0x431306
push 1
call fcn.00437fea
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x43140e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x431435
call fcn.00435327
mov dword [eax], esi
call fcn.00435314
push 0x16
pop esi
mov dword [eax], esi
call fcn.004364ac
mov eax, esi
jmp 0x43148a
test dword [ebp + 0xc], 0xfffffff9
jne 0x43141b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x431462
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043533a
pop ecx
call fcn.00435314
mov eax, dword [eax]
jmp 0x43148a
test al, 0x10
jne 0x431488
test al, 1
je 0x431488
test byte [ebp + 0xc], 2
je 0x431488
call fcn.00435327
mov dword [eax], 5
call fcn.00435314
mov dword [eax], 0xd
jmp 0x431459
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43a3a7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44a7f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00434954
and dword [ebp - 0x14], 0
cmp dword [0x44c5f0], 0
mov dword [ebp - 0x18], eax
jne 0x43a45a
push 0x40ac94
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43a502
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4095b0
push ebx
call edi
test eax, eax
je 0x43a502
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40ac84
push ebx
mov dword [0x44c5f0], eax
call edi
push eax
call esi
push 0x40ac70
push ebx
mov dword [0x44c5f4], eax
call edi
push eax
call esi
push 0x40ac54
push ebx
mov dword [0x44c5f8], eax
call edi
push eax
call esi
mov dword [0x44c600], eax
test eax, eax
je 0x43a45a
push 0x40ac3c
push ebx
call edi
push eax
call esi
mov dword [0x44c5fc], eax
mov eax, dword [0x44c5fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43a4b3
cmp dword [0x44c600], ecx
je 0x43a4b3
push eax
call esi
push dword [0x44c600]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43a4b3
test ebx, ebx
je 0x43a4b3
call edi
test eax, eax
je 0x43a4aa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43a4aa
test byte [ebp - 8], 1
jne 0x43a4b3
or dword [ebp + 0x10], 0x200000
jmp 0x43a4e6
mov eax, dword [0x44c5f4]
cmp eax, dword [ebp - 0x18]
je 0x43a4e6
push eax
call esi
test eax, eax
je 0x43a4e6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43a4e6
mov eax, dword [0x44c5f8]
cmp eax, dword [ebp - 0x18]
je 0x43a4e6
push eax
call esi
test eax, eax
je 0x43a4e6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44c5f0]
call esi
test eax, eax
je 0x43a502
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43a504
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043046a
leave
ret
Function at 0x404960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c25ba
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0047ad74
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x404a20
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00478cee
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4f693c
push eax
call fcn.0047a1a0
push edi
push esi
call fcn.0047b0d2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret 4

Function at 0x406fb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2905
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4f93d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004070c0
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x407026
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x406fff
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x407017
mov eax, dword [esi]
jmp 0x407019
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x407042
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
push 0x50
call fcn.00491258
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.00479c70
sub esp, 0x18
mov ecx, 0x408430
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x407084
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____stdcall___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x408430
mov dword [eax + 0x24], eax
push 0x4e7d2c
push edi
mov ecx, esi
call fcn.00419ff0
mov dword [edi + 0x74], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4070a2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2846
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f93d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00491258
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047afcf
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a520
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40a57b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
je 0x40a5db
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp - 0x238]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x40a5ce
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call edi
test eax, eax
jne 0x40a5a1
jmp 0x40a5da
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
call fcn.0049120e
mov esp, ebp
pop ebp
ret
Function at 0x40c260
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3065
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4f93d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c3c0
mov ebx, eax
lea esi, [edi + 0x58]
cmp esi, ebx
je 0x40c2d6
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40c2af
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c2c7
mov eax, dword [esi]
jmp 0x40c2c9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40c2f2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x40c33e
cmp dword [esi + 4], 0
je 0x40c325
mov eax, dword [esi + 4]
test eax, eax
je 0x40c325
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x40c33e
mov ecx, esi
call fcn.0041a240
push 0x50
push esi
call fcn.0049121f
add esp, 8
push 0x50
call fcn.00491258
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.00479c70
sub esp, 0x1c
mov ecx, 0x40df70
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40c383
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x40df70
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00419ff0
mov dword [edi + 0x7c], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40c3a1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4134b0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3b3d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4f93d4]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
call fcn.00479c70
mov dword [esi + 0x10], 0
lea ecx, [edi + 0x758]
mov dword [esi + 0x14], 0
add esp, 0xc
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41353c
mov eax, dword [esi]
jmp 0x41353e
mov eax, esi
xor edx, edx
push 0xffffffffffffffff
push edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00403270
xor eax, eax
mov dword [ebp - 0x234], 1
mov byte [edi + 0x7b9], 1
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0041a990
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.0041a880
test eax, eax
mov dword [ebp - 0x238], eax
mov byte [edi + 0x7ba], 1
setne al
mov byte [edi + 0x7b9], al
call fcn.0041a800
mov ebx, eax
test ebx, ebx
setne al
mov byte [edi + 0x7ba], al
cmp dword [edi + 0x768], 0
je 0x4135fa
cmp dword [edi + 0x754], 8
lea eax, [edi + 0x740]
jb 0x4135eb
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4136bf
cmp dword [ebp - 0x238], 0
je 0x413642
test ebx, ebx
je 0x413642
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x218]
push 0
je 0x41364a
push str.hudun
push eax
push 0
push 0x104
push eax
call fcn.0049f7a3
add esp, 0x18
jmp 0x413669
push 0
lea eax, [ebp - 0x218]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x2a
push eax
push 0
call edi
test eax, eax
jne 0x413669
push eax
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push 0x4e77c0
push str.XJPDFEditor
lea eax, [ebp - 0x218]
push eax
push 0
push 0x104
push eax
call fcn.0049f7a3
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x413698
xor ecx, ecx
jmp 0x4136b0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4136a1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403170
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4136dd
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004017c0
mov eax, esi
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.0049120e
mov esp, ebp
pop ebp
ret 4
Function at 0x413860
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.00479c70
add esi, 0x758
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x41389e
mov esi, dword [esi]
push 0x10
push edi
push 0x10
push esi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
mov ecx, 0x4e7dc8
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4138e6
test dx, dx
je 0x4138e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4138e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4138c0
xor eax, eax
jmp 0x4138eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41399f
push eax
push str.set.ini
push edi
push eax
lea esi, [eax + 1]
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.0049f7a3
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
push str.true
push str.IsOverride
push str.Uninstall
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.false
lea eax, [ebp - 0x2c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41397f
test dx, dx
je 0x413962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41397f
add eax, 4
add ecx, 4
test dx, dx
jne 0x413940
xor eax, eax
xor ecx, ecx
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret 4
sbb eax, eax
xor ecx, ecx
or eax, 1
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0049120e
mov esp, ebp
pop ebp
ret 4

Function at 0x413b40
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.00479c70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x413ba4
push eax
push 0x2e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x4e94cc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.0049f7a3
push 0
push str.XJPDFEditor
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x104
push eax
call fcn.0049f7a3
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0x30
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x413bfd
xor ecx, ecx
jmp 0x413c15
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413c06
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00403170
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049120e
mov esp, ebp
pop ebp
ret 4
Function at 0x413c40
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3c31
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x4f93d4]
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 [ecx + 0x794]
lea eax, [ebp - 0x200]
mov ebx, dword [ebp + 8]
push eax
call fcn.0040bbe0
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x413c94
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x1ac], 7
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
cmp word [edx], ax
jne 0x413cba
xor ecx, ecx
jmp 0x413ccf
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413cc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c0]
call fcn.00403170
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1ec]
cmp eax, 8
jb 0x413cfe
inc eax
lea ecx, [ebp - 0x200]
push eax
push dword [ebp - 0x200]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], 0
mov word [ebp - 0x200], ax
call fcn.00418900
cmp dword [ebp - 0x1ac], 8
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x1e4], eax
cmovae esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x413d52
push esi
call edi
test eax, eax
je 0x413d81
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x413d81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov edi, 1
jmp 0x413d83
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1ac], 8
lea eax, [ebp - 0x1c0]
push 0
cmovae eax, dword [ebp - 0x1c0]
push 3
push ecx
push eax
call fcn.0049f5d2
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.0041e780
cmp dword [ebx + 0x24], 8
lea esi, [ebx + 0x10]
jb 0x413df5
mov esi, dword [esi]
push dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x1d4]
mov ecx, 0x4e9568
test edi, edi
mov eax, 0x4e9560
cmove eax, ecx
mov ecx, dword [ebp - 0x1d8]
push eax
call fcn.00491db0
xor edx, edx
movsd qword [ebp - 0x1e8], xmm0
mov ecx, 0x40000000
call fcn.00491db0
movsd xmm1, qword [ebp - 0x1e8]
sub esp, 8
divsd xmm1, xmm0
cvttsd2si eax, qword [ebx + 8]
movsd qword [esp], xmm1
push esi
push eax
push str.1.code_ld
lea eax, [ebp - 0x1a8]
push 0xc8
push eax
call fcn.0040a0f0
mov eax, dword [ebp - 0x1ac]
add esp, 0x24
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
cmp eax, 8
jb 0x413e8c
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.004017c0
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.0049120e
mov esp, ebp
pop ebp
ret 4