joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457b4d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], 0xffffffff
push 0x12
push 0
push 0
push dword [ebp + 8]
call fcn.004516b2
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], 0x1c
cmp dword [ebp + 0x10], 0
je 0x457b80
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax + 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call fcn.004516d8
test eax, eax
je 0x457c5b
push dword [ebp + 0xc]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 8]
call fcn.00457a35
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x457c67
cmp dword [ebp + 0x10], 0
je 0x457c74
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle_1
push 0xc6
push 0x465e86
push 0x108
push 0x465e6a
push 0x46ac54
call fcn.00451a80
add esp, 0x14
push 0x46ac54
call sub.kernel32.dll_OutputDebugStringA
push 0x108
call fcn.004519ff
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ecx], eax
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call fcn.004519de
add esp, 8
cmp dword [ebp - 0xc], 0
jne 0x457c3f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], ecx
jmp 0x457c53
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0x10]
inc dword [eax + 8]
jmp 0x457c67
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x103
je 0x457c74
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x7f
jb 0x457b85
cmp dword [ebp + 0x10], 0
je 0x457c85
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], ecx
push dword [ebp - 8]
call fcn.00451701
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x457cc6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00457b4d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x457d0a
call sub.kernel32.dll_GetLastError_1
push eax
push dword [ebp + 0xc]
push 0x465edb
push 0x46ac54
call fcn.00451a80
add esp, 0x10
push 0x46ac54
call sub.kernel32.dll_OutputDebugStringA
jmp 0x457d29
push dword [ebp + 0xc]
push 0x465ef4
push 0x46ac54
call fcn.00451a80
add esp, 0xc
push 0x46ac54
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret
Function at 0x4580a8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
cmp dword [ebp + 8], 0
jne 0x4580b8
xor eax, eax
jmp 0x458136
push 0x10e
push 0x4660bf
push 0xc
push 0x4660a3
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push 0xc
call fcn.004519ff
pop ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 8], ecx
push dword [ebp - 4]
push 0
push dword [ebp + 0xc]
call fcn.00457dc6
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4581c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov word [ebp - 0xe], 0
movsx edx, word [ebp - 0xe]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + edx*4]
xor dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0045813c
add esp, 8
xor dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
inc word [ebp - 0xe]
cmp word [ebp - 0xe], 0x10
jl 0x4581e1
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
xor dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
xor dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
Function at 0x458254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov word [ebp - 0xe], 0x11
movsx edx, word [ebp - 0xe]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + edx*4]
xor dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0045813c
add esp, 8
xor dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
dec word [ebp - 0xe]
cmp word [ebp - 0xe], 1
jg 0x458270
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
xor dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
xor dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4582e2
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov eax, dword [ebp + 8]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl eax, 0xa
add eax, 0x464278
mov ebx, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov dword [edx + ecx*4 + 0x48], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jl 0x4582f3
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x4582ee
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
shl ecx, 8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
movzx eax, byte [eax + edx]
or ecx, eax
mov dword [ebp - 0x10], ecx
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jl 0x458365
xor ecx, ecx
mov dword [ebp - 8], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x458340
mov eax, dword [ebp - 4]
mov edx, dword [eax*4 + 0x464230]
xor edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx + eax*4], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x12
jl 0x458336
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
call fcn.004581c5
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 4], ecx
add dword [ebp - 4], 2
cmp dword [ebp - 4], 0x12
jl 0x45839c
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.004581c5
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4 + 0x48], ecx
mov eax, dword [ebp - 4]
shl eax, 0xa
mov edx, dword [ebp + 8]
lea ecx, [edx + eax]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*4 + 0x4c], edx
add dword [ebp - 8], 2
cmp dword [ebp - 8], 0x100
jl 0x4583dc
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x4583d7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4584aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ebp - 1], dl
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
mov byte [ebp - 2], al
mov word [ebp - 6], 0
movsx edx, word [ebp - 6]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + edx]
xor byte [ebp - 1], al
mov dl, byte [ebp - 1]
push edx
push dword [ebp + 8]
call fcn.00458436
add esp, 8
xor byte [ebp - 2], al
mov cl, byte [ebp - 1]
mov byte [ebp - 3], cl
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
inc word [ebp - 6]
cmp word [ebp - 6], 4
jl 0x4584c6
mov cl, byte [ebp - 1]
mov byte [ebp - 3], cl
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
xor byte [ebp - 2], al
mov edx, dword [ebp + 8]
mov cl, byte [edx + 5]
xor byte [ebp - 1], cl
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp - 1]
mov byte [eax], dl
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp - 2]
mov byte [ecx], al
pop ecx
pop ecx
pop ebp
ret

