joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f54
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x425100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42512d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42511e
and ecx, 3
je 0x425145
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x425132
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x425150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x425189
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x425171
pop esi
and esi, 3
je 0x4251ae
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42518f
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4251b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x4251e4
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x4251d5
and ecx, 3
je 0x4251fc
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x4251e9
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x425204
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x425210
pop edi
pop ebx
ret
Function at 0x425b2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00425784
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x375c6b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x425bda
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x425b87
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x425c28
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402ca0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00425204
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402ca0
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x425c52
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x425c52
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x425c42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x375c72
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00425920
ret

Function at 0x434434
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x434488
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x43b780]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x43bb80]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x43bf80]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x43c380]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x434443
pop edi
pop esi
pop ebx
ret
Function at 0x455d0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x455d12
ret

Function at 0x4602ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3b045d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x3b0474
call fcn.004047c8
mov eax, ebx
call fcn.00423a60
mov edi, eax
dec edi
test edi, edi
jl 0x460364
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423a34
mov edx, dword [0x3c45f0]
call fcn.00403730
test al, al
je 0x460360
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423a34
lea edx, [ebp - 0x14]
call fcn.004946b8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b6c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040483c
inc esi
dec edi
jne 0x460312
mov al, byte [0x3b0478]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x3b0484
mov eax, dword [ebp - 0xc]
call fcn.0040ec34
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404544
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004946b8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x3b0474
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004946b8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x3b0474
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x3b0474
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x3b0490
call fcn.0040a794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b0464
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x14]
call fcn.004044ac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044d0
ret
Function at 0x49c518
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x44e540]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x3ec6f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004946e8
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00495910
mov eax, dword [esi]
call fcn.0048303c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49c58a
mov eax, dword [esi]
call fcn.0048303c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00483048
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49c5ae
mov eax, dword [esi]
call fcn.00483048
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00483030
cmp eax, dword [ebp - 0x18]
jle 0x49c5c4
mov eax, dword [esi]
call fcn.00483030
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00483024
cmp eax, dword [ebp - 0xc]
jle 0x49c5da
mov eax, dword [esi]
call fcn.00483024
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call fcn.00407bd0
call fcn.00407130
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49c6a1
mov eax, ebx
call fcn.0040477c
cmp eax, 0x64
jge 0x49c6a1
cmp dword [0x448450], 0
je 0x49c6a1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407c20
cmp dword [ebp - 8], 0
je 0x49c6a1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407c20
cmp dword [ebp - 8], 0
je 0x49c664
mov bl, 2
jmp 0x49c67f
lea edx, [ebp - 0x20]
mov eax, dword [0x45683c]
call fcn.0049f7b0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49c67d
xor ebx, ebx
jmp 0x49c67f
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x448558]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call dword [0x448450]
mov eax, dword [0x44e370]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004985d4
push 4
mov eax, dword [ebp - 4]
call fcn.0049aea0
push eax
call fcn.00407c18
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ec6f8
call fcn.00407130
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4bd604
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov eax, dword [eax + 0x78]
add eax, ebx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x4bd694
test esi, esi
jbe 0x4bd6b7
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040a138
test eax, eax
jne 0x4bd686
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd6b7
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
jmp 0x4bd6b7
add dword [ebp - 8], 2
add edi, 4
dec esi
test esi, esi
ja 0x4bd657
jmp 0x4bd6b7
mov esi, edx
sub esi, dword [eax + 0x10]
cmp esi, dword [eax + 0x14]
jae 0x4bd6b7
mov eax, esi
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd6b7
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c828c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x548e42
jmp 0x4c8070

Function at 0x4c82ac
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54e533
jmp 0x4c2154

Function at 0x4c8354
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x548cb6
jmp 0x4c73a4

Function at 0x4c835c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x543e1d
jmp 0x4c73ac

Function at 0x4c8364
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54ccba
jmp 0x4c7620

Function at 0x4c836c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x54ab8f
jmp 0x4c7c44
Function at 0x4cfaf4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x41fd05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404bc8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4cfb2f
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4cfb48
lea eax, [ebp - 0xc]
mov edx, dword [0x44e514]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404c28
jmp 0x4cfb5b
lea eax, [ebp - 0xc]
mov edx, dword [0x44e514]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404c28
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x4cfb67
adc edx, 0
mov edx, dword [edx*4 + 0x44cd54]
call fcn.00404e34
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00404e18
push eax
call fcn.00406e88
mov esi, eax
cmp esi, 0xffffffff
je 0x4cfcd7
mov eax, 0x40
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4cfcca
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.004072c0
mov eax, edi
call fcn.00402ab0
mov eax, 0x18
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4cfcca
add eax, 4
cmp byte [ebp - 1], 0
je 0x4cfc6e
cmp word [eax], 0x8664
jne 0x4cfc6e
mov eax, edi
call fcn.00402ab0
mov eax, 0xf0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cfcca
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
jmp 0x4cfcca
cmp byte [ebp - 1], 0
jne 0x4cfcca
cmp word [eax], 0x14c
jb 0x4cfcca
cmp word [eax], 0x150
ja 0x4cfcca
mov eax, edi
call fcn.00402ab0
mov eax, 0xe0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00407260
test eax, eax
je 0x4cfcca
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cfcca
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
mov eax, edi
call fcn.00402ab0
push esi
call fcn.00406e40
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404f44
jne 0x4cfcef
inc ebx
cmp ebx, 0x19
jne 0x4cfb21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fd0c
lea eax, [ebp - 0xc]
inc ebp
hlt
call fcn.00404bc8
ret
Function at 0x2a73700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02a7378f
jae 0x2a7370e
xor ecx, ecx
call fcn.02a7378f
jae 0x2a7373d
xor eax, eax
call fcn.02a7378f
jae 0x2a7374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02a7378f
adc al, al
jae 0x2a7372f
jne 0x2a73779
stosb byte es:[edi], al
jmp 0x2a73711
call fcn.02a7379b
sub ecx, ebx
jne 0x2a73756
call fcn.02a73799
jmp 0x2a73775
lodsb al, byte [esi]
shr eax, 1
je 0x2a73783
adc ecx, ecx
jmp 0x2a73772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02a73799
cmp eax, 0x7d00
jae 0x2a73772
cmp ah, 5
jae 0x2a73773
cmp eax, 0x7f
ja 0x2a73774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2a73711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4354c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x435545
cmp eax, 0x40
jbe 0x4354ec
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0043a8b0
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
mov ecx, 0x40
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x435514
lea edi, [esi + 0x40]
push edi
call fcn.0043a7e0
push edi
push 0x40
push esi
call fcn.0043a820
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43555f
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0043a820
add esp, 0xc
pop esi
ret
Function at 0x438990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xd0
push ebx
mov ebx, dword [esp + 0xd8]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xe0]
mov al, byte [ebx]
push esi
cmp eax, 3
mov esi, dword [ebp + 0x50]
push edi
mov dword [esp + 0x28], eax
jne 0x438a93
mov eax, dword [esp + 0xf0]
xor edi, edi
test eax, eax
mov byte [ebx], 1
jle 0x438a7e
lea eax, [ebx + 1]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 0x80
push edx
push ebp
push ebx
call fcn.00438990
mov eax, edi
mov ecx, edi
cdq
and edx, 7
and ecx, 7
add eax, edx
mov dl, byte [esp + 0x24]
mov ebx, 0x80
mov esi, eax
mov eax, dword [esp + 0x100]
and dl, 0x80
sar ebx, cl
sar esi, 3
shr dl, cl
mov al, byte [esi + eax]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x108]
and al, bl
not bl
xor al, dl
mov dl, byte [esi + ecx]
and bl, dl
add esp, 0x14
or bl, al
mov byte [esi + ecx], bl
mov bl, byte [esp + 0x28]
mov cl, 7
or esi, 0xffffffff
sub cl, bl
shr al, cl
mov ecx, dword [esp + 0xe4]
sub esi, ecx
lea edx, [ecx + 0x10]
mov cl, byte [edx]
mov bl, cl
shl cl, 1
xor cl, al
shr bl, 7
mov byte [edx], cl
dec edx
mov al, bl
lea ecx, [esi + edx]
test ecx, ecx
jge 0x438a50
mov eax, dword [esp + 0xf0]
mov ebx, dword [esp + 0xe4]
inc edi
cmp edi, eax
jl 0x4389d7
mov eax, dword [esp + 0xf0]
pop edi
pop esi
mov byte [ebx], 0x55
push ebp
jge 0x438a9d
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437004]
jne 0x401010
repz ret
jmp fcn.0040160c

Function at 0x4076e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404bff
and dword [ebp - 4], 0
cmp dword [0x439c9c], 0
mov ebx, eax
jne 0x407796
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407847
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407847
push eax
call fcn.00404b8d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439c9c], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439ca0], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439ca4], eax
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x439cac], eax
test eax, eax
je 0x407796
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x439ca8], eax
mov eax, dword [0x439ca8]
cmp eax, ebx
je 0x4077ee
cmp dword [0x439cac], ebx
je 0x4077ee
push eax
call fcn.00404c08
push dword [0x439cac]
mov esi, eax
call fcn.00404c08
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4077ee
test edi, edi
je 0x4077ee
call esi
test eax, eax
je 0x4077e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4077e5
test byte [ebp - 0xc], 1
jne 0x4077ee
or dword [ebp + 0x10], 0x200000
jmp 0x407827
mov eax, dword [0x439ca0]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407827
mov eax, dword [0x439ca4]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439c9c]
call fcn.00404c08
pop ecx
test eax, eax
je 0x407847
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407849
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409a80
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x437004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x23513b4], 0x930
jne 0x409aaa
push str.pawafuwenileyipajizudamoyawilamebavewimogopizukevagejihejarusob
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x23513b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x23511f8], eax
jne 0x409add
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameW
lea edx, [ebp - 0x820]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219