joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bffe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x469ce8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c03e
cmp byte [ebx], 0xa
jne 0x41c03e
or byte [eax + edi + 0x28], 4
jmp 0x41c043
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c141
mov al, byte [edx]
cmp al, 0x1a
je 0x41c123
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c072
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c097
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c0a1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c054
jmp 0x41c141
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c11e
cmp dword [ebp - 0xc], 0
je 0x41c11e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x469ce8]
test byte [eax + edi + 0x28], 0x48
je 0x41c0f8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c0e3
mov byte [esi], dl
jmp 0x41c0f4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x469ce8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c141
cmp byte [ebp - 1], 0xa
jne 0x41c107
cmp esi, ebx
jne 0x41c107
mov byte [esi], 0xa
jmp 0x41c140
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c141
mov byte [esi], 0xd
jmp 0x41c140
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x469ce8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c13d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c141
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c14a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x469ce8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c18d
cmp word [esi], dx
jne 0x41c18d
or byte [edi + eax + 0x28], 4
jmp 0x41c192
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c2e5
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c2c5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c1d4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c20a
cmp eax, edx
jae 0x41c216
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c1ac
jmp 0x41c2e5
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c2c1
cmp dword [ebp - 0x14], 0
je 0x41c2c1
mov eax, dword [ebx*4 + 0x469ce8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c299
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c262
mov word [esi], cx
jmp 0x41c295
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x469ce8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x469ce8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x469ce8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c2e5
pop ebx
cmp word [ebp - 4], bx
jne 0x41c2aa
cmp esi, dword [ebp + 0xc]
jne 0x41c2aa
mov word [esi], bx
jmp 0x41c2e2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c2e5
push 0xd
jmp 0x41c2de
mov ecx, dword [ebx*4 + 0x469ce8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c2dc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c2e5
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e0dc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e179
push ebx
push esi
call fcn.0041e0a5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cd2a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e126
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e178
push edi
push eax
call fcn.00417686
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e146
call fcn.0041745c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e177
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cd2a
add esp, 0x20
test eax, eax
jne 0x41e165
push edi
call fcn.0041745c
jmp 0x41e16d
push ebx
call fcn.0041745c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425c70
Capabilities:
Parse pe header

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

Function at 0x427000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x469378
mov ebx, ecx
call fcn.00401200
push eax
call fcn.004021f0
push 8
call fcn.00409271
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427062
push 4
call fcn.00409271
add esp, 4
test eax, eax
je 0x427040
mov dword [eax], 0x427bc0
jmp 0x427042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4021d0
push 0
push 0
call fcn.00410396
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42709d
jmp 0x427064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4270aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4270b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00405ba5
add esp, 0xc
test eax, eax
jne 0x4270b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004092a1
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.00405d5b
push 1
call fcn.00405d5b
push 5
call fcn.00405d5b
push 2
call fcn.00405d5b
int3

Function at 0x4275d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x24c
mov eax, dword [0x467f00]
Function at 0x778604
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x778651
push dword [esp]
js 0x7785ee
pushfd
mov dword [esp + 8], esp
jmp 0x778656
pushfd
mov dword [esp + 8], esp
call fcn.0077862a

Function at 0x778610
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 2]
jmp 0x778632
lea esp, [esp + 2]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
push di
lea esp, [esp + 2]
mov dword [esp], edi
jmp 0x778671
pushfd
jmp 0x776c5c

Function at 0x795fde
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [ebp - 0x10]
jmp 0x795fd5
sub edi, dword [ebp + 0xc]
jmp 0x79638c
sub esp, 0x12
push dword [esp + 0xb]
jmp 0x796013
movzx eax, word [ebp - 4]
jmp 0x7960b4
inc ecx
mov al, 0x75
sub eax, 0x83960f3c
in al, dx
or byte [ebp + 0xf0c2464], cl
scasd eax, dword es:[edi]
ret
invalid
jbe 0x795a46
ja 0x795fcd
in al, dx
jge 0x795fa7
je 0x795f43
xor bl, dh
dec esi
fdivr qword [ebx - 0x59a06faa]
cmp edi, esi
lea esp, [esp + 0x24]
jmp 0x795faf
dec dword [ebp - 0x10]
jmp 0x795a46
shr eax, 0x10
call 0x795fde
rol dword [ebx - reloc.USER32.dll_MessageBoxA], 1
insb byte es:[edi], dx
and al, 7
lea esp, [esp + 2]
jmp 0x796044
jne 0x795b28
je 0x796025
sub eax, 0xbb4829b9
js 0x796019
lcall 0x527b, 0x5b9a6f08
lea esp, [esp + 2]
lea esp, [esp + 0x14]
and al, 0x14
test ecx, ecx
ja 0x795a72
jbe 0x795ffd
cmp edi, dword [ebp + 0xc]
pushfd
mov word [esp], sp
pop word [esp]
lea esp, [esp + 2]
jmp 0x79604f
sub ecx, eax
lea esp, [esp + 0x1c]
jmp 0x795aa4
jb 0x795b28
jae 0x795a72
scasb al, byte es:[edi]
xor al, 0xaa
int 0x3c
invalid
add eax, ecx
xchg si, bx
call fcn.007960bf
aad 0x4f
fistp qword [edx - 0x629d6db7]
in al, dx
inc esi
jno 0x7960c4
movzx ecx, dx
mov bh, 0xca
shl eax, 0x10
mov edi, dword [esp]
jmp 0x79609e
mov ecx, dword [ebp + 8]
jmp 0x7960cd
lea esp, [esp + 8]
pop esi
bswap ebx
jmp 0x796111
leave
ret
mov dword [ecx], eax
setge bl
mov bl, byte [esp]
pop ebx
jmp 0x7960f0
lea esp, [esp + 0x10]
or eax, reloc.USER32.dll_MessageBoxA
clc
sub esp, 0x13
mov dword [esp + 0xa], ebx
lea esp, [esp + 3]
jmp 0x796144
Function at 0x799640
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [eax], 0
jmp 0x79928e
mov ecx, dword [ebp + 0x14]
jmp 0x7992e5
inc eax
jmp 0x798d59
dec dword [ebp + 0x14]
test ecx, ecx
call fcn.007992cf
lea esp, [esp + 0xc]
jmp 0x799476
jne 0x798d0b
lea eax, reloc.USER32.dll_MessageBoxA
call 0x799436
lea ecx, [ecx + 0xa]
movzx esi, byte [ecx]
pop ecx
jmp 0x7994c8
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
jmp 0x7994d7
shl edx, 8
jmp 0x799517
movzx esi, byte [eax + 0xd]
shl edx, 8
jmp 0x799538
xor edx, esi
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
jmp 0x7994fb
shl edx, 8
jmp 0x799544
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
jmp 0x799522
xor edx, esi
shl edx, 8
xor edx, eax
jmp 0x7996be
mov edi, edx
xchg bh, bl
lea ebp, [ebp*4]
jmp 0x7995b1
lea esp, [esp + 0x40]
xor eax, 0x1000000
mov ebx, 0xb6c47ec0
mov bx, word [esp]
jmp 0x79956a
and edi, esi
pushal
bsf bx, bp
mov byte [esp + 8], ah
mov bp, word [esp + 0x16]
jmp 0x7995d4
shr edi, 8
mov bh, 0xcb
stc
mov bl, dl
jmp 0x799594
and edi, 0xff0000
mov bh, byte [esp]
setge bl
lea ebx, [edi*4]
jmp 0x7995e7
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
mov bh, 0x3b
mov bp, 0x5497
lea esp, [esp + 0x20]
jmp 0x7995bb
mov ebx, dword [ecx + 4]
and eax, 0xff000000
mov bp, 0xc607
jmp 0x799629
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + reloc.USER32.dll_MessageBoxA]
jmp 0x799580
mov edi, edx
lea ebp, [esi + edi]
push ecx
jmp 0x799637
xor eax, edi
bswap ebp
bsr di, ax
bsf di, si
jmp 0x799613
shr edi, 0x18
call 0x799640
stosb byte es:[edi], al
call fcn.00799688
fadd dword [ebp - 0x2b]
mov esp, 0xf66afc4f
add edi, esi
cmp esp, dword [edi - 0x72]
sbb dword [eax + 0x5b], edi
mov dword [esi], edx
pop esi
mov eax, edx
shr eax, 0x10
jmp 0x799600
push esi
mov esi, ecx
lea esi, [esi + 0xc]
jmp 0x799656

Function at 0x799660
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 0
jmp 0x799669
xor eax, edi
pushal
xchg si, cx
sub esp, 0x18
jmp 0x799698
Function at 0x7996be
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [eax], 0
jmp 0x79928e
mov ecx, dword [ebp + 0x14]
jmp 0x7992e5
inc eax
jmp 0x798d59
dec dword [ebp + 0x14]
test ecx, ecx
call fcn.007992cf
lea esp, [esp + 0xc]
jmp 0x799476
jne 0x798d0b
lea eax, reloc.USER32.dll_MessageBoxA
call 0x799436
lea ecx, [ecx + 0xa]
movzx esi, byte [ecx]
pop ecx
jmp 0x7994c8
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
jmp 0x7994d7
shl edx, 8
jmp 0x799517
movzx esi, byte [eax + 0xd]
shl edx, 8
jmp 0x799538
xor edx, esi
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
jmp 0x7994fb
shl edx, 8
jmp 0x799544
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
jmp 0x799522
xor edx, esi
shl edx, 8
xor edx, eax
jmp 0x7996be
mov edi, edx
xchg bh, bl
lea ebp, [ebp*4]
jmp 0x7995b1
lea esp, [esp + 0x40]
xor eax, 0x1000000
mov ebx, 0xb6c47ec0
mov bx, word [esp]
jmp 0x79956a
and edi, esi
pushal
bsf bx, bp
mov byte [esp + 8], ah
mov bp, word [esp + 0x16]
jmp 0x7995d4
shr edi, 8
mov bh, 0xcb
stc
mov bl, dl
jmp 0x799594
and edi, 0xff0000
mov bh, byte [esp]
setge bl
lea ebx, [edi*4]
jmp 0x7995e7
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
mov bh, 0x3b
mov bp, 0x5497
lea esp, [esp + 0x20]
jmp 0x7995bb
mov ebx, dword [ecx + 4]
and eax, 0xff000000
mov bp, 0xc607
jmp 0x799629
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + reloc.USER32.dll_MessageBoxA]
jmp 0x799580
mov edi, edx
lea ebp, [esi + edi]
push ecx
jmp 0x799637
xor eax, edi
bswap ebp
bsr di, ax
bsf di, si
jmp 0x799613
shr edi, 0x18
call 0x799640
stosb byte es:[edi], al
call fcn.00799688
fadd dword [ebp - 0x2b]
mov esp, 0xf66afc4f
add edi, esi
cmp esp, dword [edi - 0x72]
sbb dword [eax + 0x5b], edi
mov dword [esi], edx
pop esi
mov eax, edx
shr eax, 0x10
jmp 0x799600
push esi
mov esi, ecx
lea esi, [esi + 0xc]
jmp 0x799656

Function at 0x79979a
Capabilities:
Encrypt data using aes

Disassembly:
cmc
lea esp, [esp + 4]
popal
jmp 0x7997b2
jmp 0x799784
stc
call int.007997bf
cmp byte [ebp + 0xbbf4c25], dh
sub ah, byte [esi + 0x1fae5334]
push edi
mov esi, 0x60532889
push ebx
pushal
mov esi, 0x11b62630
mov dword [esp + 0x10], eax
jmp 0x79979c

Function at 0x7997bf
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
popal
add ebx, 0xc
mov edx, dword [ebx]
jmp 0x79980c
mov dword [esp + 0x18], edx
cmc
popal
mov edi, dword [esp]
mov edi, 0xd422e500
jmp 0x79984e
pop ebx
pushal
xchg di, si
stc
mov bp, 0xb304
jmp 0x7997f6
btr bp, di
mov dword [esp], ecx
popal
jmp 0x799834
and ecx, esi
push edi
pushal
jmp 0x799818
lea edi, [edi*4]
lea edi, reloc.USER32.dll_MessageBoxA
mov ecx, dword [edi]
pop edi
call fcn.0079985b
cld
iretd
shr ecx, 8
add edi, ebp
mov di, 0xf4a5
mov edi, edx
jmp 0x79982e
Function at 0x79985b
Capabilities:
Encrypt data using aes

Disassembly:
push dword [esp + 1]
jmp 0x799865
shr edi, 0x10
jmp 0x7999c0
lea esp, [esp + 8]
and ecx, 0xff0000
call fcn.007998b7
shr edi, 0x18
pushfd
jmp 0x79998c
xor ecx, edx
lea esp, [esp + 0x10]
xor ecx, dword [ebx]
jmp 0x799963
add ebx, 4
mov dword [edi], ecx
mov edx, 0x62971181
mov edx, 0x6c42ac2f
jmp 0x799972
and edx, ebp
lea edi, [edx + edi]
mov edi, 0x6f5838f7
mov di, word [esp]
mov edi, dword [esp]
jmp 0x799929
lea edi, [eax + 0x10]
xor ecx, dword [eax]
bsr dx, si
rcr dl, cl
not edx
jmp 0x799933
mov edx, esi
mov edx, esi
mov edx, dword [eax + 4]
jmp 0x79999f
movzx edi, byte [edi*4 + 0x77053c]
xor ecx, edi
sbb di, si
mov di, 0x8135
jmp 0x799950
xor edx, ecx
mov cx, di
mov dword [eax + 0x14], edx
bswap ecx
jmp 0x7999ea
and edi, esi
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
push ax
lea esp, [esp + 2]
jmp 0x7998ea
mov dword [eax + 0x18], ecx
and edx, ecx
jmp 0x799a0c
mov ch, 0x76
setb ch
mov ecx, dword [eax + 8]
xor ecx, edx
jmp 0x7999d4
xor edx, ecx
jmp 0x799cd1
mov edx, dword [eax + 0xc]
sub esp, 0xf
add esp, 4
sub esp, 0xe
lea esp, [esp + 1]
jmp 0x7999f6
pop eax
call fcn.00799acf
add eax, 0x95660393
and bl, byte [ebp + 0x1ced8a14]
lodsb al, byte [esi]
add eax, eax
cmp dword [edx], reloc.USER32.dll_MessageBoxA
and al, 4
lea esp, [esp + 4]
push 0xa
mov eax, dword [esp]
pushfd
lea esp, [esp + 4]
jmp 0x799a3f
jne 0x76537f
xchg bh, al
lea ebp, [eax + edx]
push edi
jmp 0x799a55
mov dword [eax + 0x1c], edx
cmc
lea esp, [esp + 0x18]
cmp ebx, 0x771d64
jmp 0x799c67

Function at 0x7998b7
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
and edi, 0xff000000
call 0x79989a
pushfd
push ebp
mov ebp, edx
jmp 0x799910
mov word [esp + 3], ax
lea esp, [esp + 2]
jmp 0x7998f9
lea ebp, [ebp*4]
lea ebp, reloc.USER32.dll_MessageBoxA
mov edx, dword [ebp]
pop ebp
pushfd
push word [esp + 3]
jmp 0x7998cc

Function at 0x799acf
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pop esi
call 0x799a65
lea esp, [esp + 4]
pop edi
mov ebx, eax
jmp 0x799a7e

Function at 0x799bdc
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
jmp 0x799bdf
cmc
jmp 0x799bc6
mov ebp, ecx
mov dword [ebp], eax
pop ebp
bsr eax, esi
mov eax, 0x3a8d9de4
jmp 0x799c3a
lea edi, [eax*4]
mov di, sp
lea edi, [edi*4]
jmp 0x799c17
mov eax, dword [edx + 4]
cmc
stc
mov dword [edx], edi
jmp 0x799bef

Function at 0x799dbe
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 0
jmp 0x799dc0
jmp 0x799da8
mov ebx, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
jmp 0x799e05
and ebx, ecx
push ebx
lea esp, [esp + 8]
xor edi, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
jmp 0x799de9
Function at 0x79a03c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
popal
jmp 0x79a049
sub esp, 0x1d
lea esp, [esp + 1]
lea esp, [esp + 0x20]
jmp 0x79a026
shr edi, 0x18
stc
jmp 0x79a070
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
clc
and edi, ecx
jmp 0x79a0d6
movzx ebx, byte [esi + 0xa]
jmp 0x79a0bc
mov ebx, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
and ebx, ecx
xor edi, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
mov bl, bh
jmp 0x79a07c

Function at 0x79a095
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
and ebx, ecx
clc
lea esp, [esp + 0x2c]
jmp 0x79a060
lea esp, [esp + 2]
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
sub esp, 0xc
pop word [esp + 5]
lea esp, [esp + 2]
jmp 0x799f11
and edx, ecx
call 0x799f86
lea esp, [esp + 8]
xor edi, dword [edx*4 + reloc.USER32.dll_MessageBoxA]
mov dh, bl
jmp 0x799f70
sbb bl, byte [ebp + 0x11a7540d]
insb byte es:[edi], dx
jg 0x799faa
int1
add bl, cl
adc bl, dl
movzx ebx, byte [esi + 9]
push ebx
jmp 0x799f45
ror dword [edi], cl
mov dh, 0x5e
or dword [ebx - 0x15], edx
aad 0x8b
push esi
or al, ch
das
add byte [eax], al
add al, bh
mov edx, dword [esi + 8]
call fcn.00799fa7
clc
jb 0x799f5b
xchg dword [edx - 0x3f], esi
cli
ja 0x799f68
xor byte [ecx - 0x31], 0xea
add eax, 0x3c95148b
add eax, 0xca210077
jmp 0x799f4c
mov dword [esi + 4], edi
lea edi, [edx*4]
mov di, 0x9550
push ax
jmp 0x799fb5
and al, 0x66
mov dword [esp], edi
lea esp, [esp + 2]
jmp 0x799f91
lea esp, [esp + 2]
jmp 0x799ff8
and ebx, ecx
lea esp, [esp + 0x18]
xor edi, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
lea ebx, [eax*4]
jmp 0x799f65
pushal
mov dword [esp], edx
call fcn.0079a03c
int 0x41
sal dword [eax + reloc.USER32.dll_MessageBoxA], 1
nop
test dword [edx], reloc.USER32.dll_MessageBoxA
popfd
cmp al, 5
ja 0x799fff
mov ebx, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
bt edi, edx
jmp 0x799fe2
mov ebx, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
cmc
sub esp, 0x19
pop word [esp + 0xa]
lea esp, [esp + 3]
jmp 0x799fcc
xor edi, dword [ebx*4 + reloc.USER32.dll_MessageBoxA]
inc ebx
inc ebx
movzx ebx, byte [esi + 6]
pushfd
jmp 0x79a010
mov edi, dword [edi*4 + reloc.USER32.dll_MessageBoxA]
and edi, ecx
sub esp, 0x1e
jmp 0x799f2c

Function at 0x817962
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x817881
push word [esp + 0x1e]
pushfd
lea esp, [esp + 2]
mov dword [esp + 0x40], edi
lea esp, [esp + 0x40]
jmp 0x817897
push ecx
pushal
mov word [esp + 0x15], ax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
pushal
jmp 0x8178d8
pop word [esp]
push dx
push dword [esp + 2]
mov dword [esp + 1], edi
mov dword [esp + 4], esp
jmp 0x817923
Function at 0x403274
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x421bec
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 0x421bf2
ret

Function at 0x42c7e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x42c80e
mov eax, ebx
call fcn.0042d294
cmp dword [ebx + 0x40], 0
je 0x42c807
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x42c87f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x42c871
cmp dword [ebx + 8], 0
je 0x42c830
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x42c842
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x42c871
cmp dword [ebx + 8], 0
je 0x42c823
cmp eax, 3
je 0x42c855
dec eax
jne 0x42c823
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x42c823
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x42c823
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x42c89d
cmp dword [ebx + 0x14], 0xcc
je 0x42c89d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0042c8a8
pop ebx
ret

Function at 0x43df18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], eax
xor ebp, ebp
mov eax, dword [esp]
call fcn.00404d58
mov edi, eax
test di, di
jbe 0x43e046
mov word [esp + 4], 1
movzx eax, word [esp + 4]
mov edx, dword [esp]
mov al, byte [edx + eax - 1]
cmp al, 0xfa
jb 0x43df98
sub al, 0xfa
mov edx, eax
and dl, 1
xor dl, 1
neg dl
sbb ebp, ebp
and eax, 0xff
shr eax, 1
mov bl, byte [eax + 0x47b140]
push 0
xor eax, eax
mov al, bl
push eax
call fcn.0040784c
mov esi, eax
push 0
cmp ebp, 1
sbb eax, eax
inc eax
and eax, 0x7f
mov eax, dword [eax*4 + 0x47b144]
push eax
mov eax, esi
push eax
push ebx
call fcn.00407a14
jmp 0x43e038
mov word [esp + 6], 0
cmp al, 0xf0
jb 0x43dfb0
and eax, 0xff
mov bl, byte [eax + 0x47b044]
jmp 0x43dfd2
cmp al, 0xe4
jb 0x43dfbb
mov ebx, eax
sub bl, 0x74
jmp 0x43dfd2
cmp al, 0x20
jae 0x43dfc3
mov ebx, eax
jmp 0x43dfd2
push eax
call fcn.004079f4
mov word [esp + 6], ax
mov bl, byte [esp + 6]
push 0
xor eax, eax
mov al, bl
push eax
call fcn.0040784c
mov esi, eax
test ebp, ebp
jne 0x43dfff
mov ax, word [esp + 6]
shr ax, 8
test ax, ax
jbe 0x43dfff
push 0
push 0
push 0x2a
push 0x10
call fcn.00407a14
push 0
push 0
mov eax, esi
push eax
push ebx
call fcn.00407a14
push 0
push 2
mov eax, esi
push eax
push ebx
call fcn.00407a14
test ebp, ebp
jne 0x43e038
mov ax, word [esp + 6]
shr ax, 8
test ax, ax
jbe 0x43e038
push 0
push 2
push 0x2a
push 0x10
call fcn.00407a14
inc word [esp + 4]
dec di
jne 0x43df3e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret