joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463f94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x524488]
cmp byte [eax + 0xc], 0
je 0x464101
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4640fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x525bd8], 0
jne 0x463fe8
push 0x464108
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x464110
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bd8], eax
cmp dword [0x519fc4], 0
jne 0x4640e3
push 0x464120
call sub.kernel32.dll_LoadLibraryA
mov dword [0x519fc4], eax
cmp dword [0x519fc4], 0
je 0x4640e3
push 0x46412c
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bdc], eax
push 0x46413c
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525be0], eax
push 0x464150
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525be4], eax
push 0x464168
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525be8], eax
push 0x464180
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bec], eax
push 0x464194
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bf0], eax
push 0x4641ac
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bf4], eax
push 0x4641c4
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bf8], eax
push 0x4641e0
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525bfc], eax
push 0x4641ec
mov eax, dword [0x519fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x525c00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464101
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x464974
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00402e90
cmp dword [ebp - 4], 0
je 0x464a28
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
mov ax, word [ebp + 8]
mov edx, dword [ebp - 4]
mov dx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x4649e4
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.004648e0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00402a38
jmp 0x4649f4
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00402a38
mov dx, word [ebp - 6]
dec edx
test dx, dx
jb 0x464a0e
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x464a05
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464a40
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 0x464ac2
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 0x464a7f
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x464a78
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 0x464b14
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 0x464b3a
mov dword [ebp - 0x10], 1
jmp 0x464c88
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
test ax, ax
jne 0x464b52
mov dword [ebp - 0x10], 2
jmp 0x464c88
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 0x464c88
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.00464b00
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00402e90
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x464c4f
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.00464974
cmp dword [ebp - 0x18], 1
jne 0x464c04
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00464a30
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00464a30
jmp 0x464c16
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00464a30
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00464a40
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x464c43
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 0x464c38
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x464bc1
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x464c7e
inc ecx
lea eax, [ebp - 0xa8]
mov dx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x464c78
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 0x464c60
dec word [ebp - 0x22]
jne 0x464b92
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x464cf8
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 0x464d00
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 0x464d19
pop ebx
ret
Function at 0x467128
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 0x467157
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4671d6
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00465b78
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 0x4671a4
mov cx, word [esp]
sub cx, si
jmp 0x4671a6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46718d
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 0x4671cc
mov cx, word [esp]
sub cx, si
jmp 0x4671ce
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4671b5
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4672bb
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00466e94
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x467222
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 0x467238
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x467132
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x4672bb
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x46727a
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x46725f
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.00465b60
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x4672bb
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x4672bb
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x4672a0
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.00465b60
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46eb10
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 0x46eb55
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 0x46eb32
mov esp, ebp
pop ebp
ret 4
Function at 0x4713b4
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 0x471493
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 + 0x51f9c0]
mov edx, 8
call fcn.0046e974
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x51f9c0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x51f9c0]
mov edx, 0x10
call fcn.0046e974
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x51f9c0]
mov edx, 0x18
call fcn.0046e974
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 0x471416
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475654
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4756ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x523c54]
cmp byte [eax], 0
je 0x47567e
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x475698
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 4]
call fcn.00404904
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 0x4756b5
lea eax, [ebp - 4]
call fcn.00404434
ret

Function at 0x4756bc
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 0x47571b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x523c54]
cmp byte [eax], 0
je 0x4756ea
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x475705
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 4]
call fcn.00404904
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 0x475722
lea eax, [ebp - 4]
call fcn.00404434
ret
Function at 0x47579c
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 0x475814
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x523c54]
cmp byte [eax], 0
je 0x4757cc
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x4757f9
lea eax, [ebp - 4]
mov edx, esi
call fcn.0040466c
mov eax, dword [ebp - 4]
call fcn.00404904
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 8]
call fcn.00404904
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 0x47581b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404458
ret

Function at 0x475ac4
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.00407ae4
cmp ax, 0xffff
jne 0x475ae5
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 0x475b66
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x475b66
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x475b2c
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x475b1f
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x475b66
cmp dword [ebp + 8], 0
jle 0x475b66
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00431ee0
mov esi, eax
test esi, esi
jle 0x475b5d
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407af8
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 0x476668
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 0x4766cc
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.004046b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004099e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4766d3
lea eax, [ebp - 0xc]
call fcn.00404434
ret
Function at 0x476728
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 0x476784
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476753
call fcn.0040f4d0
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 0x476784
call fcn.0040f4d0
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x47c18c
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 0x47c203
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004046cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409fac
mov eax, dword [ebp - 4]
call fcn.0047c0cc
test al, al
je 0x47c1d3
mov byte [ebp - 5], 1
jmp 0x47c1e8
mov eax, dword [ebp - 0xc]
call fcn.00404904
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 0x47c20a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404458
ret

Function at 0x47c500
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 0x47c55a
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 + 0x520828]
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 0x47c528
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x47c70c
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 0x47c769
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.0047c65c
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.0047c5c4
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 0x47c72e
mov esp, ebp
pop ebp
ret
Function at 0x47c7c4
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.00404704
dec eax
test eax, eax
jl 0x47c83a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00404904
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0047c5c4
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x47c81d
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0047c65c
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.0047c5c4
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 0x47c83f
mov esp, ebp
pop ebp
ret
Function at 0x489000
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 0x4890c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x113]
mov edx, 0x4890d4
call fcn.0040a2cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.00404ecc
je 0x489068
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.004046cc
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
call fcn.0040a2cc
jmp 0x489079
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.00404cf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4890c8
lea eax, [ebp - 0x21c]
call fcn.00404434
ret

Function at 0x494af4
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.004048f4
mov eax, dword [ebp - 8]
call fcn.004048f4
lea eax, [ebp - 0x160]
mov edx, dword [0x408144]
call fcn.004050e0
xor eax, eax
push ebp
push 0x494c04
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x494c1c
push 0x494c28
push 0x494c34
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.004047c4
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00409e68
test eax, eax
jne 0x494bc8
push 0
push 0
push 0
push dword [ebp - 8]
push 0x494c40
push dword [ebp - 0x154]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004047c4
mov eax, dword [ebp - 0x168]
call fcn.00404904
push eax
push 0x494c44
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x160]
call fcn.00409eb8
test eax, eax
je 0x494b7d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c0b
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.00404458
lea eax, [ebp - 0x160]
mov edx, dword [0x408144]
call fcn.004051b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404458
ret

Function at 0x494dac
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.004048f4
mov eax, dword [ebp - 8]
call fcn.004048f4
xor eax, eax
push ebp
push 0x494e3a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x494e13
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404904
push eax
mov eax, dword [ebp - 4]
call fcn.00404904
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 0x494e1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494e41
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404458
ret
Function at 0x494f0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push 0x494f2c
push 0x494f38
call sub.user32.dll_FindWindowA
test eax, eax
je 0x494f28
push 0
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
pop ebx
ret

Function at 0x494f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048f4
mov eax, dword [ebp - 8]
call fcn.004048f4
xor eax, eax
push ebp
push 0x495041
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41bdd8]
call fcn.00403504
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x41bdd8]
call fcn.00403504
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49501f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004216a8
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00420ef8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x494ff6
inc ebx
xor esi, esi
lea edx, [ebp - 0x15]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, esi
movzx eax, word [ebp - 0xa]
shr eax, cl
not al
xor byte [ebp - 0x15], al
lea edx, [ebp - 0x15]
mov ecx, 1
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x10]
inc esi
dec ebx
jne 0x494fc5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004215d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495026
mov eax, dword [ebp - 0x10]
call fcn.00403534
mov eax, dword [ebp - 0x14]
call fcn.00403534
ret