joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469328
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4693c7
cmp dword [ebx + 0x94], 0
jne 0x4693c1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4692b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4693c1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469387
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4693c1
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419d64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469396
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4695e0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b4cd8]
cmp dword [eax + 0x30], 0
je 0x46973d
test bl, bl
jne 0x46968e
cmp dword [esi + 0x9c], 0
jne 0x469683
mov eax, esi
call fcn.0046bf78
push eax
push 0x46950c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x469654
mov eax, dword [0x4b4cd8]
call fcn.0046c658
test al, al
je 0x469654
mov eax, dword [0x4b4cfc]
call fcn.00405de8
mov edi, eax
cmp edi, 0
jl 0x469654
push 0
mov eax, dword [0x4b4cfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46963e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x469683
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419d64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x469663
inc dword [esi + 0x9c]
jmp 0x46973d
cmp dword [esi + 0x9c], 0
jle 0x46973d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46973d
cmp dword [esi + 0x44], 0
je 0x4696e9
mov eax, dword [0x4b4cd8]
call fcn.0046c658
test al, al
je 0x4696e9
mov eax, dword [0x4b4cfc]
call fcn.00405de8
mov edi, eax
cmp edi, 0
jl 0x4696e9
push 5
mov eax, dword [0x4b4cfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4696d3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x469718
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419d64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4696f8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4b4cfc
mov ecx, 1
mov edx, dword [0x4694ec]
call fcn.00405f9c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46a224
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46a28e
mov eax, ebx
call fcn.0046c658
test al, al
jne 0x46a28e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404cb4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46a27b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46a29b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c18
jmp 0x46a29b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c18
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46b77c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b7ea
mov eax, esi
call fcn.00453390
test al, al
je 0x46b7ea
mov eax, dword [ebx + 0x84]
call fcn.00452ff0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b7ea
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46b7de
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452ff0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ae34
jmp 0x46b7ea
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046b5b8
pop esi
pop ebx
ret

Function at 0x46dec8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x46df60
push 0
mov eax, ebx
call fcn.00405054
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x46df3b
mov ebx, esi
test ebx, ebx
je 0x46df11
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00405054
push eax
push 1
push 0
mov eax, edi
call fcn.00405054
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x46df56
mov ecx, dword [0x4af978]
mov dl, 1
mov eax, dword [0x46cc74]
call fcn.0040d3c8
call fcn.0040460c
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x46e094
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407ba8]
call fcn.004056a0
xor eax, eax
push ebp
push 0x46e235
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4abaac], 0
jne 0x46e0ef
mov ecx, dword [0x4af800]
mov dl, 1
mov eax, dword [0x4084b0]
call fcn.0040d3c8
call fcn.0040460c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.0040363c
mov eax, ebx
call fcn.00405510
mov dword [ebp - 0x24], eax
mov esi, 0x46e244
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406680
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405520
test eax, eax
jle 0x46e1d8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46e1c4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e34
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46e16a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404e4c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46e180
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404e4c
mov eax, dword [ebp - 0x54]
call fcn.00405054
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e34
mov eax, dword [ebp - 0x58]
call fcn.00405054
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46e1c6
xor eax, eax
test al, al
je 0x46e1d1
mov ebx, 0x15
jmp 0x46e1dd
mov ebx, 0x10
jmp 0x46e1dd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4abaac]
call fcn.0046de60
mov eax, dword [ebp - 4]
call fcn.0046de60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e23c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404be8
lea eax, [ebp - 0xc]
mov edx, dword [0x407ba8]
call fcn.00405770
ret

Function at 0x470b20
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x470b66
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00470960
mov eax, dword [ebp - 4]
call fcn.00405054
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b6d
lea eax, [ebp - 4]
call fcn.00404bc4
ret
Function at 0x470be4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a3b0
add esp, 0x104
pop ebx
ret

Function at 0x4728b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00472310
test byte [ebx + 0x285], 4
jne 0x472945
mov edx, esp
mov eax, ebx
call fcn.0044a82c
push esp
mov eax, ebx
call fcn.00452de0
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4728e5
sub eax, 0xfffffd34
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x260]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x274], 0
jne 0x472916
mov ecx, dword [0x4afa28]
mov dl, 1
mov eax, dword [0x46cb4c]
call fcn.0040d3c8
call fcn.0040460c
mov eax, ebx
call fcn.00472e88
cmp byte [ebx + 0x57], 0
jne 0x47294c
mov eax, ebx
call fcn.00452ff0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47294c
push 0
mov eax, ebx
call fcn.00452ff0
push eax
call sub.user32.dll_ShowWindow
jmp 0x47294c
mov eax, ebx
call fcn.0044f1dc
add esp, 0x10
pop ebx
ret

Function at 0x47fa6c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4b4dc4], 0
jne 0x47fa8f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47f9e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b4dc4], eax
ret

Function at 0x4864f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486557
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.004052e4
push edi
mov eax, dword [ebp - 4]
call fcn.00405054
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48655e
lea eax, [ebp - 4]
call fcn.00404bc4
ret

Function at 0x48ab34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48abbe
xor edx, edx
push ebp
push 0x48ab9f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48abbe
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48cd64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.0040363c
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x48cd9e
cmp byte [ebp - 0xa], 0x31
jne 0x48cd9c
mov bl, 1
jmp 0x48cd9e
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48e3e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00453390
test al, al
je 0x48e499
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x48e477
cmp word [esi + 0x642], 0
je 0x48e431
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x644]
call dword [esi + 0x640]
cmp byte [ebp - 9], 0
jne 0x48e44e
cmp dword [ebp - 4], 0
jbe 0x48e44a
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x48e44e
xor ebx, ebx
jmp 0x48e450
mov bl, 1
test bl, bl
jne 0x48e499
mov eax, dword [0x4afb74]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x48e499
mov eax, dword [0x4afb74]
mov eax, dword [eax]
call fcn.0046a6d8
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x48e499
cmp byte [esi + 0x5ec], 0
jne 0x48e499
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00472cc0
cmp eax, 4
jne 0x48e40e
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490f68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x490f95
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x491014
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048f74c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x490fe2
mov cx, word [esp]
sub cx, si
jmp 0x490fe4
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490fcb
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49100a
mov cx, word [esp]
sub cx, si
jmp 0x49100c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490ff3
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x491071
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00490c3c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x49105c
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x491071
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x490f72
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x496a4c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
mov eax, 0xedb88320
xor esi, esi
mov ebx, dword [esp]
mov edx, esi
mov ecx, 0xfffffff8
mov edi, edx
and edi, 1
dec edi
jne 0x496a72
shr edx, 1
xor edx, eax
jmp 0x496a74
shr edx, 1
inc ecx
jne 0x496a64
mov dword [ebx], edx
inc esi
add ebx, 4
cmp esi, 0x100
jne 0x496a5d
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x496a8c
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x496a95
mov eax, dword [ebp - 4]
add esp, 0xfffff7f0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041c414
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
or esi, 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
sub eax, dword [ebp + 8]
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x496b42
cmp dword [ebp - 0xc], 0x2800
jl 0x496af0
mov dword [ebp - 8], 0x2800
jmp 0x496af6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x2814]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x10]
jge 0x496b3a
mov eax, esi
shr eax, 8
and eax, 0xffffff
movzx edx, byte [ebp + ebx - 0x2814]
xor esi, edx
and esi, 0xff
xor eax, dword [esi*4 + 0x4b4e20]
mov esi, eax
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x496b11
mov eax, dword [ebp - 8]
sub dword [ebp - 0xc], eax
jmp 0x496ad8
mov ebx, esi
xor ebx, 0xffffffff
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x499a2c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4b522c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x499a4e
shr eax, 1
xor eax, 0xedb88320
jmp 0x499a50
shr eax, 1
dec edx
jne 0x499a3c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x499a35
mov byte [0x4b562c], 1
pop esi
pop ebx
ret

Function at 0x499a6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4b562c], 0
jne 0x499a83
call fcn.00499a2c
mov eax, edi
dec eax
test eax, eax
jl 0x499aab
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b522c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x499a8d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x49c718
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x49c7b2.0
jmp dword [ecx*4 + 0x49c74b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49c77d
sub dl, 8
je 0x49c78c
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c3c4
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c41c
jmp case.0x49c7b2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x49c7b2.0
movzx ecx, byte [ecx + 0x49c7b9]
jmp dword [ecx*4 + 0x49c7ca]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c4c8
jmp case.0x49c7b2.0
cmp dl, 3
jne 0x49c7f7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c51c
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c4d8
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c560
jmp case.0x49c7b2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49c822
sub dl, 8
je 0x49c82e
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c58c
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c5f8
jmp case.0x49c7b2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49c84d
sub dl, 8
je 0x49c859
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c6b4
jmp case.0x49c7b2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49c6dc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x49c8fd
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049b8d0
test eax, eax
je 0x49c8fd
mov eax, ebx
call fcn.0049c908
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x49c896
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49c908
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x49c939
dec al
je 0x49c974
dec al
je 0x49c9b9
dec al
je 0x49ca22
jmp 0x49caac
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49caac
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x49c949
jmp 0x49caac
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49caac
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49c984
jmp 0x49caac
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49caac
mov esi, 1
movzx eax, 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 0x49c9e8
xor ebp, ebp
jmp 0x49c9f8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49ca01
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49c9c9
jmp 0x49caac
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49caac
mov esi, 1
movzx eax, 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 0x49ca7b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, 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
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00499ab4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49ca36
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a3734
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x4a3777
cmp dword [ebp - 0x90], 5
ja 0x4a377b
cmp dword [ebp - 0x90], 5
jne 0x4a3777
cmp dword [ebp - 0x8c], 1
jae 0x4a377b
xor eax, eax
jmp 0x4a377d
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4a8ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a8b35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b61f4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4a8b0b
inc ebx
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [0x4b61f4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405054
push eax
call sub.kernel32.dll_DeleteFileA
inc esi
dec ebx
jne 0x4a8aea
mov eax, dword [0x4b61f4]
call fcn.00403d98
mov eax, dword [0x4b61f8]
call fcn.00403d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b3c
lea eax, [ebp - 4]
call fcn.00404bc4
ret