joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9e30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4c9e4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c9e51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9e40
mov eax, 1
add ebx, ebx
jne 0x4c9e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c9e74
jne 0x4c9e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9e93
dec eax
add ebx, ebx
jne 0x4c9e80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c9e58
add ebx, ebx
jne 0x4c9e8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c9ee5
xor ecx, ecx
sub eax, 3
jb 0x4c9eab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c9f1a
sar eax, 1
mov ebp, eax
jmp 0x4c9eb6
add ebx, ebx
jne 0x4c9eb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9e84
inc ecx
add ebx, ebx
jne 0x4c9ec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9e84
add ebx, ebx
jne 0x4c9ed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c9ec6
jne 0x4c9ee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c9ec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c9f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c9ef6
jmp 0x4c9e46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c9f04
add edi, ecx
jmp 0x4c9e46
pop esi
mov edi, esi
mov ecx, 0x3a8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c9f22
cmp byte [edi], 0x11
jne 0x4c9f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c9f27
lea edi, [esi + 0xc4000]
mov eax, dword [edi]
or eax, eax
je 0x4c9f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcdec4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xce018]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c9f54
mov ecx, edi
jns 0x4c9f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xce01c]
or eax, eax
je 0x4c9f99
mov dword [ebx], eax
add ebx, 4
jmp 0x4c9f71
call dword [esi + 0xce02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4c9fd0
cmp al, 0xef
ja 0x4c9fc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4c9fa5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4c9fb2
mov ebp, dword [esi + 0xce020]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ca004
sub esp, 0xffffff80
jmp 0x46a08c
Function at 0x41b790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41b7aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b7a0
mov eax, 1
add ebx, ebx
jne 0x41b7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b7b8
jne 0x41b7d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b7b8
xor ecx, ecx
sub eax, 3
jb 0x41b7e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b85a
mov ebp, eax
add ebx, ebx
jne 0x41b7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b824
inc ecx
add ebx, ebx
jne 0x41b810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b805
jne 0x41b821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b805
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b835
jmp 0x41b7a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b844
add edi, ecx
jmp 0x41b7a6
pop esi
mov edi, esi
mov ecx, 0x12d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b862
cmp byte [edi], 2
jne 0x41b862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41b867
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b8d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b638]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b6cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b894
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b6d4]
or eax, eax
je 0x41b8d0
mov dword [ebx], eax
add ebx, 4
jmp 0x41b8b1
call dword [esi + 0x1b6d0]
mov ebp, dword [esi + 0x1b6d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41b90a
sub esp, 0xffffff80
jmp 0x405a80

Function at 0x5d8aaf
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
dec edi
or edi, ecx
add ecx, 0xe7dd2e23
call fcn.005d8aeb
sub ecx, ecx
inc ecx
sub edi, ecx
xor dword [edx], esi
and edi, ecx
dec edi
inc edi
add edx, 2
sub ecx, edi
cmp edx, ebx
jl fcn.005d8aaf
add ecx, ecx
add ecx, 0xbb2848ea
ret
Function at 0x447930
Capabilities:
Hash data with md5

Disassembly:
push ebp
push esp
pop ebp
jmp 0x4479da
ret
pop ebp
je 0x447959
jne 0x447959
mov eax, 0x434bd0
mov dword [ebp - 8], 0x9a9323
mov eax, dword [0x43c790]
mov edi, dword [0xe3ec60]
mov dword [0x106ad48], edi
push 0x436038
mov dword [0xe916f4], 1
mov eax, 0x10547570
mov dword [0x422b64], eax
mov ecx, dword [esi - 0x54]
push 0x10092b24
ljmp 0xb1f4
mov eax, dword [ebp + 8]
jmp 0x447a1e
add byte [eax], al
push 0x1003edc0
mov ax, word [ebx + 2]
add dword [ecx + eax], eax
add al, byte [ecx]
add al, 1
add byte [edx - 0x2cffa2b8], ah
lea ecx, [edx + edi + 0x76f988da]
mov edi, 0xad200c
mov dword [ebp - 0x7c], 1
mov esi, dword [0x3155290]
and dword [ebp - 0x34], 0
and ecx, dword [edi + 0x3cf7a01]
jle 0x4479e6
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
inc eax
add al, 0
add byte [eax], al
add bh, al
add byte [eax], al
add byte [eax], al
add bh, al
inc eax
or byte [ecx], al
and eax, dword [ebp + 0x67]
mov dword [eax + 0xc], 0xefcdab89
or al, 0x89
stosd dword es:[edi], eax
int 0xef
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
je 0x447986
jne 0x447986
call dword [0x10012088]
push 0xb5e31c
push 0x10265700
mov eax, 0x11865d74
push bp
je 0x4479f0
jl 0x447a34
inc ebx
ljmp 0x44
push ebp
push 0x447b17

Function at 0x46d310
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x46d34c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x46d344
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x46d34e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x46d334
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46d420
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x46d434
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0x46d44f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x40895a
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov edi, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], esi
pop esi
sub eax, 0xb91d1b5c
call fcn.00408987
xor dword [ecx], edi
inc ecx
sub esi, 0xf9cc8a90
cmp ecx, edx
jne fcn.0040895a
ret
Function at 0x403454
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4096f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409742
test eax, edx
je 0x409745
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409705
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40972b
add ecx, 4
js 0x40971b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409728
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409751
test edx, edx
jne 0x4096f8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4265a8
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 0x4265ae
ret
Function at 0x43a658
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a813
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405604
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43a82c
call fcn.00405198
mov eax, ebx
call fcn.00423264
mov edi, eax
dec edi
test edi, edi
jl 0x43a710
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423238
mov edx, dword [0x434518]
call fcn.00404068
test al, al
je 0x43a70c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00423238
lea edx, [ebp - 0x14]
call fcn.0045140c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405604
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405214
inc esi
dec edi
jne 0x43a6be
movzx eax, byte [0x43a830]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43a83c
mov eax, dword [ebp - 8]
call fcn.0040ea18
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404f18
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045140c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43a82c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0045140c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43a82c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43a82c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43a848
call fcn.0040abd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a81a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ea4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ea4
lea eax, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x10]
call fcn.00404e80
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ea4
ret
Function at 0x47cb80
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x493ffc
Capabilities:
Hash data using sha256

Disassembly:
push ebx
xor ecx, ecx
mov edx, 0x4c3f70
mov ebx, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
inc ecx
add edx, 4
cmp ecx, 8
jne 0x494004
xor edx, edx
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
xor edx, edx
mov dword [eax + 0x6c], edx
pop ebx
ret

Function at 0x4a1cb8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffefc
mov ebp, edx
mov dword [esp], eax
test ecx, ecx
jle 0x4a1cd3
cmp ecx, 0x100
jle 0x4a1ce9
mov ecx, 0x4a1d6c
mov dl, 1
mov eax, dword [0x4087cc]
call fcn.0040d63c
call fcn.00404814
xor ebx, ebx
mov esi, dword [esp]
lea edi, [esp + 4]
mov byte [esi], bl
mov eax, ebx
cdq
idiv ecx
add edx, ebp
movzx eax, byte [edx]
mov byte [edi], al
inc ebx
inc edi
inc esi
cmp ebx, 0x100
jne 0x4a1cf2
xor esi, esi
mov ebx, pe_nt_image_headers32
mov eax, dword [esp]
lea edi, [esp + 4]
movzx edx, byte [eax]
movzx ecx, dl
add esi, ecx
movzx ecx, byte [edi]
add esi, ecx
and esi, 0xff
mov ecx, dword [esp]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
mov ecx, dword [esp]
mov byte [ecx + esi], dl
inc edi
inc eax
dec ebx
jne 0x4a1d19
mov edx, dword [esp]
add edx, 0x100
mov eax, dword [esp]
mov ecx, pe_nt_image_headers32
call fcn.0040316c
add esp, 0x104
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a1d94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebp, dword [ebp + 8]
cmp ebp, 0
jle 0x4a1dcf
mov esi, edx
mov edi, ecx
mov ebx, eax
xor eax, eax
xor edx, edx
inc al
movzx ecx, byte [eax + ebx]
add dl, cl
mov ch, byte [edx + ebx]
mov byte [eax + ebx], ch
mov byte [edx + ebx], cl
add cl, ch
xor ch, ch
mov cl, byte [ecx + ebx]
xor cl, byte [esi]
mov byte [edi], cl
inc esi
inc edi
sub ebp, 1
jne 0x4a1dac
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4a6a74
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
push 0
push 0
call fcn.004a2e1c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp ebx, 0x138
jb 0x4a6b07
xor edx, edx
push ebp
push 0x4a6afd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
xor edx, edx
push ebp
push 0x4a6aec
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [eax], 0x5a4d
jne 0x4a6ade
mov eax, dword [eax + 0x3c]
lea ecx, [esi + eax]
cmp dword [ecx], 0x4550
jne 0x4a6ade
cmp word [ecx + 4], 0x14c
jne 0x4a6ade
mov eax, dword [ecx + 8]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6af3
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4bafe4
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebp]
lea ebx, [eax + 0x18]
movzx edx, word [eax + 0x14]
add ebx, edx
movzx esi, word [eax + 6]
dec esi
test esi, esi
jl 0x4bb0ac
inc esi
mov ecx, dword [ebp + 4]
add ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x4bb06b
mov eax, dword [esp + 8]
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x4bb043
cmp dword [esp + 0x10], 0
jbe 0x4bb0a2
jmp 0x4bb045
jle 0x4bb0a2
push 0x40
push 0x1000
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00407a0c
mov edi, eax
mov dword [ebx + 8], edi
mov eax, edi
xor ecx, ecx
mov edx, dword [esp + 0x10]
call fcn.004036e8
jmp 0x4bb0a2
mov eax, edi
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
push 0x40
push 0x1000
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00407a0c
mov edi, eax
mov eax, dword [esp]
mov edx, dword [ebx + 0x14]
lea edx, [eax + edx]
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.004082cc
mov dword [ebx + 8], edi
add ebx, 0x28
dec esi
jne 0x4bb019
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bb3d0
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov edi, eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, dword [edi]
lea eax, [ecx + 0x18]
xor edx, edx
push edx
push eax
movzx eax, word [ecx + 0x14]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, eax
movzx esi, word [ecx + 6]
dec esi
test esi, esi
jl 0x4bb51c
inc esi
xor ecx, ecx
mov eax, dword [ebx + 0x24]
mov edx, eax
and edx, 0x20000000
cmp edx, 0x20000000
jne 0x4bb429
or ecx, 0x10
mov edx, eax
and edx, 0x40000000
cmp edx, 0x40000000
jne 0x4bb43c
or ecx, 2
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x4bb44f
or ecx, 8
mov edx, eax
and edx, 0x4000000
cmp edx, 0x4000000
jne 0x4bb465
or ecx, 0x200
and eax, 0x2000000
cmp eax, 0x2000000
jne 0x4bb492
push 0x4000
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 8]
xor edx, edx
or eax, dword [esp + 0x10]
or edx, dword [esp + 0x14]
push eax
call fcn.00407a1c
jmp 0x4bb515
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x4bb4e6
cmp dword [esp + 0x10], 0
jne 0x4bb4e6
mov eax, dword [ebx + 0x24]
mov edx, eax
and edx, 0x40
cmp edx, 0x40
jne 0x4bb4cb
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4bb4e6
and eax, 0x80
cmp eax, 0x80
jne 0x4bb4e6
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x4bb4f6
cmp dword [esp + 0x10], 0
jbe 0x4bb512
jmp 0x4bb4f8
jle 0x4bb512
push esp
push ecx
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 8]
xor edx, edx
or eax, dword [esp + 0x14]
or edx, dword [esp + 0x18]
push eax
call fcn.00407a24
add ebx, 0x28
dec esi
jne 0x4bb411
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x44b6a4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x44e1f0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ebp - 4], 0
je 0x44e31c
cmp dword [ebp - 8], 0
je 0x44e31c
test cl, cl
jbe 0x44e31c
push ebp
push 0x405512
push dword fs:[0]
mov dword fs:[0], esp
xor edi, edi
lea eax, [ebp - 0x410]
mov dword [eax], edi
inc edi
add eax, 4
cmp edi, 0x100
jne 0x44e240
xor esi, esi
xor edi, edi
lea ebx, [ebp - 0x410]
xor eax, eax
mov al, cl
push eax
mov eax, edi
pop edx
push ecx
mov ecx, edx
xor edx, edx
div ecx
pop ecx
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx]
add esi, dword [ebx]
add eax, esi
and eax, 0xff
mov esi, eax
mov al, byte [ebx]
mov byte [ebp - 0xd], al
mov eax, dword [ebp + esi*4 - 0x410]
mov dword [ebx], eax
xor eax, eax
mov al, byte [ebp - 0xd]
mov dword [ebp + esi*4 - 0x410], eax
inc edi
add ebx, 4
cmp edi, 0x100
jne 0x44e258
xor esi, esi
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
dec edx
test edx, edx
jb 0x44e308
inc edx
inc esi
and esi, 0xff
add eax, dword [ebp + esi*4 - 0x410]
and eax, 0xff
mov bl, byte [ebp + esi*4 - 0x410]
mov byte [ebp - 0xd], bl
mov ebx, dword [ebp + eax*4 - 0x410]
mov dword [ebp + esi*4 - 0x410], ebx
xor ebx, ebx
mov bl, byte [ebp - 0xd]
mov dword [ebp + eax*4 - 0x410], ebx
mov ebx, dword [ebp + esi*4 - 0x410]
add ebx, dword [ebp + eax*4 - 0x410]
and ebx, 0xff
mov bl, byte [ebp + ebx*4 - 0x410]
xor byte [ecx], bl
inc ecx
dec edx
jne 0x44e2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44e31c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44fc74
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044c56c
xor eax, eax
push ebp
push 0x406fd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0044c0c4
mov eax, dword [ebp - 4]
call fcn.0044c37c
mov esi, eax
mov eax, esi
shr eax, 0x1d
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 3
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov edx, 0x406fe8
call fcn.0044c384
inc esi
mov eax, esi
and eax, 0x3f
mov ebx, 0x40
sub ebx, eax
dec ebx
test ebx, ebx
jb 0x44fcee
inc ebx
lea eax, [ebp - 4]
mov edx, 0x406ff4
call fcn.0044c384
dec ebx
jne 0x44fcde
and esi, 0x3f
cmp esi, 0x38
jbe 0x44fd0b
mov esi, 0x40
lea eax, [ebp - 4]
mov edx, 0x406ff4
call fcn.0044c384
dec esi
jne 0x44fcfb
mov eax, dword [ebp - 4]
call fcn.0044c37c
test eax, eax
jns 0x44fd1a
add eax, 3
sar eax, 2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + eax*4 - 4], ecx
mov eax, dword [ebp - 4]
call fcn.0044c37c
test eax, eax
jns 0x44fd36
add eax, 3
sar eax, 2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 8], ecx
mov dword [ebp - 0x1c], 0x67452301
mov dword [ebp - 0x18], 0xefcdab89
mov dword [ebp - 0x14], 0x98badcfe
mov dword [ebp - 0x10], 0x10325476
mov eax, dword [ebp - 4]
call fcn.0044c37c
mov ebx, eax
test ebx, ebx
jns 0x44fd70
add ebx, 0x3f
sar ebx, 6
dec ebx
test ebx, ebx
jb 0x44fd96
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.0044c57c
mov edx, eax
mov ecx, esi
shl ecx, 6
lea eax, [ebp - 0x1c]
call fcn.0044f3a0
inc esi
dec ebx
jne 0x44fd7b
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.0044fc08
mov eax, dword [ebp - 0x20]
call fcn.0044c57c
mov edx, eax
mov eax, edi
call fcn.0044c2bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406fd7
lea eax, [ebp - 0x20]
call fcn.0044c0c4
lea eax, [ebp - 4]
call fcn.0044c0c4
ret
Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
sbb edx, dword [ecx]
movsb byte es:[edi], byte [esi]
adc ebx, dword [ebx]
adc dword [esi], ecx
xor byte [edi], dl
sbb byte [ecx], bl
sbb dl, byte [eax - 0x6f6f6f70]
nop
nop
nop
nop
nop
nop
nop
mov bh, 0x90
push ebp
mov ebp, esp
mov esp, dword [esi - 2]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
nop
and bh, bh
inc eax
push 0x40d274
cmp edi, edi
adc eax, 0xf5cbc149
adc byte [edx + eax - 0x3b7c2fbf], ch
or al, 0x85
cmc
adc byte [edi], cl
push eax
popal
push esp
rol byte [eax], cl
call dword [0x404464]
add esp, 8
push 1
call dword [0x3b40c135]
nop
push ebp
mov ebp, esp
pop ecx
in al, dx
mov eax, 0xa1000000
add byte [eax], al
mov eax, dword [0x41024c]
test eax, eax
mov eax, dword [0x41404c]
je 0x401736
push 0x413ca6
push eax
call fcn.00405855
mov cx, word [0x6a3374]
jmp 0x4017e5
or eax, dword [ecx]
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ebp, dword [eax + 0x74c08553]
xor ecx, dword [ebx + 0x1051b33e]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
js 0x40a433
jne 0x40a40a
push esi
mov esi, dword [0x40c019]
call esi
xor eax, eax
pop ebp
ret 0xcd
adc dword [edi + 0x4108dc], 0x33
jl 0x40a45f
push 0x416b28
call dword [ecx + 0x40]
rol byte [eax], 0x8b
inc ebp
or byte [eax + 0x5f], ch
push edi
cmp eax, dword [eax]
push 0x40a470
push 0xf855ee28
adc eax, 0xffb1a15f
push dword [eax - 0x6f047540]
mov al, 0xc0
mov bh, bl
nop
nop
lahf
nop
nop
aas
nop
xchg edi, eax
nop
nop
nop
nop
nop
push 0x410728
call dword [0xa440acdf]
xor eax, eax
cwde
nop
nop
cmpsb byte [esi], byte es:[edi]
in al, dx
mov ch, 0xc1
or byte [ebx + 0xe181c8], cl
and eax, dword [eax]
push 0xf981
add al, al
jne 0x40a4a2
test eax, 0x3fd00043
dec edx
add bh, byte [ecx + 0x61]
add byte [ebp + eax - 0x48], dh
add dword [eax], eax
xchg dword [eax], eax
mov eax, 0x870001
pop ebp
ret