joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
lea ebx, [ecx + 1]
mov dword [eax], 0
mov al, byte [ebx]
push esi
push edi
test al, al
je 0x418fa9
cmp al, 0x23
jne 0x418fa9
mov al, byte [ecx + 2]
lea edx, [ecx + 2]
test al, al
je 0x418fa9
xor ebx, ebx
lea edi, [ebx + 1]
cmp al, 0x78
jne 0x418f0c
cmp byte [ecx + 3], bl
lea eax, [ecx + 3]
jne 0x418e94
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3b
push eax
call fcn.00420780
add esp, 8
test eax, eax
je 0x418e8b
cmp byte [eax], bl
je 0x418e8b
mov ecx, eax
sub ecx, dword [ebp + 8]
dec eax
mov dword [ebp - 4], ecx
mov cl, byte [eax]
cmp cl, 0x78
je 0x418f62
jmp 0x418ec0
cmp cl, 0x30
jl 0x418ed2
cmp cl, 0x39
jg 0x418ed2
movsx ecx, cl
sub ecx, 0x30
jmp 0x418ef9
cmp cl, 0x61
jl 0x418ee9
cmp cl, 0x66
jg 0x418ee9
movsx edx, cl
sub edx, 0x57
imul edx, edi
add ebx, edx
jmp 0x418efe
cmp cl, 0x41
jl 0x418e8b
cmp cl, 0x46
jg 0x418e8b
movsx ecx, cl
sub ecx, 0x37
imul ecx, edi
add ebx, ecx
mov cl, byte [eax - 1]
dec eax
shl edi, 4
cmp cl, 0x78
jne 0x418ec0
jmp 0x418f62
push 0x3b
push edx
call fcn.00420780
add esp, 8
test eax, eax
je 0x418e8b
cmp byte [eax], bl
je 0x418e8b
mov ecx, eax
sub ecx, dword [ebp + 8]
dec eax
mov dword [ebp - 4], ecx
mov cl, byte [eax]
cmp cl, 0x23
je 0x418f62
cmp cl, 0x30
jl 0x418e8b
cmp cl, 0x39
jg 0x418e8b
movsx edx, cl
mov cl, byte [eax - 1]
sub edx, 0x30
imul edx, edi
dec eax
lea edi, [edi + edi*4]
add ebx, edx
add edi, edi
cmp cl, 0x23
jne 0x418f37
cmp dword [ebp + 0x14], 1
jne 0x418f8a
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.004189d0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add esp, 4
pop edi
pop esi
lea eax, [eax + ecx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
pop edi
mov byte [ecx], bl
mov ecx, dword [ebp + 8]
pop esi
mov dword [edx], 1
lea eax, [eax + ecx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov edi, 0x43f2c4
jmp 0x418fb5
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push ecx
push eax
call fcn.004206b0
add esp, 0xc
test eax, eax
je 0x418fe8
add edi, 0xc
inc esi
cmp edi, 0x43f300
jl 0x418fb2
mov edx, dword [ebp + 8]
mov al, byte [edx]
mov ecx, dword [ebp + 0xc]
pop edi
mov byte [ecx], al
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
add eax, eax
mov cl, byte [eax + eax + 0x43f2cc]
add eax, eax
pop edi
mov byte [edx], cl
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x43f2c8]
add eax, dword [ebp + 8]
pop esi
mov dword [ecx], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41aa30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41aa35
sub eax, edx
sar eax, 1
mov edx, eax
add edx, edx
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x41aa6c
push ebx
push edi
movzx edi, byte [ecx + esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x43f300]
inc ecx
cmp ecx, edx
jl 0x41aa52
pop edi
pop ebx
not eax
ret

Function at 0x41b3e0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ecx
push esi
call fcn.0041d370
test eax, eax
jne 0x41b3ef
xor eax, eax
pop ecx
ret
cmp dword [0x44153c], 0
jne 0x41b3eb
push esi
call fcn.0041d550
test eax, eax
je 0x41b3eb
mov eax, dword [esi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x41b431
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b431
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b431
push 4
push eax
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x44153c], 0
jne 0x41b3eb
mov eax, esi
call fcn.0041d830
cmp dword [0x44153c], 0
jne 0x41b3eb
push 3
push 0
push 0x3ed
xor ecx, ecx
mov edx, 0x4414e0
call fcn.00409780
add esp, 0xc
cmp dword [0x44153c], 0
jne 0x41b3eb
mov eax, 1
mov dword [esi + 0x44], eax
pop ecx
ret
Function at 0x41b750
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431ef8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.0040c480
push esi
mov dword [ebp - 4], 0
call fcn.0041b480
test eax, eax
je 0x41b867
cmp dword [0x44153c], 0
jne 0x41b867
mov ecx, dword [esi + 0x30]
call fcn.0040c630
test eax, eax
je 0x41b850
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x41b808
mov eax, dword [esi + 0x30]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b7d1
push 0x80004005
call fcn.00401540
push eax
push edx
call fcn.0041fd2b
add esp, 8
test eax, eax
je 0x41b808
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b808
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b808
push 4
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x3f1
call fcn.0040b120
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b83b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3f2
call fcn.0040b120
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b88d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41bfe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x41c126
mov ecx, dword [esi + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x41c126
lea edx, [ebp - 0x10]
push edx
call fcn.0040cba0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x41c0ee
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41c0ee
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d860
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c07d
push 0x80004005
call fcn.00401540
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0041fd2b
xor edx, edx
add esp, 8
test eax, eax
setne dl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c111
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d370
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432610
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0041daa0
mov dword [ebp - 4], 0
cmp dword [0x44153c], 0
je 0x41d3cf
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x41d523
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x41d3ee
or esi, 0xffffffff
lea eax, [ecx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x41d523
mov esi, dword [ebx]
mov edi, ecx
test esi, esi
je 0x41d4f0
cmp word [esi], 0
je 0x41d4f0
cmp word [ecx], 0
je 0x41d4f0
push esi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x41d458
mov dword [ebp - 0x14], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
push ecx
push 0
push edi
push esi
push 0
call dword [0x43f2c0]
test eax, eax
jne 0x41d4ed
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d4ed
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041d860
add esp, 4
push eax
lea eax, [ebx + 4]
call fcn.0041e4f0
mov bl, al
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
add esp, 4
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d4fb
mov edi, dword [ebp + 8]
add edi, 0x14
lea eax, [ebp - 0x10]
call fcn.004048a0
push 0x3eb
call fcn.0040b120
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41d4d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea eax, [ecx - 0x10]
jmp 0x41d51b
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3ec
call fcn.0040b120
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x41d531
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d830
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x14]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x41d85d
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
ret
xor eax, eax
ret
Function at 0x41d860
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4314eb
mov eax, dword fs:[0]
push eax
mov eax, 0x2178
call fcn.0042aab0
mov eax, dword [0x43e0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
mov edi, ecx
push eax
mov dword [ebp - 0x2184], edi
mov dword [ebp - 0x2180], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d8d5
push edi
mov ecx, 0x4388a0
call fcn.00404800
mov eax, edi
jmp 0x41da77
xor eax, eax
push 0x5c
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x217c]
push ebx
push eax
mov byte [ebp - 0x20], bl
call fcn.00420a30
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x217c], 0x67452301
mov dword [ebp - 0x2178], 0xefcdab89
mov dword [ebp - 0x2174], 0x98badcfe
mov dword [ebp - 0x2170], 0x10325476
mov dword [ebp - 0x216c], ebx
mov dword [ebp - 0x2168], ebx
mov dword [ebp - 0x2124], ebx
mov dword [ebp - 0x2180], ebx
call edi
mov eax, dword [ebp - 0x2180]
cmp eax, ebx
je 0x41d9a0
push eax
lea eax, [ebp - 0x217c]
push eax
lea eax, [ebp - 0x2120]
call fcn.00416080
add esp, 8
push ebx
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x2180], ebx
call edi
mov eax, dword [ebp - 0x2180]
cmp eax, ebx
jne 0x41d963
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x217c]
call fcn.00416320
push 0xfe
lea edx, [ebp - 0x11e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x120], cx
call fcn.00420a30
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea edi, [ebp - 0x120]
xor esi, esi
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._.2x
push 3
push edi
call ebx
inc esi
add esp, 0x10
add edi, 4
cmp esi, 0x10
jb 0x41d9e2
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
mov esi, dword [ebp - 0x2184]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x41da48
mov edx, ecx
movzx edi, dx
call fcn.00405820
test eax, eax
je 0x41da75
push eax
mov eax, edi
mov edi, esi
call fcn.00405460
jmp 0x41da75
lea eax, [ebp - 0x120]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41da51
sub eax, edx
lea ecx, [ebp - 0x120]
sar eax, 1
push ecx
push esi
mov ebx, eax
call fcn.00405280
mov esi, dword [ebp - 0x2184]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e965
mov esp, ebp
pop ebp
ret
Function at 0x41e330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4314b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404800
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x41e394
test eax, eax
jns 0x41e38a
push 0x80070057
call fcn.00401540
cmp word [ecx], 0x5c
jne 0x41e394
xor bl, bl
jmp 0x41e396
mov bl, 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e3ca
push 1
push 0x438680
lea ebx, [ebp - 0x10]
call fcn.00405500
push 7
push str.tst.tmp
lea ebx, [ebp - 0x10]
call fcn.00405500
mov ecx, dword [ebp - 0x10]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
je 0x41e43f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41e429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41e45e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e965
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e0b0]
jne 0x41e96f
repz ret
jmp fcn.00420b18
Function at 0x42a2dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042256e
and dword [ebp - 0x14], 0
cmp dword [0x44145c], 0
mov dword [ebp - 0x18], eax
jne 0x42a38f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42a437
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42a437
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44145c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x441460], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x441464], eax
call edi
push eax
call esi
mov dword [0x44146c], eax
test eax, eax
je 0x42a38f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x441468], eax
mov eax, dword [0x441468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42a3e8
cmp dword [0x44146c], ecx
je 0x42a3e8
push eax
call esi
push dword [0x44146c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42a3e8
test ebx, ebx
je 0x42a3e8
call edi
test eax, eax
je 0x42a3df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42a3df
test byte [ebp - 8], 1
jne 0x42a3e8
or dword [ebp + 0x10], 0x200000
jmp 0x42a41b
mov eax, dword [0x441460]
cmp eax, dword [ebp - 0x18]
je 0x42a41b
push eax
call esi
test eax, eax
je 0x42a41b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a41b
mov eax, dword [0x441464]
cmp eax, dword [ebp - 0x18]
je 0x42a41b
push eax
call esi
test eax, eax
je 0x42a41b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44145c]
call esi
test eax, eax
je 0x42a437
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42a439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e965
leave
ret
Function at 0x10001790
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
jne 0x10001824
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push str.SteamUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10001824
call section..text
push str.C:WindowsSystem32hid.dll
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea eax, [ebp - 0x108]
jne 0x10001819
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10001824
push str.System32hid.dll
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10006e30
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100133e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001340d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001340d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1a85d6e
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x44]
ja 0x1022333
cmc
sub ebx, edi
pushfd
sub esp, 0xfffffffc
add ebx, esp
or al, ah
mov edi, ebx
stc
mov al, 0x2e
cmc
push 0xf139568
push dword [esp]
bt dx, sp
repne scasb al, byte es:[edi]
lea esp, [esp + 8]
jo 0x1bdcd31
pushfd
mov word [esp], 0x4678
lea esp, [esp + 4]
jne 0x1baccc3
call fcn.01ba9e75
ror dword [ecx - 0x71a3595a], 1
invalid
jmp 0x102dcd2
pushal
lea esp, [esp + 0x20]
jne 0x1baccc3
call fcn.01be1a32
push esi
fisttp word [eax]
ror byte [ecx + esi - 0x3b], 0x34
push 0x9a541509
invalid

Function at 0x1aafef4
Capabilities:
Encode data using xor

Disassembly:
movzx si, bl
jmp 0x1ab135e
jmp 0x1bdd2ab
sbb al, 0x8b
arpl word [0xcfb2076], bx
ret
mov esp, dword [ebx + 0x1d]
jbe 0x1bdd2bd
sti
or al, 0xc3
cmp al, 0x7e
das
not eax
invalid
mov esi, dword [esp + 0x34]
push 0x587c44cf
call fcn.01ab157e
xor al, 0x26
or ecx, eax
push ebx
xor ebp, eax
insb byte es:[edi], dx
jne 0x1bdd297
fidiv dword [edi - 0x33]
pop ecx
xchg ebx, eax
mov ebx, 0x38fdb181
aam 0x8e
salc
xor byte [esi - 0x4d], 0xb
push 0xffffffffffffffbc
xchg ebp, eax
jg 0x1bdd298
daa
pop edx
dec ebp
fidiv dword [edi]
out 0xf8, al
jne 0x1bdd2e4
fidiv dword [eax + 0x6e]
jo 0x1bdd354
iretd
mov word [edi], es
mov dword [edx], eax
lodsd eax, dword [esi]
dec ebp
dec ebx
xor byte [eax], dh
pop edi
pop eax
stosb byte es:[edi], al
invalid
Function at 0x42fb40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42fb6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42fb6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x336a3f9e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x66182e09
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219