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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6687fb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x30]
call fcn.0043c360
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00410f30
movzx edx, al
test edx, edx
jne 0x4110c9
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00412390
mov al, byte [ebp - 0xd]
jmp 0x41116a
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x92
je 0x4110f3
cmp dword [ebp - 0x18], 0x9a
je 0x4110ea
jmp 0x4110fc
mov dword [ebp - 0x14], 0x67370
jmp 0x411107
mov dword [ebp - 0x14], 0x90770
jmp 0x411107
lea ecx, [ebp - 0x30]
call fcn.00412dc0
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.004129c0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00412390
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x411c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6688e0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x44
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.00643fe0
add esp, 0xc
mov dword [ebp - 0x88], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.00643fe0
add esp, 0xc
push 0x67b5f8
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040b7f0
push 0x67b5fc
lea ecx, [ebp - 0x28]
call fcn.0040b7f0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b7f0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00404df0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x411d3a
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004041d0
mov al, byte [ebp - 0x29]
jmp 0x411d64
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004041d0
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret 8
Function at 0x411ed0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668953
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
je 0x41200e
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x412001
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x248]
call fcn.00407b90
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0042dd70
push eax
lea ecx, [ebp - 0x248]
call fcn.00412410
test eax, eax
jne 0x411fd6
mov eax, dword [ebp - 0x234]
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x244], eax
push 0
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004059a0
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x411f68
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004059a0
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret 4
Function at 0x413b60
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668c95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00414230
mov dword [ebp - 0x14], 0
jmp 0x413ba2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1e
jae 0x413bb5
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413b99
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00414870
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00414970
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x413bf9
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3c
jae 0x413c40
lea ecx, [ebp - 0x20]
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x413c19
jmp 0x413c40
mov dword [ebp - 0x1c], 0
jmp 0x413c2b
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0xa
jae 0x413c3e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413c22
jmp 0x413bf0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x24
push edx
call fcn.00420490
add esp, 8
movzx eax, al
test eax, eax
je 0x413c9b
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00404360
mov ecx, eax
call fcn.00410990
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413c9b
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00404360
mov ecx, eax
call fcn.0051b744
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004059a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668d74
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00414870
mov dword [ebp - 4], 0
push 0x92
lea ecx, [ebp - 0x14]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00411060
push 0x67b6b4
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.0042dd70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.004040b0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0042dd70
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0040d280
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
call fcn.00404360
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0040e360
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0042da90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004059a0
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x414029
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x67b6cc
call fcn.004040b0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
push eax
call fcn.0040d280
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
call fcn.00404360
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.0040da60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0042da90
jmp 0x414080
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x67b6d0
call fcn.004040b0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x7c]
push eax
call fcn.0040d280
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4c]
call fcn.00404360
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.0040da60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0042da90
lea ecx, [ebp - 0x14]
call fcn.0042dd70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x414095
jmp 0x4140d3
push 0x67b623
lea ecx, [ebp - 0x14]
call fcn.0042dd70
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00411c60
mov byte [ebp - 0xf], al
mov dword [ebp - 0x1c], 0
jmp 0x4140c0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1e
jae 0x4140d3
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4140b7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x414100
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668d97
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00516066
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00414870
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x67b64c
push ecx
call fcn.0040cc30
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
call fcn.00411ed0
lea ecx, [ebp - 0x1c]
call fcn.0042dd70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4141d0
mov dword [ebp - 0x10], 0
jmp 0x414189
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x3c
jae 0x4141d0
lea ecx, [ebp - 0x1c]
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4141a9
jmp 0x4141d0
mov dword [ebp - 0x14], 0
jmp 0x4141bb
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
jae 0x4141ce
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4141b2
jmp 0x414180
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4147b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.0040b500
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41482b
cmp dword [ebp - 0x10], 0
je 0x41482b
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407e70
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407ad0
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004059a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x414870
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668efe
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4148c9
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c1f0
mov dword [ebp - 4], 0
push 0x67b674
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
call fcn.0042dd70
push eax
push 0x800
lea ecx, [ebp - 0x10]
call fcn.00408940
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004059a0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c7a0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040c1f0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004059a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x414970
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668f29
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4149c9
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c1f0
mov dword [ebp - 4], 0
push 0x67b690
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040ca00
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
call fcn.0042dd70
push eax
push 0x800
lea ecx, [ebp - 0x10]
call fcn.00408940
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004059a0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c7a0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040c1f0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004059a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x422e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669950
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x484
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x480]
call fcn.00424160
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x484], 0
jmp 0x422e98
mov ecx, dword [ebp - 0x484]
add ecx, 1
mov dword [ebp - 0x484], ecx
cmp dword [ebp - 0x484], 0x100
jge 0x422eb7
mov edx, dword [ebp - 0x484]
mov dword [ebp + edx*4 - 0x414], 0
jmp 0x422e89
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0xffffffff
je 0x422f86
push 0
lea ecx, [ebp - 0x488]
push ecx
push 0x400
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422f40
cmp dword [ebp - 0x488], 0
je 0x422f40
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x488]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x488]
push ecx
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x480]
call fcn.00423140
jmp 0x422ee6
lea ecx, [ebp - 0x480]
call fcn.00423280
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x480]
call fcn.00424180
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.00422c80
add esp, 4
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
jmp 0x422fa0
jmp 0x422f8e
mov dword [ebp - 4], 0xffffffff
jmp 0x422f9e
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 - 0x14]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret

Function at 0x4230c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x4258b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669b44
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x67ff24
lea ecx, [ebp + 8]
call fcn.00425bc0
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [0x67a0d0]
push ecx
push 0x67ff34
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x144]
call fcn.004040b0
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x16c]
call fcn.00425d60
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004041d0
mov ecx, dword [ebp - 0x170]
push ecx
push 0
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004040b0
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x178]
call fcn.0040f240
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.004041d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x17c], eax
push str._rk_log__d.txt
lea ecx, [ebp - 0x12c]
call fcn.0040bc90
lea ecx, [ebp - 0x164]
call fcn.0040b500
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00404df0
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.004087f0
add esp, 0xc
push 0
push 0
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x164]
call fcn.0042dd70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xffffffff
je 0x425a7f
mov dword [ebp - 0x180], 0
push 2
push 0
push 0
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp + 8]
call fcn.004089e0
push eax
lea ecx, [ebp + 8]
call fcn.00408960
push eax
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.004059a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.004041d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret
Function at 0x42ec20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x42ec29
cmp dword [ebp + 0xc], 0
je 0x42ec3c
mov dword [ebp - 4], 1
jmp 0x42ec43
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x42ec56
mov eax, 0xd
jmp 0x42ec85
xor edx, edx
jne 0x42ec2d
mov eax, dword [ebp + 0xc]
push eax
call fcn.0064b0ab
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x435630
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6fe3a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00435a10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00435c40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0042d1f0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x4356f3
push 0x14
call fcn.0050bb24
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0
je 0x4356d0
push 0
push 0x10000
mov ecx, dword [ebp - 0x14]
call fcn.00435be0
mov dword [ebp - 0x18], eax
jmp 0x4356d7
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc