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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5853a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6069b0]
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
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x9c]
mov dword [esi + 0xd0], 0xffffffff
push edi
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0043bd40
push 0x60e110
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043bcf0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43b036
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004079a0
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea edx, [esi + 0x6c]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
call fcn.0043bd40
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005691bb
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x43b0a0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004079a0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43b0c9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004079a0
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.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x43c130
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583998
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x43c1f4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x43c1f4
push edi
call esi
test eax, eax
je 0x43c1f4
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43c194
push edi
call ebx
test eax, eax
jne 0x43c1f4
lea ecx, [ebp - 0x10]
call fcn.00407e40
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5ebdc4
push eax
call fcn.00406400
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c1f4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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 0x43c6d0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5855f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x43c71e
push 0x80004005
call fcn.00402a80
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x43c846
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c843
push 0x5e221c
lea ecx, [ebp - 0x10]
call fcn.00411a30
mov byte [ebp - 4], 1
push 0
push dword [edi]
mov dword [ebp - 0x1c], 0x34
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43c82e
push eax
call fcn.005525d1
mov edi, eax
add esp, 4
test edi, edi
jne 0x43c7ce
push 0x5e1c54
mov ecx, ebx
call fcn.00407780
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c7b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x43c867
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43c823
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5e4cfc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43c823
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.00406400
add esp, 0x18
push 1
push edi
call fcn.005525be
add esp, 8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407ab0
add eax, 0x10
mov dword [ebx], eax
jmp 0x43c796
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.00407ab0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c871
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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 0x43c930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43c960
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.005607d3
mov esi, eax
add esp, 4
test esi, esi
jne 0x43c977
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43c9b8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5e4cfc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43c9b8
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.005585f7
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c9d0
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43cb42
push edi
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
push eax
push 0
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call edi
test al, al
je 0x43ca22
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, eax
push esi
push eax
call fcn.005607d3
mov esi, eax
add esp, 4
test esi, esi
je 0x43cb3a
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x43cb3a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x43cb31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43cb31
push dword [ebp - 0x10]
call fcn.005607d3
mov edi, eax
add esp, 4
test edi, edi
je 0x43cb31
mov eax, dword [ebp - 0xc]
add eax, eax
push ebx
push eax
call fcn.005607d3
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43cabe
push esi
call fcn.005585f7
push edi
call fcn.005585f7
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x43cb12
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x43cb12
push dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x64
call fcn.00414510
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push esi
call fcn.005585f7
push edi
call fcn.005585f7
push ebx
call fcn.005585f7
mov eax, dword [ebp - 0x14]
add esp, 0xc
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.005585f7
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43cb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6069b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.00555650
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43cba3
push esi
mov ecx, 0xb
lea eax, [ebp - 0x214]
mov esi, str._system32Shell32.dll
lea edx, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0043c930
add esp, 4
pop esi
test eax, eax
je 0x43cbfa
cmp dword [ebp - 0x210], 0x60002
jb 0x43cbfa
cmp dword [ebp - 0x214], 0x295a01c8
mov eax, 1
cmovae ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x43d0e0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f7e28
push 0x556120
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6069b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x43d279
test ebx, ebx
je 0x43d279
test edi, edi
je 0x43d279
xor esi, esi
mov byte [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x33], xmm0
mov dword [ebp - 0x2b], esi
mov word [ebp - 0x27], si
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0043d070
add esp, 8
test eax, eax
je 0x43d26e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x40]
call fcn.0043cfe0
add esp, 8
test eax, eax
je 0x43d26e
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x44], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43d1b6
xor bh, bh
jmp 0x43d1be
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43d1c7
xor bl, bl
jmp 0x43d1cf
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + 0x5dca50]
mov esi, dword [ebp - 0x3c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + 0x5dca50]
mov edx, dword [ebp - 0x3c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + 0x5dca50]
mov ebx, dword [ebp - 0x3c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + 0x5dca50]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x43d1a5
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43d27b
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43d27b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x43e510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5858ce
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6069b0]
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 ebx, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.0043e9e0
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e58a
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.004229a0
mov eax, dword [ebp - 0x70]
test al, al
je 0x43e5cc
cmp al, 7
je 0x43e5cc
lea ecx, [ebp - 0x78]
call fcn.004209a0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43e5ae
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.00551ee1
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.004210a0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0043f880
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub eax, edi
sar eax, 2
cmp eax, 3
jb 0x43e64f
mov ecx, dword [edi]
cmp ecx, 0x7d0
jb 0x43e64f
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x43e64f
cmp eax, 0xc
ja 0x43e64f
mov eax, dword [edi + 8]
cmp eax, 1
jb 0x43e64f
cmp eax, 0x1f
ja 0x43e64f
sub esp, 0x10
push eax
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00435d60
mov ecx, dword [eax]
mov dword [ebx + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.00435d40
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.00440a20
test eax, eax
je 0x43e66c
mov esi, dword [eax + 0xc]
jmp 0x43e66e
xor esi, esi
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebx + 0x3c]
call fcn.00440a20
test eax, eax
je 0x43e683
mov eax, dword [eax + 0xc]
jmp 0x43e685
xor eax, eax
cmp esi, eax
je 0x43e6c1
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x34]
mov eax, dword [ebx + 0x34]
push dword [eax + 4]
call fcn.004142e0
mov eax, dword [ebx + 0x34]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [eax], eax
mov eax, dword [ebx + 0x34]
mov dword [eax + 8], eax
mov dword [ebx + 0x38], 0
jmp 0x43e6d9
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.004210a0
lea edx, [ebx + 0x34]
mov ecx, eax
call fcn.0043fa00
test edi, edi
je 0x43e6ec
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00406870
lea ecx, [ebp - 0x78]
call fcn.004209a0
mov esi, 1
jmp 0x43e58c
Function at 0x43f1a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x6069b0]
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 edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00555650
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x44]
push 0x104
push eax
push 0x5e1a24
push dword [ebp + 8]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x43f255
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43f230
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00407be0
mov esi, 1
jmp 0x43f257
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43f279
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.00551ee1
mov esp, ebp
pop ebp
ret 8

Function at 0x4402f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44038f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00555650
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x400000
mov dword [esp + 0x30], str.Q360SoftMgrTimerWnd
mov dword [esp + 0x10], 0x4403e0
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440399
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440a90
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6069b0]
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, edx
mov dword [ebp - 0x21c], edi
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], 0
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x440aed
push 0x80004005
call fcn.00402a80
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00555650
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x440b78
push dword [ebp - 0x21c]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x440b78
add esi, 0xfffffff0
mov ecx, esi
call fcn.00407ab0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440c73
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x440c73
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
push eax
push 4
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], 0
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x440bc3
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x440c09
mov eax, dword [0x60db38]
test eax, eax
jne 0x440be8
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x60db38], eax
mov dword [ebp - 0x224], 0x104
test eax, eax
je 0x440c09
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push edi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440c20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00407be0
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
mov ecx, esi
call fcn.00407ab0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440c73
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x440ca0
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6069b0]
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 ebx, edx
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x440de3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440de3
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x440de3
push 0x228
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.00555650
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x440dd1
mov ecx, ebx
call fcn.00411c00
nop
mov edx, dword [ebp - 0x238]
lea ecx, [ebp - 0x244]
call fcn.00440a90
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0043c5d0
test eax, eax
je 0x440d96
lea edx, [ebp - 0x244]
mov ecx, edi
call fcn.0043c5d0
test eax, eax
je 0x440d96
push dword [ebp - 0x244]
lea eax, [ebp - 0x238]
push eax
push ecx
lea eax, [ebp - 0x24c]
mov ecx, ebx
push eax
call fcn.00440e10
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440dbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x440d40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, dword [ebx + 4]
sbb eax, eax
neg eax
jmp 0x440de5
xor eax, eax
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.00551ee1
mov esp, ebp
pop ebp
ret