joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f57db
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov esi, ecx
inc edi
cmp eax, 0x25
ja 0x4f58ab
je 0x4f5895
sub eax, 8
je 0x4f5888
dec eax
je 0x4f5879
sub eax, 4
je 0x4f584b
sub eax, 4
je 0x4f5843
sub eax, 0x12
je 0x4f5836
dec eax
jne 0x4f591b
mov ecx, dword [esi + 4]
call fcn.00462185
cmp eax, edi
je 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4ad2
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4aac
jmp 0x4f591b
mov dword [esi + 0xc], edi
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4fc5
mov ecx, dword [esi + 4]
call fcn.004150ee
test eax, eax
je 0x4f591b
mov ecx, dword [esi + 4]
push 8
call fcn.004150ee
mov ecx, eax
call fcn.00437958
jmp 0x4f591b
mov ecx, 0x6bee08
call fcn.00440a97
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4e4b
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.00462185
cmp eax, edi
je 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4add
jmp 0x4f591b
sub eax, 0x26
je 0x4f5913
dec eax
je 0x4f5909
dec eax
je 0x4f58ff
sub eax, 6
je 0x4f58f5
sub eax, 0x28
jne 0x4f591b
cmp dword [esi + 0xc], eax
je 0x4f591b
push edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f591b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f591b
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.004f5329
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4c96
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4a4b
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4b46
jmp 0x4f591b
mov ecx, dword [esi + 4]
call fcn.004f4bb0
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x4f76e9
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea edi, [ebp - 0x104]
mov edx, esi
sub edi, esi
mov al, byte [edx]
mov byte [edi + edx], al
inc edx
test al, al
jne 0x4f770e
movsx eax, byte [esi]
push eax
call fcn.005568f2
pop ecx
test eax, eax
je 0x4f7783
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x4f77a2
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x4f7783
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x110]
push eax
call fcn.0054eed0
add esp, 0xc
push dword [ebp - 0x110]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x579c80
push eax
call fcn.00550fcb
mov eax, dword [esi + 0xc]
add esp, 0xc
inc edi
lea ecx, [eax + edi*4]
cmp dword [ecx], 0
jne 0x4f7741
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x104]
push dword [ebp + 0xc]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x14], eax
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 8
Function at 0x4f8efa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x303]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x1ff
push ebx
push eax
mov byte [ebp - 0x304], bl
call fcn.0054f520
add esp, 0xc
lea eax, [ebp - 0x304]
test edi, edi
je 0x4f8f52
push edi
push dword [ebp + 0xc]
push esi
push 0x586ae8
push eax
call fcn.00550fcb
add esp, 0x14
jmp 0x4f8f64
push dword [ebp + 0xc]
push esi
push str._s_line:_d_
push eax
call fcn.00550fcb
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.0054f520
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x30e]
push eax
movzx eax, word [ebp - 0x312]
push eax
movzx eax, word [ebp - 0x314]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call fcn.00550fcb
add esp, 0x14
cmp dword [0x6d70d8], ebx
jne 0x4f9057
push ebx
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4f8fe9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4f9011
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x4f904d
lea eax, [ebp - 0x104]
push 0x586b10
push eax
call fcn.00551d18
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4f9057
call fcn.004f87fb
push eax
lea eax, [ebp - 0x304]
push eax
push str._stime:_s_n
push esi
call fcn.0054e7e1
push esi
call fcn.0054f7fb
add esp, 0x14
jmp 0x4f9057
mov dword [0x6d70d8], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret
Function at 0x50d8ba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x410], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0054f520
mov ecx, edi
add esp, 0xc
and dword [ebp - 0x408], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50d912
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.0050d88e
mov ebx, eax
lea ecx, [esi + 0x20]
push ebx
call fcn.0050f887
test eax, eax
jne 0x50d9d7
lea ecx, [esi + 0x20]
call fcn.00498947
cmp eax, 0xcd
jb 0x50d96f
push 0x33
mov ecx, esi
call fcn.0050da08
lea eax, [ebp - 0x404]
push 0x5888c8
push eax
call fcn.00550fcb
pop ecx
pop ecx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 0x408], eax
test eax, eax
je 0x50d9d7
mov ecx, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [esi]
push dword [ebp - 0x408]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, esi
call fcn.0050d85c
test eax, eax
je 0x50d9be
mov ecx, dword [ebp - 0x408]
mov dword [eax + 8], ecx
mov dword [eax + 4], ebx
push eax
lea ecx, [esi + 4]
call fcn.00548c20
push ebx
lea eax, [ebp - 0x408]
push eax
lea ecx, [esi + 0x20]
call fcn.005015fc
push dword [ebp - 0x414]
mov eax, dword [esi]
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 0x10

Function at 0x50db69
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov edi, eax
add edx, 0x493e0
cmp edi, edx
jbe 0x50db97
mov ecx, esi
call fcn.0050da64
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x513664
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push ebx
push esi
mov dword [ebp - 4], eax
cmp dword [eax + 0x1f4], 0
je 0x513755
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x513755
xor ecx, ecx
mov edx, 0x6f43c4
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, 1
je 0x513755
mov ecx, ebx
call fcn.00415101
cmp eax, 1
je 0x513755
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [ebp - 4]
mov edi, 0x6f43a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, 0x6f43b0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x1f4]
xor esi, esi
mov dword [0x6f43bc], eax
inc esi
mov eax, dword [ebp + 0x14]
mov dword [0x6f43c0], ebx
xor ebx, ebx
mov dword [0x6a249c], eax
mov dword [ecx + 0x3ac], ebx
mov ecx, 0x6c5288
push esi
call fcn.0046a8f0
mov ecx, eax
call fcn.004c2cd5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6c63d0
mov dword [0x6f4398], eax
call fcn.004b2244
mov dword [0x6f439c], eax
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push 0x51376a
push ebx
push ebx
mov dword [0x6f4390], esi
mov dword [0x6f4394], esi
mov dword [0x6f43cc], ebx
mov dword [0x6f438c], ebx
mov dword [0x6f43a0], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
test eax, eax
jne 0x51375f
mov ecx, 0x6f43c4
xchg dword [ecx], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x513757
Function at 0x5239f5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x50]
je 0x523a1e
cmp esi, 0x11
je 0x523a1e
lea ecx, [esi + 2]
lea ecx, [edi + ecx*4]
call fcn.00498947
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x533369
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
je 0x5333ae
mov edi, 0x6c93c8
push 0x7c9
mov ecx, edi
call fcn.004be778
push eax
push 0x17
push edi
call fcn.004bdea6
add esp, 0xc
xor eax, eax
jmp 0x5334f8
mov eax, dword [0x6f25b0]
push ebx
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea edx, [ebp - 0x210]
push edx
push 0x58ab74
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x5334f0
mov ecx, esi
call fcn.005337a7
test eax, eax
jne 0x53342c
push str.bdcap32.dll
mov ecx, esi
call fcn.00533544
test eax, eax
jns 0x53341c
mov edi, 0x6c93c8
push 0x7ca
mov ecx, edi
call fcn.004be778
push eax
push 0x17
push edi
call fcn.004bdea6
add esp, 0xc
jmp 0x5334f0
mov eax, dword [esi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call dword [eax + 0xc]
mov ecx, esi
call fcn.005337a7
test eax, eax
je 0x5334f4
mov eax, dword [esi]
push 0x140
push 0xf
push esi
call dword [eax + 0x40]
mov ecx, esi
call fcn.0053386f
push ebx
mov ecx, 0x6f4fe0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sScreenShot
push eax
call fcn.00550fcb
add esp, 0xc
lea eax, [ebp - 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x53348e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5334f0
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0x58aca4
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.005337b0
lea eax, [ebp - 0x20c]
mov edi, 0x6c93c8
push eax
push 0x971
mov ecx, edi
call fcn.004be778
push eax
push 0x17
push edi
call fcn.004bdea6
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push 4
push ebx
push eax
push esi
call fcn.005339b4
test eax, eax
jns 0x5334f4
xor eax, eax
jmp 0x5334f7
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054ee82
mov esp, ebp
pop ebp
ret
Function at 0x5377a5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.004089e4
pop ecx
pop ecx
mov esi, ebx
mov byte [eax + 1], 0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x537803
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x537813
mov ecx, ebx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0xff
push dword [ebp - 0x110]
mov ecx, ebx
push 0
push dword [ebp - 0x108]
and ecx, 3
push dword [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret
Function at 0x53e689
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x114], ecx
mov ecx, 0x6d3dbc
push edi
call fcn.0044a658
push eax
push eax
xor edi, edi
mov ecx, 0x6f4fe0
push edi
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x53e6fa
xor eax, eax
jmp 0x53e76b
push edi
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], edi
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x53e725
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53e6f6
cmp dword [ebp - 0x110], 0x61208
jne 0x53e71c
push edi
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x114]
push 0x16c
add eax, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x53e71c
cmp dword [ebp - 0x10c], 0x16c
ja 0x53e762
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054ee82
mov esp, ebp
pop ebp
ret
Function at 0x540a66
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x6d3dbc
push edi
call fcn.0044a658
push eax
push eax
xor esi, esi
mov ecx, 0x6f4fe0
push esi
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x540b10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x61208
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x16c
lea eax, [ebx + 4]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret

Function at 0x545e4c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x545f22
test edi, edi
je 0x545f22
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x545f1a
cmp byte [ebp - 0x25c], 0
je 0x545f1a
lea esi, [ebp - 0x25c]
push 0x58b490
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x545f12
push 0x58b494
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x545f12
mov al, byte [esi]
mov byte [ebp - 0x260], al
mov al, byte [esi + 1]
mov byte [ebp - 0x25f], al
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 0x25e], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x545f22
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.00548261
add esp, 0xc
test eax, eax
je 0x545f37
add esi, 4
cmp byte [esi], 0
jne 0x545ea1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x264]
add eax, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor eax, eax
inc eax
jmp 0x545f24
Function at 0x5460a8
Capabilities:
Enumerate process modules