Function at 0x45853a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ebp - 1], dl
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
mov byte [ebp - 2], al
mov word [ebp - 6], 5
movsx edx, word [ebp - 6]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + edx]
xor byte [ebp - 1], al
mov dl, byte [ebp - 1]
push edx
push dword [ebp + 8]
call fcn.00458436
add esp, 8
xor byte [ebp - 2], al
mov cl, byte [ebp - 1]
mov byte [ebp - 3], cl
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
dec word [ebp - 6]
cmp word [ebp - 6], 1
jg 0x458556
mov cl, byte [ebp - 1]
mov byte [ebp - 3], cl
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 1]
xor byte [ebp - 2], al
mov edx, dword [ebp + 8]
mov cl, byte [edx]
xor byte [ebp - 1], cl
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp - 1]
mov byte [eax], dl
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp - 2]
mov byte [ecx], al
pop ecx
pop ecx
pop ebp
ret
Function at 0x45876f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
mov dx, word [eax]
mov word [ebp - 2], dx
mov ecx, dword [ebp + 0x10]
mov ax, word [ecx]
mov word [ebp - 4], ax
mov word [ebp - 8], 0
movsx edx, word [ebp - 8]
mov ecx, dword [ebp + 8]
mov ax, word [ecx + edx*2]
xor word [ebp - 2], ax
mov dx, word [ebp - 2]
push edx
push dword [ebp + 8]
call fcn.004586e6
add esp, 8
xor word [ebp - 4], ax
mov cx, word [ebp - 2]
mov word [ebp - 6], cx
mov ax, word [ebp - 4]
mov word [ebp - 2], ax
mov dx, word [ebp - 6]
mov word [ebp - 4], dx
inc word [ebp - 8]
cmp word [ebp - 8], 8
jl 0x45878f
mov cx, word [ebp - 2]
mov word [ebp - 6], cx
mov ax, word [ebp - 4]
mov word [ebp - 2], ax
mov dx, word [ebp - 6]
mov word [ebp - 4], dx
mov ecx, dword [ebp + 8]
mov ax, word [ecx + 0x10]
xor word [ebp - 4], ax
mov edx, dword [ebp + 8]
mov cx, word [edx + 0x12]
xor word [ebp - 2], cx
mov eax, dword [ebp + 0xc]
mov dx, word [ebp - 2]
mov word [eax], dx
mov ecx, dword [ebp + 0x10]
mov ax, word [ebp - 4]
mov word [ecx], ax
pop ecx
pop ecx
pop ebp
ret

Function at 0x45881b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
mov dx, word [eax]
mov word [ebp - 2], dx
mov ecx, dword [ebp + 0x10]
mov ax, word [ecx]
mov word [ebp - 4], ax
mov word [ebp - 8], 9
movsx edx, word [ebp - 8]
mov ecx, dword [ebp + 8]
mov ax, word [ecx + edx*2]
xor word [ebp - 2], ax
mov dx, word [ebp - 2]
push edx
push dword [ebp + 8]
call fcn.004586e6
add esp, 8
xor word [ebp - 4], ax
mov cx, word [ebp - 2]
mov word [ebp - 6], cx
mov ax, word [ebp - 4]
mov word [ebp - 2], ax
mov dx, word [ebp - 6]
mov word [ebp - 4], dx
dec word [ebp - 8]
cmp word [ebp - 8], 1
jg 0x45883b
mov cx, word [ebp - 2]
mov word [ebp - 6], cx
mov ax, word [ebp - 4]
mov word [ebp - 2], ax
mov dx, word [ebp - 6]
mov word [ebp - 4], dx
mov ecx, dword [ebp + 8]
mov ax, word [ecx + 2]
xor word [ebp - 4], ax
mov edx, dword [ebp + 8]
mov cx, word [edx]
xor word [ebp - 2], cx
mov eax, dword [ebp + 0xc]
mov dx, word [ebp - 2]
mov word [eax], dx
mov ecx, dword [ebp + 0x10]
mov ax, word [ebp - 4]
mov word [ecx], ax
pop ecx
pop ecx
pop ebp
ret

