joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478e64
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x478f19
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x428b18]
call fcn.00428be8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x478eec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00428c88
xor ecx, ecx
mov edx, 0x478f2c
mov eax, dword [ebp - 0x10]
call fcn.00428cec
test al, al
je 0x478ed6
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00429078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478ef3
mov eax, dword [ebp - 0x10]
call fcn.00404250
ret

Function at 0x4790c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
mov eax, dword [ebp - 8]
call fcn.004055b0
xor eax, eax
push ebp
push 0x479226
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409f64
test al, al
je 0x4791fe
lea ecx, [ebp - 0x2c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00438004
mov eax, dword [ebp - 0x2c]
mov edx, 0x47923c
call fcn.00405558
jne 0x47914a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x479136
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405628
lea ecx, [ebp - 0x30]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00438004
mov eax, dword [ebp - 0x30]
mov edx, 0x47923c
call fcn.00405558
jne 0x479189
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x479175
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405628
mov eax, dword [ebp - 8]
call fcn.00409f88
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004039ac
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x34]
mov ecx, 0x479248
mov edx, dword [ebp - 4]
call fcn.00405448
mov eax, dword [ebp - 0x34]
call fcn.004055c0
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x38]
mov ecx, 0x479248
mov edx, dword [ebp - 8]
call fcn.00405448
mov eax, dword [ebp - 0x38]
call fcn.004055c0
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x22], 2
mov word [ebp - 0x16], 0x14
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47922d
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00405154
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405154
ret
Function at 0x47924c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
mov eax, dword [ebp - 8]
call fcn.004055b0
xor eax, eax
push ebp
push 0x479322
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409f64
test al, al
je 0x4792fa
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004039ac
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x2c]
mov ecx, 0x479338
mov edx, dword [ebp - 4]
call fcn.00405448
mov eax, dword [ebp - 0x2c]
call fcn.004055c0
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x479338
mov edx, dword [ebp - 8]
call fcn.00405448
mov eax, dword [ebp - 0x30]
call fcn.004055c0
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x22], 2
mov word [ebp - 0x16], 0x14
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479329
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00405154
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405154
ret

Function at 0x47a01c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47a1b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x428b18]
call fcn.00428be8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a199
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47a13f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00428c88
xor ecx, ecx
mov edx, 0x47a1cc
mov eax, dword [ebp - 4]
call fcn.00428cec
test al, al
je 0x47a0cc
mov edx, 0x47a204
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a214
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a224
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a234
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a244
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov eax, dword [ebp - 4]
call fcn.00428c58
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00428c88
xor ecx, ecx
mov edx, 0x47a254
mov eax, dword [ebp - 4]
call fcn.00428cec
test al, al
je 0x47a135
mov edx, 0x47a204
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a214
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a224
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a234
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov edx, 0x47a244
mov eax, dword [ebp - 4]
call fcn.00428fe0
mov eax, dword [ebp - 4]
call fcn.00428c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a1a0
mov eax, dword [ebp - 4]
call fcn.00404250
ret
Function at 0x47af14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x47af7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004788d4
test al, al
jne 0x47af67
push 1
push 0x47af88
push 0x47af88
mov eax, dword [ebp - 4]
call fcn.004055c0
push eax
push 0x47af8c
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47af84
lea eax, [ebp - 4]
call fcn.00405130
ret

Function at 0x47c2b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x47c36f
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push edi
push 0x47c380
push 0x47c380
mov eax, dword [ebp - 4]
call fcn.004055c0
mov esi, eax
push esi
push 0x47c384
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jge 0x47c359
push edi
push 0x47c380
push esi
push 0x47c38c
push 0x47c384
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jge 0x47c359
push edi
push 0x47c380
push esi
push 0x47c39c
push 0x47c384
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
setge bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c376
lea eax, [ebp - 4]
call fcn.00405130
ret
Function at 0x47c84c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47c937
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405130
push 0x20
lea eax, [ebp - 0x31]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x52]
push eax
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00405318
lea eax, [ebp - 0x58]
mov edx, 0x47c950
call fcn.004053fc
mov eax, dword [ebp - 0x58]
call fcn.004055c0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x47c8d2
mov eax, esi
mov edx, 0x47c95c
call fcn.00405184
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x52]
call fcn.0040a7c4
mov edx, dword [ebp - 0x5c]
mov eax, edi
call fcn.00405184
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x60]
mov eax, 8
call fcn.00409b1c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00405184
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x31]
call fcn.0040a7c4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 0xc]
call fcn.00405184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c93e
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00405154
ret

Function at 0x47c970
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x47ca27
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov bl, 0x43
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405318
lea eax, [ebp - 0x14]
mov edx, 0x47ca40
call fcn.004053fc
mov eax, dword [ebp - 0x14]
call fcn.004055c0
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 2
jae 0x47c9f9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0047c84c
cmp dword [ebp - 0x18], 0
jne 0x47c9f9
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004096fc
mov eax, dword [ebp - 0x1c]
mov edx, 0x47ca4c
call fcn.00405558
jne 0x47c9f9
mov byte [ebp - 0xd], 1
jmp 0x47c9ff
inc ebx
cmp bl, 0x5b
jne 0x47c991
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca2e
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405154
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405154
ret
Function at 0x47df70
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 0x47df9a
cmp dword [ebx + 0x64], 0
jne 0x47df9a
cmp dword [ebx + 0x6c], 0
jne 0x47df9a
mov edi, esi
jmp 0x47e021
cmp edi, 0xffffffff
jne 0x47dfa2
dec edi
jmp 0x47e021
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x47e021
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0047d364
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 0x47dfef
mov cx, word [esp]
sub cx, si
jmp 0x47dff1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47dfd8
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 0x47e017
mov cx, word [esp]
sub cx, si
jmp 0x47e019
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47e000
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47e07e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0047dd0c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x47e069
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 0x47e07e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47df7a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4841d8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4cc024
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4841fa
shr eax, 1
xor eax, 0xedb88320
jmp 0x4841fc
shr eax, 1
dec edx
jne 0x4841e8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4841e1
mov byte [0x4cc424], 1
pop esi
pop ebx
ret

Function at 0x484218
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4cc424], 0
jne 0x484232
call fcn.004841d8
mov eax, edi
dec eax
test eax, eax
jl 0x48425a
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cc024]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48423c
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4866fc
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 + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x486796.0
jmp dword [ecx*4 + 0x48672f]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x486761
sub dl, 8
je 0x486770
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48648c
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4864d8
jmp case.0x486796.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x486796.0
movzx ecx, byte [ecx + 0x48679d]
jmp dword [ecx*4 + 0x4867ae]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486528
jmp case.0x486796.0
cmp dl, 3
jne 0x4867db
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48657c
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486538
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4865c0
jmp case.0x486796.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x486806
sub dl, 8
je 0x486812
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4865dc
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x486640
jmp case.0x486796.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x486831
sub dl, 8
je 0x48683d
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4866a8
jmp case.0x486796.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4866d0
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x4868cd
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.00485aa8
test eax, eax
je 0x4868cd
mov eax, ebx
call fcn.004868d8
mov eax, dword [ebp - 8]
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 + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x48686d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4868d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x48690b
dec al
je 0x486946
dec al
je 0x48698b
dec al
je 0x4869fa
jmp 0x486a89
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x486a89
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 0x48691b
jmp 0x486a89
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486a89
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 0x486956
jmp 0x486a89
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486a89
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]
jae 0x4869bb
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4869cf
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]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x4869d9
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 0x48699b
jmp 0x486a89
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486a89
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 0x486a57
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]
mov dword [ebp - 8], 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 [ebp - 0xc], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
movzx ecx, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 8]
pop edx
call fcn.00484264
add al, byte [ebp - 4]
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 0x486a10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489cb4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x489d9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 4]
call fcn.0040a61c
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.004039ac
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
test bl, bl
je 0x489d18
mov eax, 1
jmp 0x489d1a
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x489d67
mov ecx, 0x489db4
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040d7b0
call fcn.00404ac4
xor ebx, ebx
jmp 0x489d88
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489da5
lea eax, [ebp - 4]
call fcn.00405130
ret

Function at 0x48cc08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48cc36
mov eax, ebx
call fcn.0048d6bc
cmp dword [ebx + 0x40], 0
je 0x48cc2f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48cca7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48cc99
cmp dword [ebx + 8], 0
je 0x48cc58
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 0x48cc6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48cc99
cmp dword [ebx + 8], 0
je 0x48cc4b
cmp eax, 3
je 0x48cc7d
dec eax
jne 0x48cc4b
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 0x48cc4b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48cc4b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48ccc5
cmp dword [ebx + 0x14], 0xcc
je 0x48ccc5
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.0048ccd0
pop ebx
ret
Function at 0x4a2034
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, dword [ebp - 8]
jmp 0x4a204d
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4a204c
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00405850
xor ebx, ebx
cmp esi, dword [ebp - 8]
jge 0x4a21c4
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [ebp - 8]
jge 0x4a217b
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [ebp - 8]
jge 0x4a2147
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x4a21b8
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405620
mov byte [eax + ebx - 1], 0x3d
jmp 0x4a21b8
inc ebx
mov eax, edi
call fcn.00405620
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405620
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405620
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [ebp - 8]
jl 0x4a207f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret