joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e284
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
push edi
cmp dword [esi + 0x64], 8
jb 0x46e29f
xor eax, eax
jmp 0x46e338
mov eax, dword [esi + 0x78]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
add eax, 0x28
mov ebx, dword [ebp + 8]
push 8
pop edx
cmp byte [eax + 8], 0
je 0x46e2c1
cmp dword [eax], ebx
jne 0x46e2c3
cmp dword [eax + 4], edi
je 0x46e298
jmp 0x46e2c3
mov edx, ecx
inc ecx
add eax, 0x38
cmp ecx, 8
jb 0x46e2b0
mov ecx, dword [ebp - 4]
imul edx, edx, 0x38
add edx, dword [esi + 0x78]
mov byte [edx + 0x30], 1
mov dword [edx + 0x28], ebx
mov dword [edx + 0x2c], edi
inc dword [esi + 0x64]
mov esi, 0xfff
mov byte [edx + 8], 1
mov dword [edx + 0xc], 0x46e341
mov eax, dword [edx + 0x1c]
mov dword [edx + 4], 0x103
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edx + 0x1c]
mov dword [eax + 0x28], 2
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edi
mov dword [eax + 0x38], 0x1000
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x2c], ecx
and ecx, esi
add ecx, esi
shr ecx, 0xc
inc ecx
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
mov eax, dword [edx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4702b0
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x40000080
cpuid
mov esi, ebx
lea edi, [ebp - 0x10]
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0xc], 0x7263694d
jne 0x47033d
cmp dword [ebp - 8], 0x666f736f
jne 0x47033d
cmp dword [ebp - 4], 0x53562074
jne 0x47033d
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x10], 0x31235356
jne 0x47033d
mov eax, 0x40000082
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test byte [ebp - 0x10], 2
je 0x47033d
mov al, 1
jmp 0x47033f
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47229a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x4ebf8c]
push ebx
push esi
push edi
test eax, eax
jne 0x4722c7
push eax
push 0xf4240
push dword [0x4f1bd4]
push dword [0x4f1bd0]
call fcn.004a7bf0
mov dword [0x4ebf8c], eax
mul dword [ebp + 8]
mov ecx, eax
mov esi, edx
rdtsc
mov edi, eax
mov ebx, edx
rdtsc
sub eax, edi
sbb edx, ebx
cmp edx, esi
jb 0x4722d4
ja 0x4722e4
cmp eax, ecx
jb 0x4722d4
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x473291
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004616c2
cmp al, 1
jne 0x473327
mov eax, 0x40000080
lea edi, [ebp - 0x10]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0xc], 0x7263694d
jne 0x473327
cmp dword [ebp - 8], 0x666f736f
jne 0x473327
cmp dword [ebp - 4], 0x53562074
jne 0x473327
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x10], 0x31235356
jne 0x473327
mov eax, 0x40000082
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test byte [ebp - 0x10], 2
je 0x473327
mov al, 1
jmp 0x473329
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477cc8
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4c0548]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], ebx
call fcn.0046172e
test al, al
je 0x477d13
mov eax, 0x40000004
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
jmp 0x477d15
xor eax, eax
test eax, 0x1000
je 0x477d22
mov byte [ebx + 0x59], 1
jmp 0x477d94
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x40000080
cpuid
mov esi, ebx
lea edi, [ebp - 0x1c]
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x18], 0x7263694d
jne 0x477e09
cmp dword [ebp - 0x14], 0x666f736f
jne 0x477e09
cmp dword [ebp - 0x10], 0x53562074
jne 0x477e09
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x1c], 0x31235356
jne 0x477e09
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov ecx, 0x40000001
rdmsr
test edi, edi
je 0x477da7
and eax, 1
or eax, 0
je 0x477e09
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
call fcn.00461788
test dword [ebp - 0x10], 0x20000
je 0x477dc5
mov byte [ebx + 0x58], 1
cmp byte [ebx + 0x59], 0
mov ecx, 0x40000000
rdmsr
jne 0x477de2
or eax, edx
jne 0x477de2
mov eax, 0x1010001
mov edx, 0x10001
wrmsr
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx], eax
mov al, 1
mov dword [ebx + 0x24], ecx
jmp 0x477e0b
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055b8
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x47822e
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push esi
push edi
xor eax, eax
lea edi, [ecx + 0x58]
push 8
mov dword [ecx + 8], eax
mov esi, 0x4b7974
mov dword [ecx + 0xc], eax
mov dword [ecx], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x4782f2
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, dword [esi]
lea edi, [esi + 0x58]
mov byte [eax + esi + 0x18], 0x80
inc eax
cmp eax, 0x38
jbe 0x478334
push 0x40
pop edx
lea ecx, [esi + 0x18]
sub edx, eax
add ecx, eax
call fcn.004a6900
lea eax, [esp + 0xc]
mov ecx, edi
push eax
push 0x40
lea edx, [esi + 0x18]
call fcn.00479be8
xor eax, eax
push 0x40
pop edx
lea ecx, [esi + 0x18]
sub edx, eax
add ecx, eax
call fcn.004a6900
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
mov eax, dword [esi + 0xc]
shld eax, ecx, 3
bswap eax
shl ecx, 3
mov dword [esi + 0x50], eax
lea eax, [esp + 0xc]
bswap ecx
push eax
mov dword [esi + 0x54], ecx
mov ecx, edi
push 0x40
call fcn.00479be8
push 8
mov edx, edi
pop ecx
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [ebx], eax
lea ebx, [ebx + 4]
sub ecx, 1
jne 0x478370
push 0x78
pop edx
mov ecx, esi
call fcn.004a6900
push 8
pop ecx
mov esi, 0x4b7974
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b308
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4c0548]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
call fcn.0047822e
push 0x40
xor ebx, ebx
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.004a73b0
add esp, 0xc
cmp dword [ebp + 8], 0x40
push dword [ebp + 8]
ja 0x47b369
lea eax, [esp + 0x98]
push esi
push eax
call fcn.004a78b0
add esp, 0xc
jmp 0x47b384
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.0047824c
lea edx, [esp + 0x94]
lea ecx, [esp + 0x18]
call fcn.004782f2
mov eax, ebx
mov ecx, 0x36363636
xor dword [esp + eax*8 + 0x94], ecx
xor dword [esp + eax*8 + 0x98], ecx
inc eax
cmp eax, 8
jb 0x47b38b
push 8
pop ecx
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x70]
push 8
pop ecx
add edi, 0x20
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x94]
push eax
push 0x40
mov ecx, esi
call fcn.00479be8
mov eax, 0x6a6a6a6a
xor dword [esp + ebx*8 + 0x94], eax
xor dword [esp + ebx*8 + 0x98], eax
inc ebx
cmp ebx, 8
jb 0x47b3d6
lea eax, [esp + 0x14]
push eax
push 0x40
lea edx, [esp + 0x9c]
lea ecx, [esi + 0x20]
call fcn.00479be8
push 0x40
pop edx
lea ecx, [esp + 0x94]
call fcn.004a6900
push 0x78
pop edx
lea ecx, [esp + 0x18]
call fcn.004a6900
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004055b8
mov esp, ebp
pop ebp
ret 4

Function at 0x47b5a8
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x4c0548]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
call fcn.00479cda
push 0x40
xor ebx, ebx
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004a73b0
add esp, 0xc
cmp dword [ebp + 8], 0x40
push dword [ebp + 8]
ja 0x47b609
lea eax, [esp + 0x90]
push esi
push eax
call fcn.004a78b0
add esp, 0xc
jmp 0x47b624
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00479cfe
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x18]
call fcn.00479d18
mov eax, ebx
mov ecx, 0x36363636
xor dword [esp + eax*8 + 0x8c], ecx
xor dword [esp + eax*8 + 0x90], ecx
inc eax
cmp eax, 8
jb 0x47b62b
push 5
pop ecx
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x70]
push 5
pop ecx
add edi, 0x14
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push eax
push 0x40
mov ecx, esi
call fcn.00479dcc
mov eax, 0x6a6a6a6a
xor dword [esp + ebx*8 + 0x8c], eax
xor dword [esp + ebx*8 + 0x90], eax
inc ebx
cmp ebx, 8
jb 0x47b676
lea eax, [esp + 0x14]
push eax
push 0x40
lea edx, [esp + 0x94]
lea ecx, [esi + 0x14]
call fcn.00479dcc
push 0x40
pop edx
lea ecx, [esp + 0x8c]
call fcn.004a6900
push 0x70
pop edx
lea ecx, [esp + 0x18]
call fcn.004a6900
mov ecx, dword [esp + 0xcc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004055b8
mov esp, ebp
pop ebp
ret 4
Function at 0x47c300
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
cmp esi, 0x10
jne 0x47c33d
mov eax, dword [ecx]
xor eax, dword [edx]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ecx + 4]
xor eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
jmp 0x47c3a3
mov eax, dword [ebp + 8]
push ebx
push edi
push 3
pop edi
xor ebx, ebx
cmp esi, edi
jbe 0x47c381
mov dword [ebp - 4], ecx
sub eax, edx
sub dword [ebp - 4], edx
mov ecx, edx
sub edi, edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx]
add ebx, 4
mov esi, dword [ebp - 0xc]
xor eax, dword [ecx]
mov dword [esi + ecx], eax
lea ecx, [ecx + 4]
mov esi, dword [ebp + 0xc]
lea eax, [edi + ecx]
cmp eax, esi
jb 0x47c35d
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp ebx, esi
jae 0x47c3a1
sub eax, edx
lea edi, [ebx + edx]
sub ecx, edx
mov dword [ebp - 0x14], eax
sub esi, ebx
mov edx, eax
mov al, byte [edi + ecx]
xor al, byte [edi]
mov byte [edi + edx], al
inc edi
sub esi, 1
jne 0x47c393
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x47c3aa
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebx + 8], 0
je 0x47c3e6
mov eax, dword [ecx]
movd xmm0, eax
pshufd xmm0, xmm0, 0
aeskeygenassist xmm0, xmm0, 0
movaps xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x47c41c
movzx eax, byte [ecx]
mov al, byte [eax*4 + 0x4ba401]
mov byte [edx], al
movzx eax, byte [ecx + 1]
mov al, byte [eax*4 + 0x4ba401]
mov byte [edx + 1], al
movzx eax, byte [ecx + 2]
mov al, byte [eax*4 + 0x4ba401]
mov byte [edx + 2], al
movzx eax, byte [ecx + 3]
mov al, byte [eax*4 + 0x4ba401]
mov byte [edx + 3], al
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x47c426
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov eax, dword [0x4c0548]
xor eax, esp
mov dword [esp + 4], eax
test byte [0x4c05fc], 6
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
jne 0x47c488
movups xmm0, xmmword [ecx]
mov edi, dword [ecx + 0x1d0]
lea eax, [ecx + 0x10]
movups xmm1, xmmword [esi]
pxor xmm1, xmm0
movups xmm0, xmmword [eax]
add eax, 0x10
jmp 0x47c472
aesenc xmm1, xmm0
movups xmm0, xmmword [eax + 0x10]
add eax, 0x20
aesenc xmm1, xmm0
movups xmm0, xmmword [eax]
cmp eax, edi
jb 0x47c466
aesenclast xmm1, xmm0
movups xmmword [edx], xmm1
jmp 0x47c490
push edx
mov edx, esi
call fcn.004a69b0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004055b8
mov esp, ebp
pop ebp
ret 4
Function at 0x47c4a4
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4c0548]
xor eax, esp
mov dword [esp], eax
test byte [0x4c05fc], 6
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
jne 0x47c500
mov eax, dword [esi + 0x1d0]
movups xmm1, xmmword [edx]
mov esi, dword [esi + 0x1d4]
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
jmp 0x47c4e3
aesdec xmm1, xmm0
movups xmm0, xmmword [eax + 0x10]
add eax, 0x20
aesdec xmm1, xmm0
movups xmm0, xmmword [eax]
cmp eax, esi
jb 0x47c4de
aesdeclast xmm1, xmm0
movups xmmword [ecx], xmm1
jmp 0x47c508
push ecx
mov ecx, esi
call fcn.004a6bf0
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004055b8
mov esp, ebp
pop ebp
ret 4
Function at 0x47cdf8
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebx + 0x10]
push esi
mov esi, edx
mov dword [ebp - 8], esi
push edi
movups xmm2, xmmword [esi]
cmp eax, 0x10
jb 0x47ce7f
mov edi, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
sub edi, ecx
shr eax, 4
movups xmm0, xmmword [edi + ecx]
mov edx, dword [esi + 0x1d0]
movups xmm1, xmmword [esi]
mov dword [ebp - 4], edx
lea edx, [esi + 0x10]
pxor xmm2, xmm0
movups xmm0, xmmword [edx]
add edx, 0x10
pxor xmm2, xmm1
jmp 0x47ce5f
aesenc xmm2, xmm0
movups xmm0, xmmword [edx + 0x10]
add edx, 0x20
aesenc xmm2, xmm0
movups xmm0, xmmword [edx]
cmp edx, dword [ebp - 4]
jb 0x47ce53
aesenclast xmm2, xmm0
movups xmmword [ecx], xmm2
add ecx, 0x10
sub eax, 1
jne 0x47ce30
mov esi, dword [ebp - 8]
pop edi
movups xmmword [esi], xmm2
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x48141c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4c0548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0xc]
push 0xa
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xa0], edx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0x5c
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a73b0
mov edx, dword [ebp - 0xa0]
add esp, 0xc
push 0x28
pop ecx
push 0x14
pop esi
test edx, edx
jne 0x481479
mov edx, 0x80290104
jmp 0x4814f7
test ebx, ebx
jne 0x481484
mov edx, 0x80290103
jmp 0x4814f7
xor eax, eax
lea esi, [edx + 0x34]
mov edi, ebx
push 5
pop ecx
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0xc]
pop ecx
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x9c]
call fcn.00497510
push 0x28
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
call fcn.004975d0
mov edx, ebx
lea ecx, [ebp - 0x9c]
call fcn.004976e0
push 0x5c
lea eax, [ebp - 0x9c]
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x4814d4
push 0x14
lea ecx, [ebp - 0x40]
xor edx, edx
pop esi
sub ecx, ebx
mov edi, esi
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
sub edi, 1
jne 0x4814e9
push 0x28
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x4814fa
lea ecx, [ebp - 0x40]
mov byte [ecx], 0
inc ecx
sub esi, 1
jne 0x481506
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055b8
mov esp, ebp
pop ebp
ret 8
Function at 0x481a90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x4c0548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xbc], ecx
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov edi, ecx
mov esi, dword [ebp + 8]
push 0x40
pop ebx
stosd dword es:[edi], eax
push ebx
push 0
mov dword [ebp - 0xb8], edx
stosd dword es:[edi], eax
mov dword [ebp - 0xc0], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004a73b0
add esp, 0xc
lea edi, [ebp - 0x58]
xor eax, eax
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
xor byte [ebp + eax - 0x58], 0x36
inc eax
cmp eax, ebx
jb 0x481ae5
lea ecx, [ebp - 0xb4]
call fcn.00497510
push ebx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xb4]
call fcn.004975d0
push dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb4]
call fcn.004975d0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.004976e0
push 0x5c
pop esi
mov ecx, esi
lea eax, [ebp - 0xb4]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x481b39
xor eax, eax
xor byte [ebp + eax - 0x58], 0x6a
inc eax
cmp eax, ebx
jb 0x481b44
lea ecx, [ebp - 0xb4]
call fcn.00497510
push ebx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xb4]
call fcn.004975d0
push 0x14
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.004975d0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.004976e0
lea eax, [ebp - 0xb4]
xor edx, edx
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x481b8e
mov edi, dword [ebp - 0xc0]
lea esi, [ebp - 0x18]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x14
lea eax, [ebp - 0x18]
pop ecx
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x481baa
lea eax, [ebp - 0x58]
mov byte [eax], dl
inc eax
sub ebx, 1
jne 0x481bb5
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055b8
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4822d0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c0548]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
push eax
push 4
push 0x4bbc24
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 3
push eax
call fcn.004842c8
test eax, eax
jle 0x48230e
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x48233e
mov ebx, dword [ebp - 0x14]
xor edi, edi
mov esi, edi
cmp ebx, dword [esi + 0x4bb740]
jne 0x482332
push ebx
push dword [esi + 0x4bb744]
push dword [ebp - 0x10]
call fcn.004a81d0
cmp eax, ebx
je 0x482351
add esi, 0xc
inc edi
cmp esi, 0xcc
jb 0x482317
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055b8
mov esp, ebp
pop ebp
ret
imul eax, edi, 0xc
mov eax, dword [eax + 0x4bb748]
jmp 0x482340
Function at 0x48773d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, ecx
movzx eax, word [esi]
test ax, ax
je 0x487768
rol edx, 0x10
lea esi, [esi + 2]
movzx ecx, word [esi]
movzx eax, ax
xor edx, eax
mov eax, ecx
test cx, cx
jne 0x487753
mov eax, edx
xor edx, edx
div dword [edi + 0xc]
pop edi
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x48df36
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push esi
push edi
rdtsc
mov edi, 0x4e20
mov esi, eax
push edi
call dword [0x4e5420]
rdtsc
sub eax, esi
xor edx, edx
add eax, 0x2710
div edi
xor edi, edi
inc edi
mov esi, eax
cmp dword [0x4e52b8], 0
mov dword [0x4e5488], esi
mov dword [0x4e5480], edi
je 0x48dfa1
mov ecx, dword [0x4e547c]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x4e547c], ecx
cmp esi, edi
jbe 0x48df8b
xor edx, edx
div esi
push esi
push 0x3c
push 0x4a9682
push eax
push 0x4a9626
call fcn.0048dfa4
add esp, 0x14
pop edi
pop esi
ret

Function at 0x48ef26
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0xc0000001
xor edi, edi
jmp 0x48ef50
cmp eax, 0xffffffff
je 0x48f008
inc edi
cmp edi, 0x2710
jae 0x48ef66
push 0x64
call dword [0x4e5420]
mov eax, dword [ebx + 0xc]
add eax, 4
push eax
call dword [0x4e5464]
test eax, 0x800
jne 0x48ef36
xor esi, esi
cmp dword [0x4e5480], 0
je 0x48f002
cmp dword [0x4e52b8], 0
je 0x48efb6
mov ecx, dword [0x4e547c]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x4e547c], ecx
mov ecx, dword [0x4e5488]
cmp ecx, 1
jbe 0x48ef9d
xor edx, edx
div ecx
push edi
push 0x1c5
push 0x4a9696
push eax
push 0x4a9626
call fcn.0048dfa4
add esp, 0x14
cmp dword [0x4e5480], 0
je 0x48f002
cmp dword [0x4e52b8], 0
je 0x48f002
mov ecx, dword [0x4e547c]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x4e547c], ecx
mov ecx, dword [0x4e5488]
cmp ecx, 1
jbe 0x48efe9
xor edx, edx
div ecx
push esi
push 0x1c8
push 0x4a9696
push eax
push 0x4a9626
call fcn.0048dfa4
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov esi, 0xc0000037
jmp 0x48efb6