joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43e962
push 0xfb1631b0
push dword [0x44f8a0]
call fcn.004439b0
add esp, 8
test eax, eax
je 0x43e92d
mov ecx, dword [esi]
test ecx, ecx
je 0x43e95f
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43e93b
cmp dword [esp + 4], 0
je 0x43e93b
mov dword [esi + 4], 3
jmp 0x43e95f
mov dword [esi + 4], 1
mov ecx, dword [esi]
jmp 0x43ea07
lea eax, [esp + 0xc]
push eax
call fcn.00444030
add esp, 4
test al, al
je 0x43e95f
mov eax, dword [esp + 0xc]
mov ecx, 2
cmp eax, 3
je 0x43e95c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, 2
jne 0x43ea07
mov dword [esp + 4], 0x6c6d6e3a
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43e9c9
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0x4d26f498
and eax, 0xcd26f498
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 8
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43e990
mov eax, dword [esp + 4]
mov edx, dword [0x44f8ac]
test edx, edx
je 0x43eac4
mov ebp, ebx
xor esi, esi
mov ebx, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x495ce5ca
je 0x43eaa0
inc esi
cmp edx, esi
jne 0x43e9f0
jmp 0x43eac4
mov dword [esp + 4], 0x6c6d6e3a
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43ea69
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0x4d26f498
and eax, 0xcd26f498
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 8
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43ea30
mov eax, dword [esp + 4]
mov edx, dword [0x44f8ac]
test edx, edx
je 0x43eac4
xor esi, esi
mov ebx, dword [0x44f8b0]
nop
cmp dword [ebx + esi*8], 0x1b788dcf
je 0x43ea90
inc esi
cmp edx, esi
jne 0x43ea80
jmp 0x43eac4
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43eac4
push ebp
push edi
push dword [esp + 0x30]
jmp 0x43eaae
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43eac4
push dword [esp + 0x30]
push edi
push ebp
push dword [esp + 0x30]
push ecx
push 5
push dword [0x44f8b4]
push edx
call fcn.00440ec0
add esp, 0x20
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x43ee50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x43ee69
lea edi, [esp + 0x10]
mov eax, dword [esi + 4]
test eax, eax
je 0x43ee7a
cmp eax, 2
je 0x43eef0
jmp 0x43ef1d
push 0xfb1631b0
push dword [0x44f8a0]
call fcn.004439b0
add esp, 8
test eax, eax
je 0x43eebb
mov ecx, dword [esi]
test ecx, ecx
je 0x43eee8
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43eec4
cmp dword [esp + 4], 0
je 0x43eec4
mov dword [esi + 4], 3
jmp 0x43eee8
mov dword [esi + 4], 1
jmp 0x43ef1d
lea eax, [esp + 0xc]
push eax
call fcn.00444030
add esp, 4
test al, al
je 0x43eee8
mov eax, dword [esp + 0xc]
mov ecx, 2
cmp eax, 3
je 0x43eee5
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43ef1d
mov ebx, dword [ebp + 0x18]
push 0xc95dc39
push dword [0x4578c0]
call fcn.004439b0
add esp, 8
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call eax
jmp 0x43efc4
mov ecx, dword [esi]
mov dword [esp + 4], 0x6c6d6e3a
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43ef79
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0x4d26f498
and eax, 0xcd26f498
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 8
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43ef40
mov eax, dword [esp + 4]
mov edx, dword [0x44f8ac]
test edx, edx
je 0x43efc4
xor esi, esi
mov ebx, dword [0x44f8b0]
nop
cmp dword [ebx + esi*8], 0x3baba5e0
je 0x43efa0
inc esi
cmp edx, esi
jne 0x43ef90
jmp 0x43efc4
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43efc4
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0x44f8b4]
push edx
call fcn.00440ec0
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x4425a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, ebx
add ecx, ebp
mov edx, edi
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x2c]
jb 0x442614
mov ecx, ebx
shr ecx, 2
mov edx, ebp
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x4427ae
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x4427ae
mov dword [esp + 4], 0xcccdca96
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x442673
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x97de68b2
and eax, 0x17de68b2
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, eax
xor ecx, 0x7a
and eax, 5
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x442630
mov eax, dword [esp + 4]
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x4426d2
xor edx, edx
mov edi, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x54ca534e
je 0x4426a4
inc edx
cmp ecx, edx
jne 0x442690
mov edi, dword [esp + 0x28]
jmp 0x4426d2
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
mov edi, dword [esp + 0x28]
je 0x4426d2
lea eax, [esp + 0xc]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44f8b4]
push ecx
call fcn.00440ec0
add esp, 0x28
test eax, eax
js 0x4427ae
push 0xc95dc39
push dword [0x4578c0]
call fcn.004439b0
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 0xcccdca96
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 3
ja 0x442764
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, edx
xor edi, 0x97de68b2
and edx, 0x17de68b2
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
mov esi, edx
xor esi, 0x7a
and edx, 5
add edx, edx
sub edx, esi
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 4
jb 0x442720
mov edx, dword [0x44f8ac]
test edx, edx
je 0x4427ae
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x625b6034
je 0x442790
inc edi
cmp edx, edi
jne 0x442780
jmp 0x4427ae
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x4427ae
push ecx
push 1
push dword [0x44f8b4]
push edx
mov esi, eax
call fcn.00440ec0
mov eax, esi
add esp, 0x10
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4427c0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x578
mov esi, esp
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1e8], 0
push 0x33
call fcn.004427ec
Function at 0x442c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ecx, dword [esp + 0x2c]
mov esi, 2
mov edx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec esi
cmp byte [ecx + edx + 1], 0
lea edx, [edx + 1]
jne 0x442ca0
mov dword [esp + 8], 0xc2c2c073
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x442d2a
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ebx, dword [esp]
movzx ebx, byte [esp + ebx + 8]
mov ebp, eax
xor ebp, 0xedc188d0
mov edi, eax
xor edi, 0x123e772f
or eax, 0x6dc188d0
and eax, edi
lea eax, [eax*2]
add eax, ebp
lea edi, [eax + ebx]
and eax, ebx
mov ebx, edi
xor ebx, eax
add ebx, eax
not eax
and eax, edi
add eax, eax
sub eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xf0
mov edi, dword [esp]
mov byte [esp + edi + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x442cd0
test edx, edx
je 0x442d4e
mov ebx, ecx
mov ecx, dword [esp + 8]
mov ebp, ecx
not ebp
test dl, 1
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ebp
jne 0x442d57
test esi, esi
jne 0x442d7f
jmp 0x442de0
mov eax, dword [esp + 0x30]
jmp 0x442de0
movsx eax, byte [ebx]
xor eax, edi
mov edx, eax
not edx
and edx, ecx
mov edi, eax
and edi, ebp
imul edi, edx
mov edx, eax
and edx, ecx
or eax, ecx
imul eax, edx
mov edx, esi
neg edx
inc ebx
add eax, edi
mov edi, eax
test esi, esi
je 0x442de0
xor esi, esi
mov eax, edi
mov dword [esp + 4], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [ebx + esi]
xor edi, eax
mov eax, edi
not eax
and eax, ecx
mov ebp, edi
mov ebx, dword [esp + 0x10]
and ebp, ebx
imul ebp, eax
mov eax, edi
and eax, ecx
or edi, ecx
imul edi, eax
add edi, ebp
mov eax, dword [esp + 4]
movsx eax, byte [eax + esi + 1]
xor eax, edi
mov edi, eax
not edi
and edi, ecx
mov ebp, eax
and ebp, ebx
mov ebx, dword [esp + 4]
imul ebp, edi
mov edi, eax
and edi, ecx
or eax, ecx
imul eax, edi
add eax, ebp
add esi, 2
cmp edx, esi
jne 0x442d90
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4438b0
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], 0x393a3b6c
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x443920
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0x1280df8b
and eax, 0x1280df8b
lea eax, [esi + eax*2]
lea esi, [eax + edx]
and eax, edx
add eax, eax
sub esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
add al, 0x49
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4438e0
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x44e3cc]
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ecx], al
add byte [eax], al
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [ebx], dl
aad 0x43
add byte [eax], al
aad 0x43
add byte [edx*8 - 0x2af3ffbd], cl
aad 0x43
Function at 0x444080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4440a0
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x4440bb
mov eax, 0xffffffff
jmp 0x4440be
add eax, 0xa
push eax
call fcn.0040d6d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebx, word [edi]
test bx, bx
je 0x444101
add edi, 2
nop
nop
nop
mov word [edx], bx
add edx, 2
movzx ebx, word [edi]
add edi, 2
test bx, bx
jne 0x4440f0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp + 8], dx
add ecx, edi
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0xcccdca96
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x4441b0
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0x97de68b2
xor ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x86
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x444180
mov esi, dword [esp + 4]
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x444224
xor edx, edx
mov edi, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x10f02cc2
je 0x4441e0
inc edx
cmp ecx, edx
jne 0x4441d0
jmp 0x444224
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x444224
lea esi, [esp + 0x10]
lea edx, [esp + 0x18]
push 0
push 0
push ebp
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x70]
push 0
push esi
push edx
push dword [esp + 0x70]
push dword [esp + 0x70]
push 0xb
push dword [0x44f8b4]
push ecx
mov edi, eax
call fcn.00440ec0
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.0040d6e0
add esp, 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444240
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x44]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x444260
mov ebx, eax
sar ebx, 1
and eax, 8
mov ecx, ebx
xor ecx, 4
lea esi, [ecx + eax]
add eax, ecx
inc eax
test eax, eax
jns 0x444288
mov eax, 0xffffffff
jmp 0x44428f
lea eax, [esi*2 + 2]
push eax
call fcn.0040d6d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [ebp]
test dx, dx
je 0x4442d2
add ebp, 2
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebp]
add ebp, 2
test dx, dx
jne 0x4442c0
mov word [ecx], 0
mov ecx, esi
and ecx, 0xfffd
and ebx, 2
mov edx, ebx
xor edx, 2
imul edx, ecx
or esi, 2
imul esi, ebx
add esi, edx
mov word [esp + 8], si
mov ecx, esi
and ecx, 2
xor esi, 2
lea ecx, [esi + ecx*2]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0xcccdca96
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x444390
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0x97de68b2
xor ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x86
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x444360
mov esi, dword [esp + 4]
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x4443f6
xor edx, edx
mov ebx, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x88a3caae
je 0x4443c0
inc edx
cmp ecx, edx
jne 0x4443b0
jmp 0x4443f6
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x4443f6
lea edx, [esp + 0x10]
lea esi, [esp + 0x18]
push edi
push dword [esp + 0x54]
push edx
push esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 6
push dword [0x44f8b4]
push ecx
mov edi, eax
call fcn.00440ec0
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040d6e0
add esp, 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x444430
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x44444b
mov eax, 0xffffffff
jmp 0x44444e
add eax, 0xa
push eax
call fcn.0040d6d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [ebx]
test di, di
je 0x444491
add ebx, 2
nop
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [ebx]
add ebx, 2
test di, di
jne 0x444480
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp + 8], dx
add ecx, edi
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 4], 0xcccdca96
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x444540
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0x97de68b2
xor ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
add cl, 0x86
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x444510
mov esi, dword [esp + 4]
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x444599
xor edx, edx
mov edi, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x8896be63
je 0x444570
inc edx
cmp ecx, edx
jne 0x444560
jmp 0x444599
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x444599
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x44f8b4]
push ecx
mov edi, eax
call fcn.00440ec0
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.0040d6e0
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4445af
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4445c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0xc], 0xcccdca96
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x444623
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x97de68b2
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x86
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x4445f0
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov edx, dword [0x44f8ac]
test edx, edx
je 0x444678
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44f8b0]
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x444650
inc edi
cmp edx, edi
jne 0x444640
jmp 0x444678
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x444678
lea eax, [esp + 0x10]
lea edi, [esp + 4]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x44f8b4]
push edx
call fcn.00440ec0
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x444685
mov edx, dword [esp + 0x18]
mov dword [esi], edx
test ecx, ecx
je 0x444691
cmp byte [esp + 0x25], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402e5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404518
test esi, esi
jne 0x402e93
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404608
jmp 0x402eb4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cf8
mov dword [esp], eax
test esi, esi
je 0x402eb4
cmp dword [ebx], 0
je 0x402eb4
dec esi
jmp 0x402e9b
add esp, 0x10c
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x469008], 0x8088405
inc edx
mov dword [ebx + 0x469008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4035f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x469024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403690
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403670
xor eax, eax
push ebp
push 0x403669
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4036ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403670
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x469024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x469024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404394
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b04c], 0
je 0x4043f5
cmp word [0x46b220], 0xd7b2
jne 0x4043bd
cmp dword [0x46b228], 0
jbe 0x4043bd
mov eax, 0x46b21c
call dword [0x46b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x469070
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 0x40441c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469034], 0
jne 0x404411
push 0
push 0x469068
push 0x469070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40659c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406602
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404788
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040318c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065ec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406609
lea eax, [ebp - 0x10]
call fcn.00404518
ret

Function at 0x4090e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049d8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409101
test al, 0x10
jne 0x409105
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40be48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404608
jmp 0x40be8a
mov eax, ebx
mov edx, esi
call fcn.0040456c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be94
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40beb5
mov al, byte [esp]
jmp 0x40beb7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c54c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c3b4
mov eax, dword [0x46a374]
cmp byte [eax], 0
je 0x40c5c8
mov eax, dword [0x46a110]
call fcn.00402fa0
call fcn.00402c24
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409604
sar bh, 1
call dword [eax - 0x73]
inc esp
and al, 0x50
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46a0b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b668]
call fcn.004059ec
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1