joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43edd0
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 0x43ede9
lea edi, [esp + 0x10]
mov eax, dword [esi + 4]
test eax, eax
je 0x43edfa
cmp eax, 2
je 0x43ee70
jmp 0x43ee9d
push 0xfb1631b0
push dword [0x4506f8]
call fcn.00443d90
add esp, 8
test eax, eax
je 0x43ee3b
mov ecx, dword [esi]
test ecx, ecx
je 0x43ee68
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43ee44
cmp dword [esp + 4], 0
je 0x43ee44
mov dword [esi + 4], 3
jmp 0x43ee68
mov dword [esi + 4], 1
jmp 0x43ee9d
lea eax, [esp + 0xc]
push eax
call fcn.004446b0
add esp, 4
test al, al
je 0x43ee68
mov eax, dword [esp + 0xc]
mov ecx, 2
cmp eax, 3
je 0x43ee65
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43ee9d
mov ebx, dword [ebp + 0x18]
push 0xc95dc39
push dword [0x458718]
call fcn.00443d90
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 0x43ef64
mov ecx, dword [esi]
mov dword [esp + 4], 0x80b0a0d
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43ef17
nop
nop
mov edx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
lea esi, [edx + edx]
and esi, 0x3ed7dd06
sub edx, esi
add edx, 0x9f6bee83
mov ebx, edx
and ebx, esi
xor edx, esi
lea edx, [edx + ebx*2]
lea esi, [edx + eax]
and edx, eax
add edx, edx
sub esi, edx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
mov edx, eax
not edx
and edx, 0x8f
and eax, 0x70
sub eax, edx
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43eec0
mov eax, dword [esp + 4]
mov edx, dword [0x450704]
test edx, edx
je 0x43ef64
xor esi, esi
mov ebx, dword [0x450708]
nop
nop
nop
cmp dword [ebx + esi*8], 0x3baba5e0
je 0x43ef40
inc esi
cmp edx, esi
jne 0x43ef30
jmp 0x43ef64
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43ef64
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0x45070c]
push edx
call fcn.00441120
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x441040
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
sete cl
jmp dword [ecx*4 + 0x44e714]
Function at 0x442730
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov ecx, ebx
add ecx, ebp
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x30]
jb 0x4427a2
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 0x44294e
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x44294e
mov dword [esp + 4], 0x8c8d8a8b
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x44280a
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov edx, ecx
xor edx, 0x426c0922
add ecx, ecx
and ecx, 0x84d81244
mov edi, ecx
and edi, edx
xor ecx, edx
lea ecx, [ecx + edi*2]
mov edx, ecx
and edx, eax
add ecx, eax
add edx, edx
sub ecx, edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
add al, 0x56
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x4427c0
mov eax, dword [esp + 4]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x44285a
xor edx, edx
mov edi, dword [0x450708]
cmp dword [edi + edx*8], 0x54ca534e
je 0x442830
inc edx
cmp ecx, edx
jne 0x442820
jmp 0x44285a
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x44285a
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x2c]
js 0x44294e
push 0xc95dc39
push dword [0x458718]
call fcn.00443d90
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x28]
call eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0x8c8d8a8b
mov byte [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 4
ja 0x4428fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov edi, esi
xor edi, 0x426c0922
add esi, esi
and esi, 0x84d81244
mov ebx, esi
and ebx, edi
xor esi, edi
lea esi, [esi + ebx*2]
mov edi, esi
and edi, edx
add esi, edx
add edi, edi
sub esi, edi
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0xc]
add dl, 0x56
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 5
jb 0x4428b0
mov edx, dword [0x450704]
test edx, edx
je 0x44294e
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x625b6034
je 0x442930
inc edi
cmp edx, edi
jne 0x442920
jmp 0x44294e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x44294e
push ecx
push 1
push dword [0x45070c]
push edx
mov esi, eax
call fcn.00441120
mov eax, esi
add esp, 0x10
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443750
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 8], 0x898a8b7c
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4437b0
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x60cbf6e3
and eax, 0xe0cbf6e3
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x91
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x443770
mov eax, dword [esp + 8]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x28], 0
sete cl
jmp dword [ecx*4 + 0x44f0b4]
mov edx, dword [eax + 0xc]
add edx, 0xc
mov dword [esp + 4], 0
mov esi, dword [edx]
xor ecx, ecx
cmp esi, edx
setne cl
mov dword [esp + 0xc], edx
jmp dword [ecx*4 + 0x44f0cc]
jmp dword [0x44f0c4]
Function at 0x443d90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x3c]
movzx eax, word [ebp]
mov dword [esp + 4], 0x292af5f7
mov byte [esp + 8], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x443e0c
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, ecx
xor esi, 0x23bb1347
and ecx, 0x23bb1347
lea ecx, [esi + ecx*2]
lea esi, [ecx + edx]
and ecx, edx
mov edx, esi
xor edx, ecx
add edx, ecx
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x9d
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x443dc0
xor ecx, ecx
cmp dword [esp + 4], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x44f224]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + edx]
mov dword [esp + 4], 0x33327c60
mov byte [esp + 8], 0
mov dword [esp], 0
mov esi, dword [esp]
cmp esi, 4
ja 0x443e8b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
mov ebx, esi
xor ebx, 0xb3f4dc34
and esi, 0x33f4dc34
lea esi, [ebx + esi*2]
xor esi, edi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0xc]
add bl, 0xfc
mov esi, dword [esp]
mov byte [esp + esi + 4], bl
inc dword [esp]
mov esi, dword [esp]
cmp esi, 5
jb 0x443e50
mov esi, dword [esp + 4]
xor ebx, ebx
cmp ecx, esi
setne bl
jmp dword [ebx*4 + 0x44f22c]
mov ecx, dword [ebp + edx + 0x7c]
mov esi, dword [ebp + edx + 0x78]
mov dword [esp + 0x20], ecx
test ecx, ecx
sete cl
test esi, esi
sete dl
or dl, cl
movzx ecx, dl
mov dword [esp + 0x10], esi
jmp dword [ecx*4 + 0x44f234]
mov eax, dword [ebp + esi + 0x20]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + esi + 0x24]
add eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + esi + 0x1c]
add eax, ebp
mov dword [esp + 0x1c], eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [0x44f248]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4448c0
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 + 0x50]
mov esi, dword [esp + 0x44]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4448e0
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x4448fb
mov eax, 0xffffffff
jmp 0x4448fe
add eax, 0xa
push eax
call fcn.0040c990
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 [esi]
test dx, dx
je 0x444941
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x444930
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 0xc], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 0xe], cx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x40
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0xf4f5f6f7
mov byte [esp + 8], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x4449ec
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0xc8486b2c
xor ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov edx, ecx
not edx
and edx, 0xdc
and ecx, 0x23
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x4449b0
mov esi, dword [esp + 4]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x444a53
xor edx, edx
mov ebx, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x88a3caae
je 0x444a20
inc edx
cmp ecx, edx
jne 0x444a10
jmp 0x444a53
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x444a53
lea edx, [esp + 4]
lea esi, [esp + 0x18]
push edi
push ebp
push edx
push esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 6
push dword [0x45070c]
push ecx
mov edi, eax
call fcn.00441120
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040c9a0
add esp, 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x444a90
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x444aab
mov eax, 0xffffffff
jmp 0x444aae
add eax, 0xa
push eax
call fcn.0040c990
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 [esi]
test dx, dx
je 0x444af1
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x444ae0
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 4], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 6], cx
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xf4f5f6f7
mov byte [esp + 0x2c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x444b9c
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0xc8486b2c
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov edx, ecx
not edx
and edx, 0xdc
and ecx, 0x23
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x444b60
mov esi, dword [esp + 0x28]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x444bf9
xor edx, edx
mov ebx, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x8896be63
je 0x444bd0
inc edx
cmp ecx, edx
jne 0x444bc0
jmp 0x444bf9
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x444bf9
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x45070c]
push ecx
mov ebx, eax
call fcn.00441120
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040c9a0
add esp, 4
test edi, edi
je 0x444c0c
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444c20
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 + 0x10], 0xf4f5f6f7
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x444c90
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xc8486b2c
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, eax
not ecx
and ecx, 0xdc
and eax, 0x23
sub eax, ecx
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x444c50
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [0x450704]
test edx, edx
je 0x444ce8
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x450708]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x444cc0
inc edi
cmp edx, edi
jne 0x444cb0
jmp 0x444ce8
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x444ce8
lea eax, [esp + 0x10]
lea edi, [esp + 8]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x45070c]
push edx
call fcn.00441120
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x444cf5
mov edx, dword [esp + 0x18]
mov dword [esi], edx
test ecx, ecx
je 0x444d01
cmp byte [esp + 0x25], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0xf4f5f6f7
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x444d7b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xc8486b2c
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
not ecx
and ecx, 0xdc
and eax, 0x23
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x444d40
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x444ddc
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov ebp, dword [0x450708]
nop
nop
nop
cmp dword [ebp + ebx*8], 0x72e9dc72
je 0x444db1
inc ebx
cmp ecx, ebx
jne 0x444da0
jmp 0x444ddc
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x444ddc
lea eax, [esp + 0x10]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x30
mov edi, dword [esp + 0x38]
cmp eax, 0x103
jne 0x444ea6
mov dword [esp + 8], 0xf4f5f6f7
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x444e4e
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xc8486b2c
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, eax
not ecx
and ecx, 0xdc
and eax, 0x23
sub eax, ecx
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x444e10
mov eax, dword [esp + 8]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x444e9e
xor edx, edx
mov ebx, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x444e80
inc edx
cmp ecx, edx
jne 0x444e70
jmp 0x444e9e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x444e9e
push 0
push 0
push esi
push 3
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x18
test eax, eax
js 0x444ea6
mov eax, dword [esp + 0x10]
test edi, edi
je 0x444eb9
xor ecx, ecx
cmp eax, 0xc0000011
je 0x444eb7
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x445080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x4450a0
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 0xc], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xe], cx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x40
lea eax, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0xf4f5f6f7
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x44516b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xc8486b2c
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
not ecx
and ecx, 0xdc
and eax, 0x23
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x445130
mov eax, dword [esp + 4]
mov edi, dword [0x450704]
test edi, edi
je 0x4451c5
xor ebx, ebx
mov ebp, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x81105f7a
je 0x4451a1
inc ebx
cmp edi, ebx
jne 0x445190
jmp 0x4451c5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x4451c5
lea eax, [esp + 0x18]
push esi
push eax
push edx
push dword [esp + 0x54]
push 4
push dword [0x45070c]
push edi
call fcn.00441120
add esp, 0x1c
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x321e0919
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3ec06f32
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x72887798
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x654d41ba
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402e80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ed9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d1c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d1c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402ec3
inc ebx
jmp 0x402eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ee0
lea eax, [ebp - 8]
call fcn.00404b28
ret

Function at 0x402ee8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b28
test esi, esi
jne 0x402f1f
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.00404c18
jmp 0x402f40
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d1c
mov dword [esp], eax
test esi, esi
je 0x402f40
cmp dword [ebx], 0
je 0x402f40
dec esi
jmp 0x402f27
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x499024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c98
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c78
xor eax, eax
push ebp
push 0x403c71
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 0x403cb4
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 0x403c78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x499024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x499024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40499c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49f04c], 0
je 0x4049fd
cmp word [0x49f220], 0xd7b2
jne 0x4049c5
cmp dword [0x49f228], 0
jbe 0x4049c5
mov eax, 0x49f21c
call dword [0x49f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49907c
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 0x404a24
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x499034], 0
jne 0x404a19
push 0
push 0x499074
push 0x49907c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret