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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x47304e
mov dx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x47300b
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x473004
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4730a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4730c6
mov dword [ebp - 0x10], 1
jmp 0x473214
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
test ax, ax
jne 0x4730de
mov dword [ebp - 0x10], 2
jmp 0x473214
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00402e90
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x473214
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.0047308c
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00402e90
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4731db
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
mov ax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00472f00
cmp dword [ebp - 0x18], 1
jne 0x473190
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00472fbc
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00472fbc
jmp 0x4731a2
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00472fbc
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00472fcc
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x4731cf
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
mov bl, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x4731c4
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x47314d
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x47320a
inc ecx
lea eax, [ebp - 0xa8]
mov dx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x473204
mov dl, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x4731ec
dec word [ebp - 0x22]
jne 0x47311e
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x473284
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x47328c
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x4732a5
pop ebx
ret
Function at 0x4756b4
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 0x4756e3
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x475762
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00474104
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 0x475730
mov cx, word [esp]
sub cx, si
jmp 0x475732
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x475719
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 0x475758
mov cx, word [esp]
sub cx, si
jmp 0x47575a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x475741
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x475847
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00475420
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4757ae
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
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
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x4757c4
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x4756be
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x475847
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x475806
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x4757eb
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.004740ec
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x475847
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x475847
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x47582c
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x16c0]
push eax
call fcn.004740ec
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47d09c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x47d0e1
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x47d0be
mov esp, ebp
pop ebp
ret 4
Function at 0x47f940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00402a38
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x47fa1f
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x561b70]
mov edx, 8
call fcn.0047cf00
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x561b70]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x561b70]
mov edx, 0x10
call fcn.0047cf00
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x561b70]
mov edx, 0x18
call fcn.0047cf00
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x47f9a2
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47ffa4
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 0x480038
push 0
mov eax, ebx
call fcn.00404860
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x480013
mov eax, esi
call fcn.00404660
inc eax
push eax
mov eax, esi
call fcn.00404860
push eax
push 1
push 0
mov eax, edi
call fcn.00404860
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 0x48002e
mov ecx, dword [0x566138]
mov dl, 1
mov eax, dword [0x47fcb8]
call fcn.0040dfd4
call fcn.00403d20
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x480074
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 [0x41ba84]
call fcn.0040503c
xor eax, eax
push ebp
push 0x4801b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x561f94], 0
jne 0x4800c7
mov ecx, dword [0x565e10]
mov dl, 1
mov eax, dword [0x4081fc]
call fcn.0040dfd4
call fcn.00403d20
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e90
mov eax, ebx
call fcn.00404d00
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4801c8
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.00406434
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d10
test eax, eax
jle 0x48015f
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 0x480158
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404628
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404610
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409148
test eax, eax
jne 0x480158
mov ebx, 0x15
jmp 0x480164
mov ebx, 0x10
jmp 0x480164
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 [0x561f94]
call fcn.0047ff34
mov eax, dword [ebp - 8]
call fcn.0047ff34
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040644c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4801bf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043b4
lea eax, [ebp - 0x10]
mov edx, dword [0x41ba84]
call fcn.0040510c
ret

Function at 0x483ef4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x483f4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x565f50]
cmp byte [eax], 0
je 0x483f1e
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x483f38
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 4]
call fcn.00404860
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 0x483f55
lea eax, [ebp - 4]
call fcn.00404390
ret

Function at 0x483f5c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483fbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x565f50]
cmp byte [eax], 0
je 0x483f8a
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x483fa5
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 4]
call fcn.00404860
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483fc2
lea eax, [ebp - 4]
call fcn.00404390
ret
Function at 0x48403c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4840b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x565f50]
cmp byte [eax], 0
je 0x48406c
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x484099
lea eax, [ebp - 4]
mov edx, esi
call fcn.004045c8
mov eax, dword [ebp - 4]
call fcn.00404860
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 8]
call fcn.00404860
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4840bb
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b4
ret

Function at 0x484364
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407b6c
cmp ax, 0xffff
jne 0x484385
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x484406
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x484406
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4843cc
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x4843bf
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x484406
cmp dword [ebp + 8], 0
jle 0x484406
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00433384
mov esi, eax
test esi, esi
jle 0x4843fd
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407b88
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x484f08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x484f6c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404610
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409a80
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484f73
lea eax, [ebp - 0xc]
call fcn.00404390
ret
Function at 0x484fc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x485024
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x484ff3
call fcn.0040f5e4
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402a38
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x485024
call fcn.0040f5e4
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x48aa2c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48aaa3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404628
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a044
mov eax, dword [ebp - 4]
call fcn.0048a96c
test al, al
je 0x48aa73
mov byte [ebp - 5], 1
jmp 0x48aa88
mov eax, dword [ebp - 0xc]
call fcn.00404860
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48aaaa
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043b4
ret

Function at 0x48ada0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48adfa
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x5629d8]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x48adc8
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x48afac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x48b009
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.0048aefc
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.0048ae64
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x48afce
mov esp, ebp
pop ebp
ret
Function at 0x48b064
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00404660
dec eax
test eax, eax
jl 0x48b0da
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00404860
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0048ae64
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x48b0bd
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0048aefc
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.0048ae64
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x48b0df
mov esp, ebp
pop ebp
ret
Function at 0x4978a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x497961
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x113]
mov edx, 0x497974
call fcn.0040a364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.00404e28
je 0x497908
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404628
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
call fcn.0040a364
jmp 0x497919
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00404c50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497968
lea eax, [ebp - 0x21c]
call fcn.00404390
ret

Function at 0x4a331c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404850
mov eax, dword [ebp - 8]
call fcn.00404850
lea eax, [ebp - 0x160]
mov edx, dword [0x4081dc]
call fcn.0040503c
xor eax, eax
push ebp
push 0x4a342c
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4a3444
push 0x4a3450
push 0x4a345c
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404720
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00409f00
test eax, eax
jne 0x4a33f0
push 0
push 0
push 0
push dword [ebp - 8]
push 0x4a3468
push dword [ebp - 0x154]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404720
mov eax, dword [ebp - 0x168]
call fcn.00404860
push eax
push 0x4a346c
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x160]
call fcn.00409f50
test eax, eax
je 0x4a33a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3433
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004043b4
lea eax, [ebp - 0x160]
mov edx, dword [0x4081dc]
call fcn.0040510c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b4
ret

Function at 0x4a3624
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404850
mov eax, dword [ebp - 8]
call fcn.00404850
xor eax, eax
push ebp
push 0x4a36b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a368b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404860
push eax
mov eax, dword [ebp - 4]
call fcn.00404860
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3697
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a36b9
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b4
ret