Disassembly:
push 0x260
mov eax, 0x5785c2
call fcn.00550a7e
mov eax, ecx
mov dword [ebp - 0x254], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x220
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x24c]
push edi
push eax
mov dword [ebp - 0x250], 0x224
call fcn.0054f520
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x25c], ebx
cmp ebx, 0xffffffff
jne 0x546105
xor eax, eax
jmp 0x5461e2
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x5461d9
lea eax, [ebp - 0x230]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040444a
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405ada
mov edi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x260]
push eax
call fcn.00547186
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x26c]
push eax
call fcn.00405ada
push 0x55759d
push dword [edi]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x268]
push eax
call fcn.00544fca
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x2c]
add esp, 0x14
lea ecx, [ecx + 8]
push eax
call fcn.00545499
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.0049516e
lea ecx, [ebp - 0x2c]
call fcn.0040498c
jmp 0x5461bd
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x250]
push eax
push ebx
xor edi, edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x54611a
inc edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.005509d0
ret 4

Function at 0x5461ea
Capabilities:
Get process image filename

Disassembly:
push 0x228
mov eax, 0x5785f5
call fcn.00550a12
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x234], 0
call fcn.0040447f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0x5796cc
call fcn.0049516e
push esi
push 0
push 0x400
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x546293
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x546261
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x546293
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00545e4c
push esi
test eax, eax
je 0x546259
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.0049516e
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0040438a
lea ecx, [ebp - 0x230]
call fcn.0040498c
mov eax, edi
call fcn.005509c1
ret 8
Function at 0x5462b6
Capabilities:
Enumerate processes

Disassembly:
push 0x198
mov eax, 0x578625
call fcn.00550a7e
mov esi, ecx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x194], esi
call fcn.00547116
lea ecx, [esi + 8]
call fcn.0054714e
lea ecx, [esi + 0x10]
call fcn.005470de
push 0x124
xor ebx, ebx
lea eax, [ebp - 0x184]
push ebx
push eax
call fcn.0054f520
add esp, 0xc
mov dword [ebp - 0x188], 0x128
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x190], eax
cmp eax, 0xffffffff
jne 0x546323
xor eax, eax
jmp 0x54646c
lea ecx, [ebp - 0x188]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x54645e
push dword [ebp - 0x180]
mov dword [ebp - 4], ebx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x546361
push edi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.0054519c
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 1
call fcn.0049516e
push dword [ebp - 0x180]
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.005461ea
push eax
lea ecx, [ebp - 0x2c]
call fcn.005452be
lea ecx, [ebp - 0x60]
call fcn.0040498c
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405ada
mov edi, eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x198]
push eax
call fcn.00547186
mov esi, eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x19c]
push eax
call fcn.00405ada
push 0x55759d
push dword [edi]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x1a4]
push eax
call fcn.00544fca
mov esi, dword [ebp - 0x18c]
lea eax, [ebp - 0x44]
add esp, 0x14
mov ecx, esi
push eax
call fcn.00545400
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00545339
push dword [ebp - 0x180]
mov ecx, esi
call fcn.005460a8
lea ecx, [ebp - 0x48]
call fcn.005452aa
or dword [ebp - 4], 0xffffffff
jmp 0x546441
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x190]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x546338
xor ebx, ebx
inc ebx
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.005509d0
ret

Function at 0x546476
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jne 0x5464c9
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
mov dword [0x6f84e8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push 0x545fe7
push ebx
push ebx
mov dword [0x6f84ec], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], 1
pop edi
pop ebx
ret
Function at 0x5468c2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
mov dword [ebp - 0x1ac], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x54694b
lea eax, [ebp - 0x1ac]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x546944
push esi
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x84]
push 0x579c80
push eax
call fcn.00550fcb
add esp, 0xc
lea eax, [ebp - 0x1ac]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
mov esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.00409c5a
mov ecx, eax
call fcn.005467fb
test esi, esi
jne 0x546902
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0054ee82
mov esp, ebp
pop ebp
ret

Function at 0x549e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
sar eax, 2
and esi, 3
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], esi
lea edx, [eax*4]
mov dword [ecx + 0x50], edx
push edi
test eax, eax
je 0x549ebf
xor edi, edi
xor edi, dword [ebx]
lea ebx, [ebx + 4]
dec eax
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x48], eax
jne 0x549eb1
test esi, esi
je 0x549edc
mov edi, dword [ecx + 0x54]
mov eax, dword [ebp + 8]
movsx eax, byte [edx + eax]
inc edx
xor edi, eax
mov dword [ecx + 0x50], edx
dec esi
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x4c], esi
jne 0x549ec6
pop edi
pop esi
pop ebx
pop ebp
ret 8