joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571718
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f0bf8]
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
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x416cdd
cmp byte [edi + 0x49], bl
je 0x416cdd
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x416c6f
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x416c24
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x416c3c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x416c73
dec eax
je 0x416c77
sub eax, 2
je 0x416cce
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402bb0
xor al, al
jmp 0x416cdf
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x416c87
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x416cb0
cmp ebx, 0x10
jae 0x416c96
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00545338
add esp, 0x10
cmp esi, eax
jne 0x416c60
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x416cce
test esi, esi
jne 0x416c30
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004165b0
jmp 0x416c2a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402bb0
mov al, 1
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.005437e5
mov esp, ebp
pop ebp
ret
Function at 0x417540
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571842
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], ebx
je 0x4175a4
lea eax, [edi + 0x70]
mov dword [edi], 0x58b1d0
mov dword [edi + 0x10], 0x58b1c8
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ebx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
push ebx
lea esi, [edi + 0x18]
push esi
mov ecx, edi
call fcn.004170d0
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.00415a20
mov byte [ebp - 4], 3
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov edx, dword [0x5f66bc]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419660
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571e32
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.CReader_DlgUpdateManagerList.0
mov edi, 3
mov dword [ebp - 4], edi
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x9c]
xor ebx, ebx
cmp eax, ebx
je 0x4196e1
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4196e1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi + 0x9c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x4196e1
mov dword [esi + 0x9c], ebx
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x419714
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x419714
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], edi
jmp 0x41972b
mov ecx, dword [esi + 0x94]
cmp ecx, ebx
je 0x419743
mov eax, dword [ecx]
push 1
mov edx, dword [eax]
call edx
mov dword [esi + 0x94], ebx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x504]
call fcn.00455884
mov byte [ebp - 4], 1
lea ecx, [esi + 0x490]
call fcn.00455cb7
mov byte [ebp - 4], bl
lea ecx, [esi + 0xa8]
call fcn.005685da
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004100d0
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 0x419930
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571e50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x94]
call fcn.00421e20
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [esi + 0x94]
call fcn.00426fa0
test eax, eax
jne 0x4199ad
cmp dword [esi + 0xac], 3
je 0x419a49
mov ecx, dword [esi + 0x94]
call fcn.00421e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x94]
call fcn.00421e70
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x4199d3
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi + 0xa0]
cmp eax, edi
je 0x419a06
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x419a06
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0xffffffff
jmp 0x419a21
mov ecx, esi
call fcn.0044d5b5
cmp dword [esi + 0xb8], edi
je 0x419a49
lea eax, [esi + 0xbc]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x419a49
mov dword [esi + 0xb8], edi
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 0x421c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5730cb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5f0bf8]
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, dword [ebp + 0xc]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x421d38
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00543b50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
test edi, edi
je 0x421d38
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0042f830
mov dword [ebp - 4], 0
push 0x208
push 0
push esi
call fcn.00543b50
mov eax, dword [ebp - 0x21c]
add esp, 0x14
test eax, eax
je 0x421d0c
add eax, 0xc
jmp 0x421d11
mov eax, 0x587f8c
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x421d15
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.005685da
mov eax, edi
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.005437e5
mov esp, ebp
pop ebp
ret 8
Function at 0x423b00
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5736db
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
jne 0x423b46
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x68
call fcn.00440708
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x423b63
mov ecx, eax
call fcn.00408c00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x38]
push esi
push eax
call fcn.00457fdb
push edi
mov ecx, esi
call fcn.005682a1
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00403760
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
call fcn.00403760
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403760
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.00403760
lea edx, [edi + 0x14]
push edx
lea ecx, [esi + 0x14]
call fcn.00403760
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00403760
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [esi + 0x1c]
call fcn.00403760
mov edx, dword [edi + 0x20]
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], edx
call fcn.00403760
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [ebx + 8]
lea eax, [edi + 0x38]
push eax
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], edx
call fcn.00403760
lea ecx, [edi + 0x30]
push ecx
lea ecx, [esi + 0x30]
call fcn.00403760
lea edx, [edi + 0x34]
push edx
lea ecx, [esi + 0x34]
call fcn.00403760
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
call fcn.00403760
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424960
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573933
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x68
call fcn.00440708
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4249ad
mov ecx, eax
call fcn.00408c00
mov esi, eax
jmp 0x4249af
xor esi, esi
mov byte [ebp - 4], bl
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 0x24]
push esi
push eax
call fcn.00457fdb
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.005682a1
push ebx
lea ecx, [esi + 4]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 8]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0xc]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x10]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x14]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x18]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x1c]
push 0x587f8c
call fcn.00402e30
mov dword [esi + 0x20], ebx
mov ecx, dword [edi + 8]
push ebx
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x24]
push 0x587f8c
mov dword [esi + 0x28], ebx
call fcn.00402e30
push ebx
lea ecx, [esi + 0x38]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x34]
push 0x587f8c
call fcn.00402e30
push ebx
lea ecx, [esi + 0x30]
push 0x587f8c
call fcn.00402e30
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005685da
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425210
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573a79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
push str.lang_
lea eax, [ebp - 0x10]
push 0x5f61e0
push eax
call fcn.00406d70
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425277
mov edx, dword [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x587f8c
lea ecx, [ebp - 0x14]
call fcn.00404420
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x42530f
push str.mts_lang_
push ecx
call fcn.00543063
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x42530f
sub eax, ecx
sar eax, 1
js 0x42530f
push 5
add eax, 9
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402a70
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.00403760
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00409220
push 0x589390
lea ecx, [ebp - 0x10]
call fcn.0041a460
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409220
push 4
push str..xml
lea ecx, [ebp - 0x10]
call fcn.00409220
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.005685f4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4253ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x426d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 1
push 0x587f8c
mov ecx, esi
call fcn.00404420
lea eax, [ebp - 0x428]
push eax
push 0x1a
push 0
mov dword [ebp - 0x42c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x426df3
push 0x104
mov ecx, esi
call fcn.00401e20
mov eax, dword [esi]
mov ecx, dword [ebp - 0x428]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x426e1e
push ecx
push eax
call fcn.00543dc3
add esp, 8
test eax, eax
js 0x426f83
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x426f83
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
push 0x2b
mov word [edx + eax*2], cx
push str.Foxit_SoftwareAddonFoxit_ReaderInstall_
mov ecx, esi
call fcn.00409220
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.004089d0
mov edx, dword [ebp + 0xc]
push 0x2f
push edx
call fcn.00543d95
add esp, 8
test eax, eax
je 0x426eba
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
jle 0x426eba
inc eax
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp + 0xc]
call fcn.004036f0
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00409220
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x426f3e
push 0x208
lea ecx, [ebp - 0x420]
push 0
push ecx
call fcn.00543b50
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x104
mov ecx, edi
call fcn.00421c60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00543b50
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.frd
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426f20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402e30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.005437e5
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401090
int3
Function at 0x427210
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740ad
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5f0bf8]
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
push ecx
mov dword [ebp - 0x248], esp
mov ecx, esp
or ebx, 0xffffffff
push ebx
push str.InstallAppName
call fcn.005685f4
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x24c], esp
mov ecx, esp
push ebx
push str.SOFTWAREFoxit_SoftwareFoxit_Reader
call fcn.005685f4
mov byte [ebp - 4], 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 4], ebx
call fcn.0042fc70
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x42729d
add eax, 0xc
jmp 0x4272a2
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x240]
call fcn.00404420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.005685da
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x23c]
mov esi, eax
push ecx
mov edi, 0x22c
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42730d
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x427306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4273bc
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x427361
jmp 0x427330
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.00543f07
add esp, 8
test eax, eax
je 0x42738e
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x427330
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x427306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4273bc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4273b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.005437e5
mov esp, ebp
pop ebp
ret
Function at 0x42d340
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575294
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CReader_UpdateChecking.0
mov dword [ebp - 4], 2
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x42d3af
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x42d3af
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x98], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xa4]
call fcn.00455cb7
mov byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.005685da
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004100d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x404]
push eax
push ecx
xor esi, esi
call fcn.0042ec80
mov ecx, dword [ebp + 0xc]
add esp, 8
test ecx, ecx
je 0x42ed5d
mov eax, dword [ebp + 8]
push edi
movzx edi, byte [eax]
mov edx, esi
shr edx, 0x18
xor edx, edi
shl esi, 8
xor esi, dword [ebp + edx*4 - 0x404]
inc eax
dec ecx
jne 0x42ed44
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005437e5
mov esp, ebp
pop ebp
ret