joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x40e9d0
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
jmp 0x40e990
mov eax, 0x400000
cmp esi, 0x400000
ja 0x40e99f
mov eax, esi
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x40e9d6
test ecx, ecx
je 0x40e9cf
test esi, esi
jne 0x40e990
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop ebx
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x40e9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x40ea40
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
jmp 0x40ea00
mov eax, 0x400000
cmp esi, 0x400000
ja 0x40ea0f
mov eax, esi
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x40ea46
test ecx, ecx
je 0x40ea3f
test esi, esi
jne 0x40ea00
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop ebx
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4105b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b476
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6459b8]
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_DlgInstallFzip.0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x41061f
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 0x41061f
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x9c]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x41063b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x98], 0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xa0]
call fcn.00458b32
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004113d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4188c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce13
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005729fb
mov dword [ebp - 4], 0
push 4
call fcn.00443868
mov edi, eax
add esp, 4
test edi, edi
je 0x418948
call fcn.005726bd
mov dword [edi], eax
call fcn.0057247c
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.005723b1
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41893a
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.005723d9
jmp 0x41894a
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
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], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
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
Function at 0x419af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d088
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6459b8]
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 0x419c1d
cmp byte [edi + 0x49], bl
je 0x419c1d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x419baf
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 0x419b64
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 0x419b7c
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 0x419bb3
dec eax
je 0x419bb7
sub eax, 2
je 0x419c0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404e40
xor al, al
jmp 0x419c1f
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x419bc7
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x419bf0
cmp ebx, 0x10
jae 0x419bd6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00548792
add esp, 0x10
cmp esi, eax
jne 0x419ba0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x419c0e
test esi, esi
jne 0x419b70
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004194f0
jmp 0x419b6a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404e40
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.00546bde
mov esp, ebp
pop ebp
ret
Function at 0x41a8f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d202
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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 0x41a954
lea eax, [edi + 0x70]
mov dword [edi], 0x597c90
mov dword [edi + 0x10], 0x597c88
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.0041a010
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.004188c0
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 [0x64b91c]
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 0x41d870
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9c2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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 + 0xa4]
xor ebx, ebx
cmp eax, ebx
je 0x41d8f1
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 0x41d8f1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x41d8f1
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa8]
cmp eax, ebx
je 0x41d924
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 0x41d924
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], edi
jmp 0x41d93b
mov ecx, dword [esi + 0x9c]
cmp ecx, ebx
je 0x41d953
mov eax, dword [ecx]
push 1
mov edx, dword [eax]
call edx
mov dword [esi + 0x9c], ebx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x50c]
call fcn.004586ff
mov byte [ebp - 4], 1
lea ecx, [esi + 0x498]
call fcn.00458b32
mov byte [ebp - 4], bl
lea ecx, [esi + 0xb0]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004113d0
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 0x41db30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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 + 0x9c]
call fcn.00426390
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [esi + 0x9c]
call fcn.0042c440
test eax, eax
jne 0x41dbad
cmp dword [esi + 0xb4], 3
je 0x41dc49
mov ecx, dword [esi + 0x9c]
call fcn.004263b0
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 + 0x9c]
call fcn.004263e0
mov eax, dword [esi + 0xa4]
cmp eax, edi
je 0x41dbd3
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 + 0xa8]
cmp eax, edi
je 0x41dc06
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 0x41dc06
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0xffffffff
jmp 0x41dc21
mov ecx, esi
call fcn.0045091e
cmp dword [esi + 0xc0], edi
je 0x41dc49
lea eax, [esi + 0xc4]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x41dc49
mov dword [esi + 0xc0], 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 0x4261e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed8b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6459b8]
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 0x4262b8
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00546d60
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 0x4262b8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00436d20
mov dword [ebp - 4], 0
push 0x208
push 0
push esi
call fcn.00546d60
mov eax, dword [ebp - 0x21c]
add esp, 0x14
test eax, eax
je 0x42628c
add eax, 0xc
jmp 0x426291
mov eax, 0x616ba8
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x426295
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0056bf07
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.00546bde
mov esp, ebp
pop ebp
ret 8
Function at 0x426410
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
mov dword [ebp - 0x668], ecx
je 0x42658b
lea edx, [ebp - 0x20c]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x426441
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426460
sub eax, edx
sar eax, 1
push esi
mov esi, eax
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
cmp word [ebp + esi*2 - 0x20e], 0x5c
jne 0x4264a5
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x426486
mov ecx, dword [0x596108]
mov edx, dword [0x59610c]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x4264cd
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4264a5
mov ecx, dword [0x5960fc]
mov edx, dword [0x596100]
mov dword [eax], ecx
mov cx, word [0x596104]
mov dword [eax + 4], edx
mov word [eax + 8], cx
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42656d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push edi
call ebx
test eax, eax
jne 0x426541
add esi, 0xfffffffe
js 0x42652a
nop
cmp word [edi + esi*2], 0x5c
je 0x42650c
dec esi
jns 0x426500
jmp 0x42652a
lea ecx, [esi + 1]
push ecx
lea edx, [ebp - 0x414]
push edi
push edx
call fcn.005472ec
add esp, 0xc
xor eax, eax
mov word [ebp + esi*2 - 0x414], ax
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x668]
call fcn.00426410
push 0
push edi
call ebx
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4
Function at 0x429610
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f779
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x6459b8]
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 0x64b434
push eax
call fcn.00408fd0
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 0x429677
mov edx, dword [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x616ba8
lea ecx, [ebp - 0x14]
call fcn.00406440
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x42970d
push str.mts_lang_
push ecx
call fcn.00546303
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x42970d
sub eax, ecx
sar eax, 1
js 0x42970d
add eax, 9
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405980
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004059f0
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 0x4296ed
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.00408e40
push 0x596420
lea ecx, [ebp - 0x10]
call fcn.0041e6a0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00408e40
push 4
push str..xml
lea ecx, [ebp - 0x10]
call fcn.00408e40
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.0056cdab
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 0x429763
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 0x429786
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 0x4297ac
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 0x42b830
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fc53
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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 0x7c
call fcn.00443868
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42b87d
mov ecx, eax
call fcn.0040b5e0
mov esi, eax
jmp 0x42b87f
xor esi, esi
mov byte [ebp - 4], bl
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x20]
push esi
push eax
call fcn.0045388b
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0056ca70
push ebx
lea ecx, [esi + 4]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 8]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0xc]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x10]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x14]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x18]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x1c]
push 0x616ba8
call fcn.004050c0
mov dword [esi + 0x20], ebx
mov ecx, dword [edi + 8]
push ebx
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x24]
push 0x616ba8
mov dword [esi + 0x28], ebx
call fcn.004050c0
push ebx
lea ecx, [esi + 0x38]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x34]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x30]
push 0x616ba8
call fcn.004050c0
push ebx
lea ecx, [esi + 0x74]
push 0x616ba8
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 [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x70], ebx
call fcn.004050c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0056bf07
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 0x42c6f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ff8d
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6459b8]
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.0056cdab
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x24c], esp
mov ecx, esp
push ebx
push str.SOFTWAREFoxit_SoftwareFoxit_Reader
call fcn.0056cdab
mov byte [ebp - 4], 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 4], ebx
call fcn.00437080
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x42c77d
add eax, 0xc
jmp 0x42c782
mov eax, 0x616ba8
push eax
lea ecx, [ebp - 0x240]
call fcn.00406440
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.0056bf07
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 0x42c7ed
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 0x42c7e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42c89c
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x42c841
jmp 0x42c810
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.0054704c
add esp, 8
test eax, eax
je 0x42c86e
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42c810
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 0x42c7e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42c89c
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 0x42c897
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.00546bde
mov esp, ebp
pop ebp
ret