Function at 0x458a99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov word [ebp - 6], 0
mov ax, word [0x465322]
push eax
call fcn.00458a27
pop ecx
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x458af3
movzx eax, word [ebp - 6]
sar eax, 8
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx]
xor eax, ecx
mov ax, word [eax*4 + 0x46b464]
mov dx, word [ebp - 6]
shl edx, 8
xor ax, dx
mov word [ebp - 6], ax
inc dword [ebp + 8]
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jb 0x458abf
mov ax, word [ebp - 6]
pop ecx
pop ecx
pop ebp
ret
Function at 0x458bb0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd0
mov dword [esp], edx
mov bx, 0x22
lea edx, [esp + 0xc]
mov byte [edx], 0
inc edx
dec bx
jne 0x458bc1
mov bx, 8
movzx edx, bx
mov ecx, dword [eax + edx*4 - 4]
sub dword [eax + edx*4], ecx
dec ebx
cmp bx, 1
jne 0x458bce
mov di, 8
mov word [esp + 6], 0
xor ebx, ebx
mov edx, 0x80000000
movzx ecx, bx
test dword [eax + ecx*4], edx
je 0x458c00
mov byte [esp + 8], 1
jmp 0x458c05
mov byte [esp + 8], 0
xor esi, esi
movzx ecx, bx
test dword [eax + ecx*4], edx
je 0x458c16
cmp byte [esp + 8], 0
je 0x458c2e
movzx ecx, bx
test dword [eax + ecx*4], edx
jne 0x458c25
cmp byte [esp + 8], 0
jne 0x458c2e
shr edx, 1
inc esi
cmp si, 0x20
jne 0x458c07
movzx edx, si
shr edx, 2
mov cl, 7
sub cl, dl
mov byte [esp + 9], cl
xor edx, edx
mov dl, byte [esp + 9]
inc edx
shl edx, 2
mov word [esp + 4], dx
mov dl, byte [esp + 9]
add edx, edx
add dl, byte [esp + 8]
mov byte [esp + 9], dl
xor esi, esi
movzx edx, si
mov ecx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [esp + 9]
shr edx, cl
and dl, 1
movzx ecx, di
dec ecx
shl dl, cl
movzx ecx, word [esp + 6]
or byte [esp + ecx + 0xc], dl
dec edi
test di, di
jne 0x458c8e
mov di, 8
inc word [esp + 6]
inc esi
cmp si, 4
jne 0x458c5b
mov dx, word [esp + 4]
dec edx
test dx, dx
jb 0x458ce4
inc edx
mov word [esp + 0xa], dx
xor esi, esi
movzx ecx, word [esp + 4]
movzx edx, si
sub ecx, edx
dec ecx
movzx edx, bx
mov edx, dword [eax + edx*4]
shr edx, cl
and dl, 1
movzx ecx, di
dec ecx
shl dl, cl
movzx ecx, word [esp + 6]
or byte [esp + ecx + 0xc], dl
dec edi
test di, di
jne 0x458cdc
mov di, 8
inc word [esp + 6]
inc esi
dec word [esp + 0xa]
jne 0x458ca8
inc ebx
cmp bx, 9
jne 0x458bec
cmp di, 8
je 0x458cfa
inc word [esp + 6]
xor ebx, ebx
movzx eax, bx
mov edx, dword [esp]
mov byte [edx + eax], 0
inc ebx
cmp bx, 0x28
jne 0x458cfc
call fcn.00458ba4
mov edx, dword [esp]
mov byte [edx], al
call fcn.00458ba4
and eax, 0xff
movzx edx, word [esp + 6]
mov ecx, 0x26
sub ecx, edx
cdq
idiv ecx
add dl, 2
mov byte [esp + 9], dl
mov eax, dword [esp]
mov al, byte [eax]
sub al, byte [esp + 9]
mov edx, dword [esp]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [esp + 9]
mov ebx, eax
add ax, word [esp + 6]
dec eax
sub ax, bx
jb 0x458d71
inc eax
mov word [esp + 0xa], ax
movzx eax, bx
mov edx, dword [esp]
mov byte [edx + eax], 1
inc ebx
dec word [esp + 0xa]
jne 0x458d5f
mov bx, 2
movzx esi, bx
mov eax, dword [esp]
cmp byte [eax + esi], 0
jne 0x458d8c
call fcn.00458ba4
mov edx, dword [esp]
mov byte [edx + esi], al
inc ebx
cmp bx, 0x28
jne 0x458d75
mov ax, word [esp + 6]
dec eax
test ax, ax
jb 0x458dc7
inc eax
mov word [esp + 0xa], ax
xor ebx, ebx
lea eax, [esp + 0xc]
xor edx, edx
mov dl, byte [esp + 9]
movzx ecx, bx
add edx, ecx
mov ecx, dword [esp]
add ecx, edx
mov dl, byte [eax]
mov byte [ecx], dl
inc ebx
inc eax
dec word [esp + 0xa]
jne 0x458daa
mov bx, 1
movzx eax, bx
mov edx, dword [esp]
mov dl, byte [edx + eax - 1]
mov ecx, dword [esp]
xor byte [ecx + eax], dl
inc ebx
cmp bx, 0x28
jne 0x458dcb
add esp, 0x30
pop edi
pop esi
pop ebx
ret
Function at 0x1005b4a
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [ecx], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x1005b80
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005b84
xor eax, eax
jmp 0x1005b9a
mov eax, dword [ebp - 8]
push 0x400
imul eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x10074fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x1007543
cmp edx, 0x10
jl 0x100752f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x100751c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x1007543
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x100753b
and edx, 3
cmp edx, 3
jne 0x1007557
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x100755c
cmp edx, 2
jne 0x1007568
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x100756d
cmp edx, 1
jne 0x1007573
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x10ea1f68
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10ea1f72
pushal
call 0x10ea1f78
pop ebp
sub ebp, 0x10
sub ebp, 0xea1f68
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10ea1f9c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10ea1fa5
mov eax, 0xea1f68
add eax, ebp
add eax, 0x63
mov ecx, 0x5b7
mov edx, 0x99a5bb3c
xor byte [eax], dl
inc eax
dec ecx
jne 0x10ea1fbc
jmp 0x10ea1fcf
mov bh, 0xf1
mov bh, 0xb5
add byte [esp + edi], bh
cmp al, 0xbd
std
les edi, [esp + edi]
cmp al, 0x3f
int1
test byte [edx], bh
cmp al, 0x3c
cmp al, 0x86
adc al, 0x3c
cmp al, 0x3c
retf
Function at 0x40171a
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], ecx
xor eax, eax
mov edx, dword [ecx]
mov edi, dword [eax + 0x41b0b0]
mov dword [eax + edx], edi
add eax, 4
cmp eax, 0x48
jl 0x40172a
xor eax, eax
mov edx, 0x100
mov edi, dword [ecx + 4]
mov ebx, dword [eax + 0x41b0f8]
mov dword [eax + edi], ebx
add eax, 4
dec edx
jne 0x401744
cmp eax, 0x1000
jl 0x40173f
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
jmp 0x40176b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [ebp - 4]
add ecx, eax
lea eax, [esi + 1]
cdq
idiv ebx
mov dword [ebp + 0xc], ecx
xor ecx, ecx
lea eax, [esi + 2]
add dword [ebp - 4], 4
mov cl, byte [edx + edi]
cdq
idiv ebx
mov ch, byte [esi + edi]
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
mov eax, dword [ebp + 0xc]
xor dword [eax], ecx
lea eax, [esi + 4]
cdq
idiv ebx
cmp dword [ebp - 4], 0x48
mov esi, edx
jl 0x401768
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401036
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov dword [edi + eax], ecx
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword [edi + eax + 4], ecx
add edi, 8
cmp edi, 0x48
jl 0x4017c3
push 4
pop edi
mov ebx, 0x80
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401036
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 8]
mov dword [edi + eax - 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
mov dword [edi + eax], ecx
add edi, 8
dec ebx
jne 0x4017f3
cmp edi, 0x1004
jl 0x4017ee
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x406ae5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41ce40
cmp edx, dword [eax]
je 0x406b07
add eax, 8
inc ecx
cmp eax, 0x41ced0
jl 0x406af8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41ce40]
jne 0x406c35
mov eax, dword [0x4214d8]
cmp eax, 1
je 0x406c0f
test eax, eax
jne 0x406b38
cmp dword [0x41c974], 1
je 0x406c0f
cmp edx, 0xfc
je 0x406c35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406b6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004039a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407e70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406bb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407e70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x417144
push edi
call fcn.00408a50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004039a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004039b0
lea eax, [ebp - 0xa0]
push 0x417124
push eax
call fcn.004039b0
push dword [esi + 0x41ce44]
lea eax, [ebp - 0xa0]
push eax
call fcn.004039b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004089b8
add esp, 0x2c
pop edi
jmp 0x406c35
lea eax, [ebp + 8]
lea esi, [esi + 0x41ce44]
push 0
push eax
push dword [esi]
call fcn.00407e70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40c130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00403a90
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x40c1fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x40c1fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x40c1ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x40c1b9
or bh, 8
and edi, 0x8000000
je 0x40c1d4
mov eax, dword [0x421c5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x40c1fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret