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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.004010a0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4010dd
mov al, 1
jmp 0x40111c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
setne al
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x401119
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push edx
push 0x4867b0
push 1
call fcn.00403d70
push eax
call fcn.00409760
add esp, 0x10
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x401140
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401193
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4867c0
push 1
call fcn.00403d70
push eax
call fcn.00409760
add esp, 0x18
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4011a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403810
add esp, 4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
push edx
call fcn.00464755
add esp, 4
mov byte [ebp - 2], al
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
push ecx
call fcn.00464755
add esp, 4
mov byte [ebp - 1], al
movsx edx, byte [ebp - 2]
movsx eax, byte [ebp - 1]
cmp edx, eax
je 0x401218
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401140
add esp, 0xc
mov byte [ebp - 3], al
movzx ecx, byte [ebp - 3]
test ecx, ecx
je 0x401211
mov edx, dword [ebp + 8]
push edx
call fcn.004010c0
add esp, 4
mov byte [ebp - 3], al
mov al, byte [ebp - 3]
jmp 0x401283
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x401235
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
mov dword [ebp - 8], eax
jmp 0x401246
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401276
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4867dc
push 1
call fcn.00403d70
push eax
call fcn.00409760
add esp, 0x18
xor eax, eax
cmp dword [ebp - 8], 0
setne al
jmp 0x401283
mov esp, ebp
pop ebp
ret

Function at 0x401590
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.004010a0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4015ba
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
neg eax
sbb eax, eax
neg eax
jmp 0x4015bc
xor al, al
pop ebp
ret
Function at 0x4096d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48142d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4a2e84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0040a030
mov eax, dword [0x4a15b0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00409a10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00403e60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00403e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40bd90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4816e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40bdd0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40bddc
mov al, 1
jmp 0x40bf7f
mov dword [ebp - 0x10], 8
call fcn.00409be0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00409be0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00409bc0
add esp, 8
movzx eax, al
test eax, eax
je 0x40be1f
xor al, al
jmp 0x40bf7f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040b250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00403b80
mov ecx, eax
call fcn.0040c260
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403c60
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403b80
mov ecx, eax
call fcn.0040c260
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040c810
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40be9a
cmp dword [ebp - 0x6c], 1
je 0x40bea1
cmp dword [ebp - 0x6c], 3
je 0x40bf3b
jmp 0x40bf53
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403b80
mov ecx, eax
call fcn.0040c260
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40bf04
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403b80
mov ecx, eax
call fcn.0040c260
push eax
call fcn.00467cb8
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40bf04
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403a90
mov al, byte [ebp - 0x61]
jmp 0x40bf7f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40bf27
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403a90
mov al, byte [ebp - 0x62]
jmp 0x40bf7f
cmp dword [ebp - 0x38], 0
jne 0x40bf39
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00404200
jmp 0x40bf6b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403a90
mov al, byte [ebp - 0x63]
jmp 0x40bf7f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403a90
mov al, byte [ebp - 0x64]
jmp 0x40bf7f
jmp 0x40be32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret
Function at 0x40e2c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e2e3
xor eax, eax
jmp 0x40e376
mov edx, dword [ebp - 0x14]
push edx
call fcn.00468723
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e2fc
xor eax, eax
jmp 0x40e376
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
jne 0x40e325
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00468646
add esp, 4
xor eax, eax
jmp 0x40e376
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x4871fc
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x40e368
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00468646
add esp, 4
mov eax, 1
jmp 0x40e376
mov eax, dword [ebp - 0xc]
push eax
call fcn.00468646
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40fa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b91
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
mov ecx, dword [0x4a1404]
push ecx
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
movzx edx, byte [0x4a4be8]
test edx, edx
je 0x40fad5
cmp dword [ebp - 0x10], 0
je 0x40fad0
push 0x10
push 0x48774c
push 0x487758
mov ecx, dword [ebp - 0x134]
call fcn.0044c777
xor al, al
jmp 0x40fb9f
jmp 0x40fb93
mov dword [ebp - 0x20], 0x104
push 0x104
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00466b00
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x4877b4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
mov dword [ebp - 0x18], eax
movzx edx, byte [0x4a4be8]
test edx, edx
je 0x40fb41
cmp dword [ebp - 0x18], 0
je 0x40fb41
push 0x10
push 0x4877c0
push 0x4877d0
mov ecx, dword [ebp - 0x134]
call fcn.0044c777
xor al, al
jmp 0x40fb9f
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
call fcn.00410320
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x134]
add ecx, 0x78
call fcn.004103c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004103a0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret
Function at 0x4141a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0
push 0x488e24
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4141e8
push 0x10
push 0x488e28
mov ecx, dword [0x4a15c4]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0044c777
xor al, al
jmp 0x4142d6
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x414219
push 0x10
push 0x488e34
mov eax, dword [0x4a15c4]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0044c777
xor al, al
jmp 0x4142d6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414249
push 0x10
push 0x488e40
mov edx, dword [0x4a15c4]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.0044c777
xor al, al
jmp 0x4142d6
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0x18], 0
jmp 0x414274
mov ecx, dword [ebp - 0x18]
add ecx, 0x400
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 8]
jae 0x4142cb
mov eax, dword [ebp - 0x18]
add eax, 0x400
cmp eax, dword [ebp - 8]
jbe 0x4142af
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00467cb8
add esp, 0x10
mov al, 1
jmp 0x4142d6
mov edx, dword [ebp + 8]
push edx
push 1
push 0x400
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
push eax
call fcn.00467cb8
add esp, 0x10
jmp 0x414268
mov ecx, dword [ebp - 4]
push ecx
call fcn.00410150
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x414470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4821d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a2e84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x128
call fcn.00446d74
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x128
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4145a3
lea ecx, [ebp - 0x1c]
call fcn.004102e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
push ecx
push 0x488e4c
lea edx, [ebp - 0x1c]
push edx
call fcn.00411080
add esp, 0xc
mov eax, dword [0x4a15c0]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00415200
add esp, 8
movzx edx, al
test edx, edx
je 0x414537
mov byte [ebp - 0x21], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004103a0
mov al, byte [ebp - 0x21]
jmp 0x4145a5
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x414594
mov edx, dword [ebp - 0x14]
add edx, 0x24
push edx
push 0x488e50
lea eax, [ebp - 0x1c]
push eax
call fcn.00411080
add esp, 0xc
mov ecx, dword [0x4a15c0]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00415200
add esp, 8
movzx eax, al
test eax, eax
je 0x414592
mov byte [ebp - 0x22], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004103a0
mov al, byte [ebp - 0x22]
jmp 0x4145a5
jmp 0x414537
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004103a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4149a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48225b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x90]
call fcn.00414840
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push 0
push 0x488e58
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
push 0x4a4c70
call fcn.00464e80
add esp, 4
add eax, 1
push eax
push 0x4a4c70
push 1
push 0
push 0x488e70
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 0x98]
call fcn.0040e1f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004057a0
push eax
lea ecx, [ebp - 0x84]
call fcn.0041c190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0041c210
movzx edx, al
test edx, edx
jne 0x414a8b
push 0
push 0x10
push 0x488e78
call fcn.00449285
push 1
call fcn.00468ef5
push 0x488e90
lea ecx, [ebp - 0x84]
call fcn.0041b470
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x414abf
push 0
push 0x10
push 0x488e98
call fcn.00449285
push 1
call fcn.00468ef5
push 0x488eac
mov ecx, dword [ebp - 0x88]
call fcn.0041b8d0
mov dword [ebp - 0x18], eax
push 0x488ec0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041aca0
add esp, 8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x414b55
cmp dword [ebp - 0x8c], 0
je 0x414b53
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 0x98]
call fcn.0040e120
push eax
mov edx, dword [ebp - 0x8c]
push edx
call fcn.00464b70
add esp, 8
test eax, eax
je 0x414b53
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x98]
call fcn.0040e120
push eax
push 0x488ec8
mov ecx, dword [ebp - 0x18]
call fcn.0041bc30
lea ecx, [ebp - 0x20]
call fcn.004057a0
push eax
lea ecx, [ebp - 0x84]
call fcn.0041c430
jmp 0x414b75
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00408c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004103a0
jmp 0x414bd8
push 0x64
mov ecx, dword [ebp - 0x90]
add ecx, 0xc0
call fcn.004151b0
push 1
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 0x98]
add ecx, 0xdc
call fcn.004508b2
push 0x14
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 0x98]
call fcn.0040f920
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00408c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004103a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret
Function at 0x415970
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4159c9
mov edx, dword [ebp - 8]
add edx, 0x18
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x415d80
push 0
push 0
call fcn.00469683
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x1d], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
je 0x4159c3
mov al, 1
jmp 0x4159fb
xor al, al
jmp 0x4159fb
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x1d]
test eax, eax
je 0x4159f9
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4159ee
xor al, al
jmp 0x4159fb
mov eax, dword [ebp - 8]
mov byte [eax + 0x1d], 0
mov al, 1
jmp 0x4159fb
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x415a00
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x415a18
xor al, al
jmp 0x415a4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x1d]
test eax, eax
je 0x415a27
mov al, 1
jmp 0x415a4a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x415a41
xor al, al
jmp 0x415a4a
mov eax, dword [ebp - 8]
mov byte [eax + 0x1d], 1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x415a50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x415a9b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x1c], 1
mov esp, ebp
pop ebp
ret
Function at 0x423730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x423740
xor eax, eax
jmp 0x4238dd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42389e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48be40]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48be40]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48be40]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48be40]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48be40]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48be40]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48be40]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48be40]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x423749
cmp dword [ebp + 0x10], 0
je 0x4238d7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48be40]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4238a4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4238e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48be40]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48be40]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x4248d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x42491f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x424915
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x424979
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x42493f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004688f0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret