joyce8/EMBER2024-capa huggingface dataset:
Function at 0x639430
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x639442
jmp dword [eax*4 + 0x639638]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x63951f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x639620
cmp esi, 0xffffffff
jne 0x639536
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x639546
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x63956b
mov al, byte [ecx - 1]
test al, al
je 0x63956b
cmp al, 0xff
je 0x63956b
test esi, esi
jne 0x63958f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x6395b9
test esi, esi
jne 0x63957a
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x6395b9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x639586
cmp eax, esi
jae 0x639597
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6395e8
mov al, byte [eax - 1]
test al, al
je 0x6395d8
cmp al, 0xff
je 0x6395d8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x6395e3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x6395ed
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x639615
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x639610
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x6398b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x6398c2
jmp dword [eax*4 + 0x639ab8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x63999f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x639aa0
cmp esi, 0xffffffff
jne 0x6399b6
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x6399c6
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x6399eb
mov al, byte [ecx - 1]
test al, al
je 0x6399eb
cmp al, 0xff
je 0x6399eb
test esi, esi
jne 0x639a0f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x639a39
test esi, esi
jne 0x6399fa
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x639a39
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x639a06
cmp eax, esi
jae 0x639a17
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x639a68
mov al, byte [eax - 1]
test al, al
je 0x639a58
cmp al, 0xff
je 0x639a58
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x639a63
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x639a6d
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x639a95
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x639a90
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x639d30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x639d42
jmp dword [eax*4 + 0x639f38]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x639e1f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x639f20
cmp esi, 0xffffffff
jne 0x639e36
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x639e46
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x639e6b
mov al, byte [ecx - 1]
test al, al
je 0x639e6b
cmp al, 0xff
je 0x639e6b
test esi, esi
jne 0x639e8f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x639eb9
test esi, esi
jne 0x639e7a
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x639eb9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x639e86
cmp eax, esi
jae 0x639e97
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x639ee8
mov al, byte [eax - 1]
test al, al
je 0x639ed8
cmp al, 0xff
je 0x639ed8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x639ee3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x639eed
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x639f15
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x639f10
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x63a1b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x63a1c2
jmp dword [eax*4 + 0x63a3b8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x63a29f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x63a3a0
cmp esi, 0xffffffff
jne 0x63a2b6
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x63a2c6
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x63a2eb
mov al, byte [ecx - 1]
test al, al
je 0x63a2eb
cmp al, 0xff
je 0x63a2eb
test esi, esi
jne 0x63a30f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x63a339
test esi, esi
jne 0x63a2fa
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x63a339
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x63a306
cmp eax, esi
jae 0x63a317
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x63a368
mov al, byte [eax - 1]
test al, al
je 0x63a358
cmp al, 0xff
je 0x63a358
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x63a363
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x63a36d
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x63a395
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x63a390
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x63ad40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6a13b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 8], edi
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x14], ebp
je 0x63aece
push ebx
push esi
mov esi, dword [esp + 0x28]
add edi, 4
mov dword [esp + 0x28], edi
mov eax, dword [esi]
mov dword [edi - 4], eax
mov ecx, dword [esi + 4]
mov dword [edi], ecx
mov dl, byte [esi + 8]
lea eax, [esi + 0xc]
mov byte [edi + 4], dl
lea ecx, [edi + 8]
mov dl, byte [eax]
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov edx, dword [0x6a3564]
push edx
push ebp
push eax
call fcn.00402fc0
mov al, byte [esi + 0x1c]
lea ebx, [esi + 0x1c]
lea ebp, [edi + 0x18]
mov byte [esp + 0x1c], 1
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.004031c0
mov ecx, dword [0x6a3564]
push ecx
push 0
push ebx
mov ecx, ebp
call fcn.00402fc0
mov edx, dword [esi + 0x2c]
mov byte [esp + 0x1c], 2
mov dword [edi + 0x28], edx
mov al, byte [esi + 0x30]
mov byte [edi + 0x2c], al
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x38]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x40]
mov dword [edi + 0x3c], ecx
mov dl, byte [esi + 0x44]
mov byte [edi + 0x40], dl
mov al, byte [esi + 0x45]
mov byte [edi + 0x41], al
mov cl, byte [esi + 0x46]
mov byte [edi + 0x42], cl
mov dl, byte [esi + 0x47]
mov byte [edi + 0x43], dl
mov al, byte [esi + 0x48]
mov byte [edi + 0x44], al
mov cx, word [esi + 0x4a]
mov word [edi + 0x46], cx
mov dx, word [esi + 0x4c]
mov word [edi + 0x48], dx
mov ax, word [esi + 0x4e]
mov word [edi + 0x4a], ax
mov cx, word [esi + 0x50]
mov word [edi + 0x4c], cx
mov dx, word [esi + 0x52]
mov word [edi + 0x4e], dx
mov eax, dword [esi + 0x54]
mov dword [edi + 0x50], eax
mov ecx, dword [esi + 0x58]
mov dword [edi + 0x54], ecx
mov dx, word [esi + 0x5c]
mov word [edi + 0x58], dx
mov al, byte [esi + 0x5e]
mov byte [edi + 0x5a], al
mov ecx, dword [esi + 0x60]
mov dword [edi + 0x5c], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + 0x60], edx
mov al, byte [esi + 0x68]
mov byte [edi + 0x64], al
mov cl, byte [esi + 0x69]
mov byte [edi + 0x65], cl
mov dl, byte [esi + 0x6a]
mov byte [edi + 0x66], dl
mov al, byte [esi + 0x6b]
mov byte [edi + 0x67], al
mov cl, byte [esi + 0x6c]
mov byte [edi + 0x68], cl
mov dl, byte [esi + 0x6d]
mov byte [edi + 0x69], dl
mov al, byte [esi + 0x6e]
mov byte [edi + 0x6a], al
mov cl, byte [esi + 0x6f]
mov byte [edi + 0x6b], cl
mov dl, byte [esi + 0x70]
mov byte [edi + 0x6c], dl
mov al, byte [esi + 0x71]
mov byte [edi + 0x6d], al
mov cl, byte [esi + 0x72]
mov byte [edi + 0x6e], cl
pop esi
pop ebx
mov byte [esp + 0x14], 0
pop edi
mov dword [esp + 0x10], 0xffffffff
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x63b990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a158d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x63ba6c
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
lea edi, [eax + 4]
mov ecx, dword [esi]
lea ebp, [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edi], edx
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 8], ecx
mov dl, byte [ebp]
lea ecx, [edi + 0xc]
mov dword [esp + 0x28], edi
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
push eax
push ebx
push ebp
call fcn.00402fc0
mov dl, byte [esi + 0x20]
lea ebp, [esi + 0x20]
lea ecx, [edi + 0x1c]
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
push eax
push ebx
push ebp
call fcn.00402fc0
mov dl, byte [esi + 0x30]
add esi, 0x30
lea ecx, [edi + 0x2c]
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
push eax
push ebx
push esi
call fcn.00402fc0
pop edi
pop esi
mov byte [esp + 0x14], bl
pop ebp
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x63ebc0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
je 0x63ebdc
xor eax, eax
pop ebx
add esp, 8
ret 4
push ebp
push esi
push edi
push 0
push 0
push 0
push 0x6d8e9c
call dword [sym.imp.gdi32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx]
mov ebx, dword [ebx + 0xc]
push 8
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp edx, ecx
jge 0x63ec32
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x1c], ecx
jge 0x63ec3c
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
cmp ebp, ecx
jle 0x63ec46
mov ebp, ecx
cmp ebx, eax
jle 0x63ec4c
mov ebx, eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sub ebx, edx
sub ebp, eax
push ebx
push ebp
push esi
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.gdi32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
push eax
push esi
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.gdi32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.gdi32.dll_DeleteDC]
mov ebx, eax
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x63eda0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
xor al, al
mov byte [esp + 5], 0x10
mov byte [esp + 4], al
mov byte [esp + 3], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 6], 0x18
and eax, 0xffff
mov byte [esp + 7], 0x20
mov ecx, eax
mov byte [esp + 8], 0x28
and ecx, 0x1f
mov byte [esp + 9], 0x30
mov byte [esp + 0xa], 0x38
mov byte [esp + 0xb], 0x40
mov byte [esp + 0xc], 0x48
mov byte [esp + 0xd], 0x50
mov byte [esp + 0xe], 0x58
mov byte [esp + 0xf], 0x60
mov byte [esp + 0x10], 0x68
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], 0x78
mov byte [esp + 0x13], 0x80
mov byte [esp + 0x14], 0x88
mov byte [esp + 0x15], 0x90
mov byte [esp + 0x16], 0x98
mov byte [esp + 0x17], 0xa0
mov byte [esp + 0x18], 0xa8
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0xb8
mov byte [esp + 0x1b], 0xc0
mov byte [esp + 0x1c], 0xc8
mov byte [esp + 0x1d], 0xd0
mov byte [esp + 0x1e], 0xd8
mov byte [esp + 0x1f], 0xe0
mov byte [esp + 0x20], 0xe8
mov byte [esp + 0x21], 0xf0
mov byte [esp + 0x22], 0xf8
mov byte [esp + 0x23], 0xff
mov dl, byte [esp + ecx + 4]
mov ecx, eax
shr ecx, 5
shr eax, 0xa
and ecx, 0x1f
and eax, 0x1f
mov byte [esp], dl
mov al, byte [esp + eax + 4]
mov dl, byte [esp + ecx + 4]
mov byte [esp + 2], al
mov eax, dword [esp + 0x28]
mov byte [esp + 1], dl
mov ecx, dword [esp]
mov dword [eax], ecx
add esp, 0x24
ret 8
Function at 0x643910
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push ebx
mov dword [esp + 0x24], 0
call ebp
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esi + 4]
push 4
push eax
push ebx
call ebp
lea ecx, [esp + 0x18]
push 0
lea edi, [esi + 8]
push ecx
push 0x10
push edi
push ebx
call ebp
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jle 0x64396a
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x643978
mov dword [edi], ecx
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
shl edx, 2
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x10]
shl eax, 2
shl ecx, 2
shl edx, 2
mov dword [edi], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x646c70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6a1e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 4]
push eax
call fcn.00647490
add esp, 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x646ca9
mov eax, 0x6a3560
push ebx
lea ecx, [esp + 4]
push esi
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyA]
push ecx
push eax
push reloc.oleaut32.dll_SysReAllocString
call esi
test eax, eax
push 1
lea ecx, [esp + 0x10]
setne bl
mov dword [esp + 0x28], 0xffffffff
call fcn.004031c0
test bl, bl
je 0x646dd0
lea edx, [esp + 0xc]
push edx
call fcn.00647490
add esp, 4
mov eax, dword [eax + 4]
mov dword [esp + 0x24], 1
test eax, eax
jne 0x646cff
mov eax, 0x6a3560
lea ecx, [esp + 8]
push ecx
push eax
push reloc.oleaut32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
setne bl
test eax, eax
je 0x646d42
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x646d39
cmp al, 0xff
je 0x646d39
dec al
mov byte [ecx], al
jmp 0x646d42
push ecx
call fcn.006713a0
add esp, 4
test bl, bl
je 0x646d59
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea edx, [esp + 0xc]
push edx
call fcn.00647490
add esp, 4
mov eax, dword [eax + 4]
mov dword [esp + 0x24], 2
test eax, eax
jne 0x646d7a
mov eax, 0x6a3560
lea ecx, [esp + 8]
push ecx
push eax
push reloc.oleaut32.dll_SysReAllocString
call esi
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
setne bl
test eax, eax
je 0x646db9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x646db0
cmp al, 0xff
je 0x646db0
dec al
mov byte [ecx], al
jmp 0x646db9
push ecx
call fcn.006713a0
add esp, 4
test bl, bl
je 0x646dd0
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0xc]
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
je 0x646e10
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
pop esi
test eax, eax
sete al
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret