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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x827028]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov esi, ecx
call eax
mov ebx, eax
test ebx, ebx
jne 0x7719c0
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0x10]
push eax
push 6
push ebx
call dword [0x82702c]
mov eax, dword [0x827018]
push 0
push 0
push 3
push 0
push 0
push 0x50
push esi
push ebx
call eax
cmp byte [ebp + 8], 0
mov esi, eax
mov dword [ebp - 8], esi
mov edx, 0x80000000
mov dword [ebp - 4], 0x80000000
je 0x771a07
mov dword [ebp - 4], 0x80803000
mov edx, 0x80803000
mov edi, dword [0x827020]
xor ecx, ecx
mov dword [ebp - 0x16], 0xdadcd9d3
mov word [ebp - 0x12], 0x100
nop dword [eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 4
jb 0x771a20
push 0
push edx
push 0
push 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0x16]
mov byte [ebp - 0x11], 0
push eax
push esi
call edi
mov ecx, dword [0x82701c]
mov edi, eax
push 0
push 0
push 0
push 0
push edi
call ecx
test eax, eax
jne 0x771ab8
push eax
push 0x6a867
call fcn.00771950
add esp, 8
mov dword [ebp - 0x10], edx
mov esi, eax
call dword [0x7fd090]
xor ecx, ecx
cmp eax, esi
jne 0x771ab5
cmp ecx, dword [ebp - 0x10]
jne 0x771ab5
cmp byte [ebp + 8], cl
je 0x771ab5
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x1f
push edi
call dword [0x82700c]
or dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push 4
push eax
push 0x1f
push edi
call dword [0x82702c]
mov esi, dword [ebp - 8]
mov eax, dword [0x827024]
lea ecx, [ebp - 0xc]
push 0
push ecx
push dword [ebp + 0x14]
mov dword [ebp - 0xc], 4
push 0x20000005
push edi
call eax
test eax, eax
mov ecx, 2
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x771af2
push edi
call dword [0x827010]
test esi, esi
je 0x771afd
push esi
call dword [0x827010]
push ebx
call dword [0x827010]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7720c0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov eax, ecx
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret

Function at 0x772340
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret
Function at 0x773340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x77351d
cmp dword [esi + 0x20], 0
je 0x77351d
cmp dword [esi + 0x24], 0
je 0x77351d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x77351d
cmp dword [eax], esi
jne 0x77351d
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x7733a4
cmp eax, 0x39
je 0x7733a4
cmp eax, 0x45
je 0x7733a4
cmp eax, 0x49
je 0x7733a4
cmp eax, 0x5b
je 0x7733a4
cmp eax, 0x67
je 0x7733a4
cmp eax, 0x71
je 0x7733a4
cmp eax, 0x29a
jne 0x77351d
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x7733dd
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
jne 0x7733ed
mov dword [edi + 4], 0x39
xor eax, eax
jmp 0x77340d
test ecx, ecx
mov edx, 0x2a
mov eax, 0x71
cmovne eax, edx
xor edx, edx
push 0
xor ecx, ecx
mov dword [edi + 4], eax
call fcn.00772b80
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, edi
lea eax, [edi + 0x94]
mov dword [edi + 0x28], 0
mov dword [edi + 0xb18], eax
lea eax, [edi + 0x988]
mov dword [edi + 0xb24], eax
lea eax, [edi + 0xa7c]
mov dword [edi + 0xb30], eax
xor eax, eax
mov dword [edi + 0xb20], 0x80dd8c
mov dword [edi + 0xb2c], 0x80df14
mov dword [edi + 0xb38], 0x80de14
mov word [edi + 0x16b8], ax
mov dword [edi + 0x16bc], eax
call fcn.00777ea0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.007d0410
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x80c72a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x80c728]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x80c72c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x80c72e]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x77b1e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0x77b289
cmp dword [esi + 0x7c], ebx
jbe 0x77b289
mov eax, 0xffffff5c
lea ebx, [esi + 0xa4]
sub eax, esi
mov dword [ebp - 4], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d0]
xor eax, ecx
mov edx, dword [esi + 0x100dc]
movzx eax, al
mov edi, dword [esi + 0x100d8]
shr ecx, 8
and edi, 0xfffd
or edi, 2
xor ecx, dword [edx + eax*4]
movzx eax, cl
add eax, dword [esi + 0x100d4]
imul eax, eax, 0x8088405
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x100d8], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0x77b210
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x77fe90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [edx*8]
mov ebx, ecx
cmp eax, 0x400
mov dword [ebp - 4], ebx
mov esi, 0x80
cmovbe esi, edx
push edi
cmp esi, dword [ebx]
je 0x78004a
mov eax, dword [case.0x78f626.0]
test eax, eax
je 0x77fec5
call eax
lea eax, [esi*8]
push eax
call fcn.0077ca90
mov ecx, dword [0x82743c]
add esp, 4
mov edi, eax
mov dword [ebp - 0xc], edi
test ecx, ecx
je 0x77fee6
call ecx
test edi, edi
je 0x78004a
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x77ff60
cmp dword [0x824d00], 0
je 0x77ff56
mov eax, dword [0x827550]
test eax, eax
je 0x77ff11
push eax
call dword [0x824d48]
add esp, 4
push esi
call dword [0x824d24]
mov ecx, dword [0x8273f0]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x827414]
cmp ecx, eax
mov dword [0x8273f0], ecx
cmovg eax, ecx
push esi
mov dword [0x827414], eax
call dword [0x824d1c]
mov eax, dword [0x827550]
add esp, 4
test eax, eax
je 0x77ff60
push eax
call dword [0x824d50]
jmp 0x77ff5d
push esi
call dword [0x824d1c]
add esp, 4
push edi
mov dword [ebx + 0xc], edi
call dword [0x824d24]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push edi
call fcn.007d0410
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x78003e
nop word [eax + eax]
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x77ffcd
nop dword [eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x80f778]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x77ffb0
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x780018
mov eax, dword [esi]
test eax, eax
je 0x77ffeb
mov edx, dword [esi + 4]
jmp 0x77ffed
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x780018
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x78000d
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x780034
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x780034
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x78002a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x77ffa0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x780110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x780164
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x780154
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x80f778]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x780134
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x780166
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.00780060
add esp, 8
test eax, eax
je 0x780180
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x79ae10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov eax, edx
mov dword [esp + 4], eax
push esi
push edi
mov edi, ecx
test eax, eax
je 0x79afa5
test edi, edi
je 0x79ae7e
cmp byte [edi + 0x1e], 0
jne 0x79afa5
cmp byte [edi + 0xe2], 0
je 0x79ae7e
mov eax, 0x44
cmp ax, word [edi + 0xe0]
ja 0x79ae7e
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x79ae7e
mov eax, dword [ebx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x79ae9e
mov dword [edi + 0xe8], eax
jmp 0x79ae9e
push 0x44
call fcn.0077ca90
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x79ae9e
test edi, edi
je 0x79ae96
mov byte [edi + 0x1e], 1
test ebx, ebx
je 0x79afa5
mov edx, dword [esp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
mov edx, dword [edx]
call fcn.0079a860
mov dword [ebx], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 8]
call fcn.0079aa90
mov dword [ebx + 8], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0xc]
call fcn.0079a840
mov dword [ebx + 0xc], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x10]
call fcn.0079a860
mov dword [ebx + 0x10], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x14]
call fcn.0079a840
mov dword [ebx + 0x14], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x18]
call fcn.0079a860
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ebx + 0x18], eax
mov al, byte [ecx + 4]
mov byte [ebx + 4], al
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push esi
call fcn.0079ae10
mov dword [ebx + 0x1c], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x28]
call fcn.0079a840
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, edi
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
call fcn.0079a840
mov dword [ebx + 0x2c], eax
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, 0xfff7
mov dword [ebx + 0x34], 0
mov cx, word [esi + 6]
and cx, ax
mov dword [ebx + 0x24], 0
mov word [ebx + 6], cx
mov eax, ebx
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x79fa60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov esi, dword [edi + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x79fe84
test edx, edx
je 0x79fe84
movzx eax, byte [edx]
lea ecx, [eax + 1]
add eax, 0xffffffed
xor ecx, 1
dec ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x7f
ja 0x79fd9f
movzx eax, byte [eax + 0x79f2ac]
jmp dword [eax*4 + 0x79f28c]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0079f1f0
mov dword [esp + 0x24], eax
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x10], eax
jg 0x79fdcd
mov ecx, esi
call fcn.0078d9a0
test eax, eax
jne 0x79fe06
mov eax, dword [esp + 0x18]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x1b
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
setne al
mov dword [ecx + 0xc], eax
mov byte [ecx + 3], 0
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
cmp dword [esp + 0x1c], 0
je 0x79fe44
mov al, byte [edi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x79fe44
xor ecx, ecx
lea eax, [edi + 0x60]
nop dword [eax]
mov edx, dword [esp + 0x1c]
cmp dword [eax + 0x10], edx
je 0x79fe40
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x79fe20
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
jmp 0x79fe44
mov byte [eax + 9], 1
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x79fe84
mov al, byte [edi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x79fe84
xor ecx, ecx
lea eax, [edi + 0x60]
nop dword [eax]
cmp dword [eax + 0x10], edx
je 0x79fe80
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x79fe60
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 9], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x79ff30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x7a00b5
test edi, edi
je 0x7a00b5
movzx ecx, word [esi + 2]
push ebx
test ecx, 0x1000
jne 0x7a00ac
movzx eax, word [edi + 2]
test eax, 0x1000
jne 0x7a00ac
xor al, cl
test al, 0x10
jne 0x7a00ac
mov al, byte [esi]
cmp al, byte [edi]
jne 0x7a00ac
mov edx, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.0079ff30
test eax, eax
je 0x7a00ac
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.0079ff30
test eax, eax
je 0x7a00ac
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x79ffff
test ecx, ecx
je 0x7a00ac
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x7a00ac
xor ebx, ebx
test edx, edx
jle 0x7a0007
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [edx + eax]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
call fcn.0079ff30
test eax, eax
je 0x7a00ac
mov eax, dword [esi + 0x10]
inc ebx
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
cmp ebx, dword [eax]
jl 0x79ffd0
jmp 0x7a0007
test ecx, ecx
jne 0x7a00ac
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x7a00ac
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x7a00ac
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x24]
jne 0x7a00ac
mov eax, 0x800
test word [esi + 2], ax
je 0x7a0044
test word [edi + 2], ax
je 0x7a00ac
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jmp 0x7a009e
cmp byte [esi], 0x98
je 0x7a00a0
mov esi, dword [esi + 4]
test esi, esi
je 0x7a00a0
test word [edi + 2], ax
jne 0x7a00ac
mov edx, dword [edi + 4]
test edx, edx
je 0x7a00ac
mov bl, byte [esi]
test bl, bl
je 0x7a0088
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x80f778]
cmp al, byte [ecx + 0x80f778]
jne 0x7a0088
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x7a0067
movzx eax, bl
movzx ecx, byte [eax + 0x80f778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x80f778]
sub ecx, eax
jne 0x7a00ac
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7a2490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
push edi
mov edi, eax
test eax, eax
je 0x7a24bd
cmp byte [eax], cl
je 0x7a24b5
inc edi
cmp byte [edi], cl
jne 0x7a24b0
sub edi, eax
and edi, 0x3fffffff
mov eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
cmp dword [edx + 4], eax
jle 0x7a2585
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
xor esi, 1
cmp eax, 2
cmovge esi, eax
test ebx, ebx
je 0x7a2543
mov eax, dword [edx + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x7a2525
sub ecx, edx
mov al, bl
mov dword [ebp - 0x14], ecx
mov edi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x80f778]
cmp al, byte [ecx + 0x80f778]
jne 0x7a2522
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x7a2501
mov edi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x80f778]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x80f778]
sub eax, ecx
jne 0x7a2566
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add esi, esi
mov edx, dword [ebp - 0x18]
push edi
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 4
call fcn.00780110
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x7a257c
jmp 0x7a2569
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edx + 4]
jl 0x7a24d6
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x7a2590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, eax
push edi
test eax, eax
je 0x7a25bd
cmp byte [eax], dl
je 0x7a25b5
nop dword [eax]
inc esi
cmp byte [esi], dl
jne 0x7a25b0
sub esi, eax
and esi, 0x3fffffff
mov eax, dword [ecx + 4]
mov edi, 1
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jle 0x7a2685
push ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
mov eax, edi
xor eax, 1
cmp edi, 2
cmovge eax, edi
add eax, eax
mov ecx, dword [ebx + eax*8 + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x7a264c
mov edx, dword [ebx + eax*8]
mov bl, byte [ecx]
test bl, bl
je 0x7a2634
mov edi, ecx
mov al, bl
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x80f778]
cmp al, byte [ecx + 0x80f778]
jne 0x7a2631
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x7a2610
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x80f778]
movzx eax, bl
movzx eax, byte [eax + 0x80f778]
sub eax, ecx
jne 0x7a2669
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x14
push esi
call fcn.00780110
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x7a267c
jmp 0x7a266c
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x14]
jl 0x7a25e0
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7ced35
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x7fd290]
test eax, eax
je 0x7ced74
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7ced74
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7ced74
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x7ced74
cmp dword [ecx + 0x74], 0xe
jbe 0x7ced74
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x7f38f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7f391d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7f391d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4e9466e1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
mov ecx, 0x194e3d84
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xae904d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae904d
ret
Function at 0x401540
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x34], 0
cmp dword [ebp + 0x10], 0
jne 0x401575
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x401640
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call sym.instapi120.dll_GetSQLInstanceRegStringByID
test eax, eax
jne 0x4015d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jne 0x4015c2
mov eax, dword [ebp + 8]
push eax
call fcn.00404a40
test eax, eax
je 0x4015c2
mov dword [ebp - 0x30], 0x11
mov ecx, dword [ebp + 8]
push ecx
push 0x22
lea edx, [ebp - 0x28]
push edx
call fcn.00401080
jmp 0x4015d0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x401640
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax]
mov word [ebp - 0x36], cx
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x36], 0
jne 0x4015df
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x40]
sar edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx]
ja 0x40162e
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401030
mov eax, 1
jmp 0x401640
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040623d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test edx, edx
je 0x401a8a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [di - 0x38], 0x66

Function at 0x401e80
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]