joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b176
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.pdapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [esp + 0xc]
test eax, eax
mov dword [esi], eax
je 0x40b33a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MountDisk
push eax
call edi
test eax, eax
mov dword [0x419c68], eax
je 0x40b320
push str.DismountDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c24], eax
je 0x40b320
push str.CreateDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c60], eax
je 0x40b320
push str.CreateDiskEx
push dword [esi]
call edi
test eax, eax
mov dword [0x419c30], eax
je 0x40b320
push str.DeleteDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c50], eax
je 0x40b320
push str.EraseDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c4c], eax
je 0x40b320
push str.ChangeDiskProperties
push dword [esi]
call edi
test eax, eax
mov dword [0x419c48], eax
je 0x40b320
push str.BackupDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c58], eax
je 0x40b320
push str.RestoreDisk
push dword [esi]
call edi
test eax, eax
mov dword [0x419c2c], eax
je 0x40b320
push str.GetDiskShares
push dword [esi]
call edi
test eax, eax
mov dword [0x419c34], eax
je 0x40b320
push str.SetDiskShares
push dword [esi]
call edi
test eax, eax
mov dword [0x419c54], eax
je 0x40b320
push str.DeleteDiskShares
push dword [esi]
call edi
test eax, eax
mov dword [0x419c28], eax
je 0x40b320
push str.GetDiskProperties
push dword [esi]
call edi
test eax, eax
mov dword [0x419c5c], eax
je 0x40b320
push str.SetDiskProperties
push dword [esi]
call edi
test eax, eax
mov dword [0x419c44], eax
je 0x40b320
push str.GetMountedDiskProperties
push dword [esi]
call edi
test eax, eax
mov dword [0x419c64], eax
je 0x40b320
push str.EncryptBuffer
push dword [esi]
call edi
test eax, eax
mov dword [0x419c6c], eax
je 0x40b320
push str.DecryptBuffer
push dword [esi]
call edi
test eax, eax
mov dword [0x419c38], eax
je 0x40b320
push str.DeriveKeyFromPassword
push dword [esi]
call edi
test eax, eax
mov dword [0x419c40], eax
je 0x40b320
push str.EnableLog
push dword [esi]
call edi
test eax, eax
mov dword [0x419c3c], eax
je 0x40b320
mov al, 1
jmp 0x40b33c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop edi
pop esi
ret
Function at 0x40fed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x418218
cmp edx, dword [eax]
je 0x40fef2
add eax, 8
inc ecx
cmp eax, 0x4182a8
jl 0x40fee3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x418218]
jne 0x410020
mov eax, dword [0x419c78]
cmp eax, 1
je 0x40fffa
test eax, eax
jne 0x40ff23
cmp dword [0x415a54], 1
je 0x40fffa
cmp edx, 0xfc
je 0x410020
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ff5a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b4f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b470
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ff9d
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b470
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41265c
push edi
call fcn.0040b760
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b4f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b500
lea eax, [ebp - 0xa0]
push 0x41263c
push eax
call fcn.0040b500
push dword [esi + 0x41821c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b500
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00410f84
add esp, 0x2c
pop edi
jmp 0x410020
lea eax, [ebp + 8]
lea esi, [esi + 0x41821c]
push 0
push eax
push dword [esi]
call fcn.0040b470
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x144], ecx
mov byte [ebp - 0x108], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x144]
add eax, 0x6604
push eax
push 3
push str.ADSLCOUNT
push str.IPCONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 0x65f0], eax
mov edx, dword [ebp - 0x144]
add edx, 0x6604
push edx
push 0x1e
push str.ADSLTIME
push str.IPCONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 0x65f4], eax
mov edx, dword [ebp - 0x144]
add edx, 0x6604
push edx
push 1
push str.ADSLIPCHECK
push str.IPCONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 0x65f8], eax
mov edx, dword [ebp - 0x144]
add edx, 0x6604
push edx
push 1
push str.ADSLPPPOE
push str.IPCONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 0x65fc], eax
mov edx, dword [ebp - 0x144]
add edx, 0x6604
push edx
push 0xff
lea eax, [ebp - 0x108]
push eax
push str.http:__iframe.ip138.com_ic.asp
push str.IP138
push str.IPCONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x144]
add ecx, 0x6600
mov dword [ebp - 0x140], ecx
lea edx, [ebp - 0x108]
test edx, edx
jne 0x4032a1
mov dword [ebp - 0x10c], 0
jmp 0x4032b6
lea eax, [ebp - 0x108]
push eax
call fcn.0042be00
add esp, 4
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x140]
call fcn.00401ee0
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4032e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x6604
push eax
push 0xff
mov ecx, dword [ebp - 4]
add ecx, 0x6a1c
push ecx
push str.123456789
push str.MICRORUIKEY
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 4]
add edx, 0x6604
push edx
push 0xff
mov eax, dword [ebp - 4]
add eax, 0x6b1b
push eax
push str.123456789
push str.MICRORUIUSER
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
add ecx, 0x6604
push ecx
push 0
push str.ISMICRORUI
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c1c], eax
mov eax, dword [ebp - 4]
add eax, 0x6604
push eax
push 0x3e9
push str.MICRORUIKEYTYPE
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c20], eax
mov edx, dword [ebp - 4]
add edx, 0x6604
push edx
push 0x3c
push str.MICRORUITIMEOUT
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c24], eax
mov esp, ebp
pop ebp
ret
Function at 0x403420
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x6604
push eax
push 0xff
mov ecx, dword [ebp - 4]
add ecx, 0x6708
push ecx
push 0x45ec6b
push str.verifypassword
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 4]
add edx, 0x6604
push edx
push 0x104
mov eax, dword [ebp - 4]
add eax, 0x6807
push eax
push str.qqinfo.txt
push str.ACCOUNTFILE
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
add ecx, 0x6604
push ecx
push 0x3001
push str.LoginVerifyType
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6a10], eax
mov eax, dword [ebp - 4]
add eax, 0x6604
push eax
push 0x3002
push str.GameVerifyType
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6a14], eax
mov edx, dword [ebp - 4]
add edx, 0x6807
push edx
mov eax, dword [ebp - 4]
add eax, 0x690b
push eax
call fcn.0042c740
add esp, 8
push 0x45edd8
mov ecx, dword [ebp - 4]
add ecx, 0x690b
push ecx
call fcn.004030f0
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0x6604
push edx
push 1
push str.ISAUTODT
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6a18], eax
mov esp, ebp
pop ebp
ret
Function at 0x403530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101d0
call fcn.0042c300
mov eax, dword [0x474a60]
mov dword [ebp - 0x19c], eax
push edi
mov dword [ebp - 0x101d0], ecx
mov byte [ebp - 0x101a0], 0
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x1019f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x198], 0
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x194]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x101d0]
add eax, 0x6604
push eax
push 0xffff
lea ecx, [ebp - 0x101a0]
push ecx
push 0x45ee30
push str.LISTHEAD
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2c
push 0x64
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x101a0]
push eax
call fcn.004036b0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x101a4], 0
jmp 0x4035ec
mov ecx, dword [ebp - 0x101a4]
add ecx, 1
mov dword [ebp - 0x101a4], ecx
mov edx, dword [ebp - 0x101a4]
cmp edx, dword [ebp - 4]
jge 0x403697
mov eax, dword [ebp - 0x101a4]
and eax, 0x80000001
jns 0x40360d
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x403642
mov ecx, dword [ebp - 0x101a4]
mov edx, dword [ebp + ecx*4 - 0x198]
push edx
mov eax, dword [ebp - 0x101d0]
mov ecx, dword [eax + 0x6590]
imul ecx, ecx, 0x104
add ecx, dword [ebp - 0x101d0]
push ecx
call fcn.0042c740
add esp, 8
jmp 0x403692
mov edx, dword [ebp - 0x101a4]
mov eax, dword [ebp + edx*4 - 0x198]
push eax
call fcn.0042c983
add esp, 4
mov ecx, dword [ebp - 0x101d0]
mov edx, dword [ecx + 0x6590]
imul edx, edx, 0x104
mov ecx, dword [ebp - 0x101d0]
mov dword [ecx + edx + 0x100], eax
mov edx, dword [ebp - 0x101d0]
mov eax, dword [edx + 0x6590]
add eax, 1
mov ecx, dword [ebp - 0x101d0]
mov dword [ecx + 0x6590], eax
jmp 0x4035dd
mov ecx, dword [ebp - 0x19c]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x407f50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bcfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [0x474a60]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x16c]
add eax, 0x6604
push eax
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push 0x45ec6b
push str.PATH
push str.PATHSET
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x120]
call fcn.00408060
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x120]
sub eax, 0x10
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.00408370
add esp, 4
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x124]
or ecx, 1
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0040edf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.xThread.0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0xffffffff
je 0x40bd65
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
je 0x40bd3e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x40bd3e
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
push 1
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0xffffffff
je 0x40bd65
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret

Function at 0x40c020
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xffffffff
je 0x40c05d
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov esp, ebp
pop ebp
ret
Function at 0x40e320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov dword [eax], vtable.xLockableObject.0
mov ecx, dword [ebp - 0x84]
mov dword [ecx], vtable.xCriticalSection.0
mov edx, dword [ebp - 0x84]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x84]
add eax, 0x28
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x84]
add eax, 0x30
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
add eax, 0x38
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
call fcn.0040f090
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x413690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x474a60]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 8], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], pe_nt_image_headers32
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4136dc
xor eax, eax
jmp 0x413728
mov edx, 1
test edx, edx
je 0x41371b
mov dword [ebp - 0x138], pe_nt_image_headers32
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x413705
jmp 0x41371b
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 8]
jne 0x413719
mov dword [ebp - 8], 1
jmp 0x41371b
jmp 0x4136dc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret 4
Function at 0x4137c0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c37c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
mov eax, dword [0x474a60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x374], ecx
lea ecx, [ebp - 0xf8]
call fcn.004232f9
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0xdc]
push ecx
call fcn.0042c838
add esp, 0xc
push 0
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0042338c
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x41399a
lea ecx, [ebp - 0xf8]
call fcn.004230da
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xf8]
call fcn.004232c0
test eax, eax
jne 0x413995
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0xf8]
call fcn.004235b4
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x36c]
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov edx, 1
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax + 8]
sub ecx, 0xc8
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x35c]
or edx, dword [ebp - 0x360]
jge 0x4138e1
push 0xc8
mov ecx, dword [ebp - 0x36c]
call fcn.004020c0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax]
mov dword [ebp - 0x368], ecx
mov edx, dword [ebp - 0x368]
push edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.0042c740
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x358]
call fcn.0040edf0
push 0x10
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
call dword [edx + 0x38]
test eax, eax
je 0x413969
lea eax, [ebp - 0x1c4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x460878
lea edx, [ebp - 0x28c]
push edx
call fcn.0042c838
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x374]
call fcn.004137c0
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x413995
lea edx, [ebp - 0x1c4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x460878
lea ecx, [ebp - 0x354]
push ecx
call fcn.0042c838
add esp, 0x10
lea edx, [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x413830
lea ecx, [ebp - 0xf8]
call fcn.0042300a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.0042331d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret 4

Function at 0x413db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 0x108], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push eax
push 0x4607e0
lea ecx, [ebp - 0x108]
push ecx
call fcn.0042c838
add esp, 0xc
mov edx, dword [ebp - 0x10c]
add edx, 0x690b
push edx
push 0x30d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x4607e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x416240
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
mov dword [ebp - 0x140], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x416276
xor al, al
jmp 0x4162f6
mov dword [ebp - 0x130], pe_nt_image_headers32
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4162a8
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4162f6
push 0x460d54
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4162d0
mov ecx, dword [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x140]
call fcn.00416310
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4162a8
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret

Function at 0x416310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460b68
push 0x42c428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp - 0x24]
call fcn.004163d0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x416375
mov dword [ebp - 0x20], 0
jmp 0x41638c
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x41638c
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0041639a
jmp 0x41639b
cmp dword [ebp - 0x1c], 0
je 0x4163ab
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, dword [ebp - 0x24]
call fcn.004163d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4163d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4163fe
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 1
movzx ecx, byte [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x14]
push edx
push 0x460d60
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41644b
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret 4

Function at 0x418d40
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jne 0x418d54
jmp 0x418dea
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret 4