joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x402b5c
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402b5c
push ebx
call fcn.00409190
add esp, 4
test eax, eax
je 0x402aaa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402ab1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402a90
jmp 0x402ab3
mov esi, 0x1505
jmp 0x402ab3
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402b5c
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402ae4
inc ebp
dec ebx
je 0x402b57
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402b57
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402ae0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409190
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402ae0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.004091b0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402ae0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402b57
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x402b5c
mov edi, dword [eax + 8]
jmp 0x402b5c
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402b70
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00409200
add esp, 8
test eax, eax
je 0x402bd6
mov ebx, eax
jmp 0x402bb4
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00409200
add esp, 8
mov ebx, eax
test eax, eax
je 0x402bd6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.004025c0
add esp, 4
xor esi, esi
test eax, eax
je 0x402ba0
cmp dword [eax + 4], 4
jne 0x402ba0
mov esi, dword [eax + 8]
jmp 0x402ba0
xor eax, eax
test esi, esi
je 0x402c36
test edi, edi
je 0x402c36
push edi
call fcn.00409190
add esp, 4
test eax, eax
je 0x402c1a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x402c21
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x402c00
jmp 0x402c23
mov ebx, 0x1505
jmp 0x402c23
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x402c3e
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
jmp 0x402c54
inc ebp
dec ecx
je 0x402c34
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402c34
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402c50
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00409190
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402c50
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.004091b0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402c50
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402c36
Function at 0x402d60
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x402dcd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x402dcd
push esi
call fcn.00409190
add esp, 4
test eax, eax
je 0x402daa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402db1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402d90
jmp 0x402db3
mov ebx, 0x1505
jmp 0x402db3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x402dd5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402de4
inc ebp
dec edi
je 0x402dcb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402dcb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x402de0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409190
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402de0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004091b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402de0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x402dcd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x402dcd
Function at 0x402ff0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4030ed
mov ebx, edx
test edx, edx
je 0x4030ed
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x4030ed
push ebx
call fcn.00409190
add esp, 4
test eax, eax
je 0x40304a
mov ecx, 0x1505
xor esi, esi
movzx edx, byte [ebx + esi]
test edx, edx
je 0x403051
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc esi
mov ecx, ebp
cmp eax, esi
jne 0x403030
jmp 0x403053
mov ebp, 0x1505
jmp 0x403053
mov ebp, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
lea esi, [edi - 1]
mov edx, edi
sub edx, 1
mov dword [esp + 4], ebx
jae 0x4030f5
mov eax, 0xffffffff
mov edi, dword [ecx + 0x18]
cmp edi, dword [ecx + 0x1c]
mov ebx, dword [esp + 4]
jb 0x4030b4
call fcn.00403220
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x4030ed
push ebx
call fcn.00409190
add esp, 4
lea esi, [esp + 0x14]
mov edi, dword [esp]
mov ecx, edi
mov edx, ebx
push esi
push ebp
push eax
call fcn.00403170
mov ecx, edi
add esp, 0xc
mov edi, dword [edi + 0x18]
mov esi, ecx
mov edx, dword [ecx + 0xc]
mov dword [edx + edi*4], ebx
mov ecx, dword [ecx + 4]
mov edx, dword [esi + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov edi, dword [esp + 0x2c]
mov dword [ecx + edx*4], edi
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and esi, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x40310a
inc esi
dec edi
mov edx, ebx
je 0x40306f
mov eax, esi
mov ebx, edx
and eax, edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x403074
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x403100
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409190
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x403100
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.004091b0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403100
mov eax, 0xffffffff
jmp 0x4030ed
Function at 0x403900
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403ab6
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x403aaf
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x403993
add ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov ebx, dword [esp + 0x10]
sub ebx, esi
mov esi, 0x15b0
je 0x403aaf
xor edx, edx
cmp esi, 8
mov dword [esp + 4], esi
jb 0x403a0d
and esi, 0x1ff8
mov dword [esp], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 6]
add edx, esi
mov esi, dword [esp + 4]
add ecx, edx
movzx edi, byte [ebp + eax + 7]
add edi, edx
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x4039b0
add ebp, edx
mov edx, dword [esp]
mov eax, esi
sub eax, edx
mov dword [esp + 0x10], ebx
jbe 0x403958
mov dword [esp], edx
not edx
add edx, esi
mov dword [esp + 8], edx
and esi, 3
mov dword [esp + 0xc], eax
je 0x403a63
neg esi
xor edx, edx
mov ebx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx]
inc ebx
add edi, eax
add ecx, edi
dec edx
cmp esi, edx
jne 0x403a40
mov eax, dword [esp]
sub eax, edx
mov edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x403950
jmp 0x403a75
mov ebx, ebp
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, 3
jb 0x403950
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x403a80
jmp 0x403950
shl ecx, 0x10
or ecx, edi
jmp 0x403abb
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403b3a
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esi + esi]
not eax
add eax, esi
test edx, edx
je 0x403b36
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43ba18]
mov eax, ebx
shr eax, 4
mov ebp, ebx
and ebp, 0xf
shr edi, 4
and ebx, edi
add edi, ebp
add ebx, ebx
sub edi, ebx
xor eax, dword [edi*4 + 0x43ba18]
inc esi
cmp edx, esi
jne 0x403b00
not eax
jmp 0x403b3c
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4097b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x4098da
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x4097ed
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x409811
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x4097e0
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x4097e0
lea esi, [ebx + 1]
push esi
call fcn.00409060
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x4098e8
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x409858
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x4098ea
movzx edx, word [edi]
test dx, dx
je 0x4098ea
cmp dx, 0x7f
jbe 0x409840
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x4098a0
cmp esi, 0x7ff
ja 0x4098a0
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x409847
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x409847
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x409847
push 1
call fcn.00409060
add esp, 4
mov ebp, eax
jmp 0x4098ea
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x409907
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x409902
test eax, eax
jne 0x409900
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00405d00
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x420bc0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x468
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0xa32ca12b
mov dword [esp + 0x64], 0x9f3f9d3d
mov dword [esp + 0x68], 0x9bce9909
mov dword [esp + 0x6c], 0x971c9505
mov dword [esp + 0x70], 0x93909109
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1f
ja 0x420c85
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x60]
lea edx, [eax + 0x7c5891b]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x7c5891a
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0x43
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x60], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x20
jb 0x420c40
lea ebx, [esp + 0x60]
lea ecx, [esp + 0x4c]
push ebx
call fcn.00435190
shr eax, 0x1f
xor edx, edx
jmp dword [eax*4 + 0x441f64]
Function at 0x42e490
Capabilities:
Encode data using xor
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, esp
call fcn.004101c0
push eax
mov eax, esp
push eax
mov edi, esp
push eax
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 0xc], esp
push eax
mov dword [esi + 8], esp
sub esp, 0x18
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
mov dword [esi + 0x24], esp
jmp 0x42e4c5
mov ecx, dword [ebp + 8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], eax
mov byte [eax], 0
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
setne al
test al, 1
jne 0x42e4f2
jmp 0x42e654
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi], eax
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, dword [esi + 0x10]
mov dword [edi], eax
cmp dword [edi], 0
setne al
jmp 0x42e52b
test al, 1
jne 0x42e534
jmp 0x42e64e
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.00409190
add esp, 4
mov ecx, dword [esi + 8]
mov dword [ecx], eax
cmp dword [ecx], 0
setne al
test al, 1
jne 0x42e56b
jmp 0x42e640
call fcn.004101c0
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
mov al, byte [eax]
mov byte [esi + 4], al
mov byte [ebx], 0xcb
mov byte [ebx + 1], 0x21
mov byte [ebx + 2], 0x5b
mov byte [ebx + 3], 0x63
mov byte [ebx + 4], 0x56
mov byte [ebx + 5], 0x62
mov byte [ebx + 6], 0x57
mov byte [ebx + 7], 0x61
mov byte [ebx + 8], 0x50
mov byte [ebx + 9], 0xa7
mov byte [ebx + 0xa], 0x6e
mov byte [ebx + 0xb], 0x63
mov byte [ebx + 0xc], 0x6c
mov byte [ebx + 0xd], 0xf9
mov dword [ebx + 0xe], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x12
jae 0x42e621
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
jmp 0x42e5db
mov eax, dword [esi]
mov edx, dword [esi]
movzx ecx, byte [ebx + edx]
mov edi, eax
add edi, 0xc72283e
mov edx, edi
and edx, ecx
xor edi, ecx
add eax, 0x3e
and eax, ecx
add eax, edx
sub edi, eax
lea eax, [edi + edx*2]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
add al, 0x4e
mov ecx, dword [esi]
mov byte [ebx + ecx], al
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0x12
jb 0x42e5db
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
jmp 0x42e621
sub esp, 0xc
mov dword [esp], ebx
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409960
and al, 1
mov ecx, dword [esi + 0x14]
mov byte [ecx], al
jmp 0x42e640
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0x14]
mov al, byte [eax]
jmp 0x42e65b
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4331c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov dword [esp + 0x20], 0x1bc91925
mov dword [esp + 0x24], 0x17e5159d
mov dword [esp + 0x28], 0x13ef119c
mov dword [esp + 0x2c], 0x2ff22dd9
mov dword [esp + 0x30], 0x2bd329da
mov dword [esp + 0x34], 0x27db25aa
mov dword [esp + 0x38], 0x2322211d
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x43], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x26
ja 0x433288
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x20]
lea esi, [eax + ecx]
add esi, 0x15901054
add eax, 0x54
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, esi
not eax
and eax, esi
add eax, eax
sub eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add al, 0xb4
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x27
jb 0x433240
lea eax, [esp + 0x48]
lea ebx, [esp + 0x20]
mov esi, ebx
mov ecx, 7
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x64]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea ecx, [esp + 8]
push ecx
push 8
push ebx
push 0xd
push eax
push 0
call dword [0x445f38]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x444108]
mov ecx, 0xe0fe736e
xor ecx, dword [0x444110]
add eax, ecx
inc eax
jmp eax
Function at 0x438950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov ecx, dword [ebp + 8]
mov dword [esp + 8], 0x5b5a5988
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x4389da
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
lea esi, [eax - 0x2a4862f4]
mov edi, edx
not edi
or edi, esi
and esi, edx
add edi, edx
inc edi
mov ebx, edi
and ebx, esi
xor esi, edi
add eax, edx
add eax, 0xd5b79d0c
lea edx, [esi + ebx*2]
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xac
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x438990
mov eax, dword [esp + 8]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x4458bc]
jmp 0x4389f4
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [edx + 0xc]
add edx, 0xc
mov eax, dword [case.0x4389e8.5]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
jmp dword [0x4458dc]
xor eax, eax
xor ebx, ebx
cmp esi, edx
setne bl
jmp dword [ebx*4 + 0x4458e4]
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000e1cb
pop dword [ebp - 0x40]
mov eax, 0xd695102c
add eax, 0x396bd19f
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x333a5
push 0
mov eax, 0xd17d1433
sub eax, 0xc17bd3cf
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x30e3
mov esi, eax
mov edi, 0x7297d2d1
add edi, 0x9d69b32f
add edi, dword [ebp - 0x40]
mov ebx, 0x9ebba7f7
sub ebx, 0x9a344c55
xor dword [ebp - 0x24], 0xc17cb904
mov edx, dword [edi]
add dword [ebp - 0x38], eax
add edx, ebx
add dword [ebp - 4], ecx
mov dword [esi], edx
sub dword [ebp - 0x10], 0xa88c7cef
add esi, 0xdcc83f58
add esi, 0x2337c0ac
add edi, 0x991e79df
sub edi, 0x991e79db
loop 0x1000e224
add eax, 0x284f1b45
sub eax, 0x284e64e6
xor ebx, ebx
add ebx, eax
add eax, 0xed75562e
add eax, 0x128aa9d7
mov ecx, 0x38c84e39
sub ecx, 0x28c84e39
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4045ec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00407054
test esi, esi
jne 0x404624
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00407190
jmp 0x404642
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044d0
mov edi, eax
test esi, esi
je 0x404642
cmp dword [ebx], 0
je 0x404642
dec esi
jmp 0x40462b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x404674
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x549008], 0x8088405
inc edx
mov dword [ebx + 0x549008], edx
fld qword [ebx + 0x549798]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x406348
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54e050], 0
je 0x4063a9
cmp word [0x54e32c], 0xd7b2
jne 0x406371
cmp dword [0x54e334], 0
jbe 0x406371
mov eax, 0x54e328
call dword [0x54e344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4063d4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x549030], 0
jne 0x4063c5
push 0
push 0x5497a0
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406554
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x549038], 0
je 0x40657a
mov edx, esi
mov eax, ebx
call dword [0x549038]
jmp 0x406589
mov eax, 8
call fcn.00404218
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x54e051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40651c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc