joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477bd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x477c10]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x477bee
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x477bfd
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x477c0c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x478fac
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x514588]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x478fd2
push 0
mov eax, dword [0x514588]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4836a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4836ca
cmp dword [ebx + 0x64], 0
jne 0x4836ca
cmp dword [ebx + 0x6c], 0
jne 0x4836ca
mov edi, esi
jmp 0x483751
cmp edi, 0xffffffff
jne 0x4836d2
dec edi
jmp 0x483751
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x483751
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00482a9c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48371f
mov cx, word [esp]
sub cx, si
jmp 0x483721
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x483708
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x483747
mov cx, word [esp]
sub cx, si
jmp 0x483749
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x483730
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4837ae
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0048343c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x483799
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4837ae
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4836aa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x489a04
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x515c3c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x489a26
shr eax, 1
xor eax, 0xedb88320
jmp 0x489a28
shr eax, 1
dec edx
jne 0x489a14
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x489a0d
mov byte [0x51603c], 1
pop esi
pop ebx
ret
Function at 0x489a44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x51603c], 0
jne 0x489a5b
call fcn.00489a04
mov eax, edi
dec eax
test eax, eax
jl 0x489a84
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x515c3c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x489a65
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x48c020
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x48c051
dec al
je 0x48c08d
dec al
je 0x48c0d1
dec al
je 0x48c13c
jmp 0x48c1c6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x48c1c6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48c061
jmp 0x48c1c6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c1c6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48c09d
jmp 0x48c1c6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c1c6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x48c0ff
xor ebp, ebp
jmp 0x48c110
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x48c119
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48c0e1
jmp 0x48c1c6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c1c6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x48c194
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00489a8c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48c150
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x492310
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49233e
mov eax, ebx
call fcn.00492dc4
cmp dword [ebx + 0x40], 0
je 0x492337
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4923af
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4923a1
cmp dword [ebx + 8], 0
je 0x492360
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 0x492372
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4923a1
cmp dword [ebx + 8], 0
je 0x492353
cmp eax, 3
je 0x492385
dec eax
jne 0x492353
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 0x492353
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x492353
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4923cd
cmp dword [ebx + 0x14], 0xcc
je 0x4923cd
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.004923d8
pop ebx
ret

Function at 0x4a2e2c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41aacc]
call fcn.004050ec
xor eax, eax
push ebp
push 0x4a2f70
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x511ec4], 0
jne 0x4a2e7f
mov ecx, dword [0x513fc8]
mov dl, 1
mov eax, dword [0x408150]
call fcn.0040dddc
call fcn.00404098
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403278
mov eax, ebx
call fcn.00404fb8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a2f80
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406464
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404fc8
test eax, eax
jle 0x4a2f17
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a2f10
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004049cc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004049b4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409138
test eax, eax
jne 0x4a2f10
mov ebx, 0x15
jmp 0x4a2f1c
mov ebx, 0x10
jmp 0x4a2f1c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x511ec4]
call fcn.004a2ca4
mov eax, dword [ebp - 8]
call fcn.004a2ca4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040647c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2f77
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404768
lea eax, [ebp - 0x10]
mov edx, dword [0x41aacc]
call fcn.004051bc
ret
Function at 0x4a6774
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004a6214
test byte [ebx + 0x23d], 4
jne 0x4a6809
mov edx, esp
mov eax, ebx
call fcn.0044ce24
push esp
mov eax, ebx
call fcn.00453bfc
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4a67a9
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4a67da
mov ecx, dword [0x514374]
mov dl, 1
mov eax, dword [0x4a295c]
call fcn.0040dddc
call fcn.00404098
mov eax, ebx
call fcn.004a6d48
cmp byte [ebx + 0x57], 0
jne 0x4a6810
mov eax, ebx
call fcn.00453e00
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a6810
push 0
mov eax, ebx
call fcn.00453e00
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a6810
mov eax, ebx
call fcn.00450d58
add esp, 0x10
pop ebx
ret

Function at 0x4aaa74
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4aaa84
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4aaa99
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4aab9c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004aab08
mov esi, eax
mov eax, ebx
call fcn.004038f8
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4af888
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x51231c], 0
mov eax, dword [0x514880]
cmp dword [eax], 2
jne 0x4afa61
mov eax, dword [0x514238]
cmp dword [eax], 5
jl 0x4afa61
call fcn.004aca24
test al, al
jne 0x4af8b9
call fcn.004aca30
call fcn.004aca1c
mov dword [0x512324], eax
push 0x4afa64
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122e8], eax
cmp dword [0x5122e8], 0
jne 0x4af914
mov edx, 0x8000
mov eax, 0x4afa78
call fcn.0040fd18
mov dword [0x512320], eax
mov eax, dword [0x512320]
mov dword [0x512324], eax
push 0x4afa64
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122e8], eax
cmp dword [0x5122e8], 0
je 0x4afa5c
push 0x4afa84
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122ec], eax
cmp dword [0x5122ec], 0
je 0x4afa5c
push 0x4afa90
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122f0], eax
cmp dword [0x5122f0], 0
je 0x4afa5c
mov byte [0x51231c], 1
push 0x4afaa0
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122f4], eax
push 0x4afaac
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122f8], eax
push 0x4afab8
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5122fc], eax
push 0x4afac8
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512300], eax
push 0x4afad8
mov eax, dword [0x512324]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512304], eax
mov edx, 0x8000
mov eax, 0x4afaf0
call fcn.0040fd18
mov dword [0x512328], eax
cmp dword [0x512328], 0
je 0x4afa61
push 0x4afb00
mov eax, dword [0x512328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512308], eax
push 0x4afb1c
mov eax, dword [0x512328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51230c], eax
push 0x4afb3c
mov eax, dword [0x512328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512310], eax
push 0x4afb58
mov eax, dword [0x512328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512314], eax
push 0x4afb70
mov eax, dword [0x512328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512318], eax
ret
call fcn.004af808
ret
Function at 0x4b2194
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b22bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004b2080
mov eax, dword [esi]
call fcn.004059fc
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4ab5c8]
call fcn.00405bd8
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00402dcc
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00402dcc
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004059fc
mov dword [ebp - 0xc], eax
mov eax, dword [0x514758]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004ab85c
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00403278
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004059fc
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004ab78c
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004ab788
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004ab854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22c3
lea eax, [ebp - 8]
mov edx, dword [0x4ab5c8]
call fcn.00405d04
ret

Function at 0x4d77e4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x512c70]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4d7820
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4d7838
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4d7831
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403278
xor edx, edx
mov eax, 0x512e70
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4d78a2
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4d7856
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4d7af9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4d7af2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4d7b0b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4d7b04
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004d76d4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4d7b25
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004d77e4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4d7baa
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4d7bc7
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004d7764
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4d7bf0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d7c08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4d7c21
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4d7c1a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4d7c35
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004d75cc
test bl, bl
jne 0x4d7d08
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x516278
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4d7c6c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4d7c80
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004d7ae0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4d7cb2
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4d7c61
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4d7cd5
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4d7ce6
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4d7cfa
jmp 0x4d7dc3
cmp bl, 1
jne 0x4d7dc3
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x5162d2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4d7d28
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4d7d3c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004d7ae0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4d7d6e
sub ebx, 6
inc dword [ebp - 8]
jne 0x4d7d1d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4d7d95
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4d7da6
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4d7dba
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004d7650
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4db66f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x513a96
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4db6c7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x513ab7
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4db6bd
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4db6cb
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4e709c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4e71c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404744
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4e71a5
mov eax, ebx
call fcn.00402b98
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e71d8
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409690
push dword [ebp - 0x14]
push 0x4e71e4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409690
push dword [ebp - 0x18]
push 0x4e71e4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00409690
push dword [ebp - 0x1c]
push 0x4e71e4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409690
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404ac4
mov eax, esi
call fcn.00402bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e71cf
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 4]
call fcn.00404744
ret