joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4785b8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5abe14
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4785da
shr eax, 1
xor eax, 0xedb88320
jmp 0x4785dc
shr eax, 1
dec edx
jne 0x4785c8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4785c1
mov byte [0x5ac214], 1
pop esi
pop ebx
ret

Function at 0x4785f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5ac214], 0
jne 0x47860f
call fcn.004785b8
mov eax, edi
dec eax
test eax, eax
jl 0x478638
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5abe14]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x478619
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47b154
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47b185
dec al
je 0x47b1c1
dec al
je 0x47b205
dec al
je 0x47b270
jmp 0x47b2fa
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47b2fa
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47b195
jmp 0x47b2fa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47b2fa
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47b1d1
jmp 0x47b2fa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47b2fa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x47b233
xor ebp, ebp
jmp 0x47b244
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x47b24d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47b215
jmp 0x47b2fa
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47b2fa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47b2c8
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00478640
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47b284
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x488f94
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x488fc2
mov eax, ebx
call fcn.00489a48
cmp dword [ebx + 0x40], 0
je 0x488fbb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x489033
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x489025
cmp dword [ebx + 8], 0
je 0x488fe4
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 0x488ff6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x489025
cmp dword [ebx + 8], 0
je 0x488fd7
cmp eax, 3
je 0x489009
dec eax
jne 0x488fd7
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 0x488fd7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x488fd7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x489051
cmp dword [ebx + 0x14], 0xcc
je 0x489051
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.0048905c
pop ebx
ret
Function at 0x499930
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x5a49a0
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x49994f
mov esi, 1
mov edx, 0x5a4aa8
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4999c9
dec ebx
je 0x4999ed
dec ebx
je 0x499a11
dec ebx
je 0x499a34
jmp 0x499a4d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x499a4d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x499a4d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x499a4d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4999b6
inc esi
add edx, 0x40
cmp esi, 9
jne 0x49996b
mov esi, 0x20
mov eax, 0x5a49d0
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x499a72
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x499aac
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x5a4a57]
test bl, bl
jbe 0x499add
lea eax, [esi + 0x3e0]
call fcn.00499a8c
lea eax, [esi + 0x3fc]
call fcn.00499a8c
dec bl
jne 0x499ac3
mov cl, 0x30
mov edi, 0x5a4a28
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x499aff
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x499b0e
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x499ae7
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x499b1c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004998c4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x499b38
mov bl, 0x1c
mov esi, 0x5a49f0
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004998c4
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004998c4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x499b54
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.00499aac
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x499b7c
mov bl, 1
mov eax, 0x5a4920
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x499bb5
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x499bc2
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x499ba1
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x499bec
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.00499930
jmp 0x499c14
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.00499930
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x499c1c
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x499bd4
mov bl, 0x40
mov esi, 0x5a4960
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x499c82
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x499c91
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x499c6a
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004998ec
inc ebx
inc esi
cmp bl, 0x41
jne 0x499c9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49aae8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x49ab94
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x49ab8f
mov eax, ebp
mov edx, 8
call fcn.00405300
push 1
mov eax, ebp
call fcn.004051cc
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.00499b1c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49c6e4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x49c6ed
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49c891
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049ca2c
xor eax, eax
push ebp
push 0x49c86f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x49c73c
call fcn.004046d8
jmp 0x49c876
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x49c7fe
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x49c78c
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x49c78c
lea eax, [ebp - 0x10]
call fcn.0049c4b4
push dword [ebp - 0x10]
push 0x49c8ac
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405034
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x49c7c1
lea eax, [ebp - 0x18]
call fcn.0049c4b4
push dword [ebp - 0x18]
push 0x49c8ac
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405034
mov eax, dword [ebp - 0x14]
call fcn.00405174
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x49c859
lea eax, [ebp - 0x20]
call fcn.0049c4b4
push dword [ebp - 0x20]
push 0x49c8ac
push ebx
push 0x49c8b8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405034
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0049c6b4
jmp 0x49c859
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x49c820
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x49c820
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x49c836
mov eax, ebx
call fcn.00405174
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x49c859
lea eax, [ebp - 0x24]
mov ecx, 0x49c8b8
mov edx, ebx
call fcn.00404fc0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0049c6b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c876
mov eax, dword [ebp - 4]
call fcn.0049ca38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c898
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404cd8
ret
Function at 0x4b0404
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00405300
mov eax, esi
call fcn.004051cc
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.0040360c
cmp byte [ebp - 1], 0
jne 0x4b0477
mov eax, esi
call fcn.004051cc
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4b0490
sub al, 2
jb 0x4b0497
jmp 0x4b049c
mov ebx, 2
jmp 0x4b049c
mov ebx, 1
mov eax, esi
call fcn.004051cc
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4b057e
test edi, edi
jle 0x4b04f8
mov eax, esi
call fcn.004051cc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.004051cc
mov byte [eax + ebx - 1], 0
jmp 0x4b0572
test edi, edi
jge 0x4b053e
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004051cc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4b0572
mov eax, esi
call fcn.004051cc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004051cc
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4b04b4
mov al, byte [ebp - 1]
sub al, 1
jb 0x4b058e
sub al, 2
jb 0x4b05c7
jmp 0x4b060e
cmp edi, 2
jne 0x4b0594
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4b060e
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004051cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5a4da0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4b05a4
jmp 0x4b060e
cmp edi, 2
jne 0x4b05cd
dec ebx
test ebx, ebx
jle 0x4b0609
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004051cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5a4da4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4b05d9
jmp 0x4b0609
inc ebx
mov eax, esi
call fcn.004051cc
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4b05fc
mov eax, esi
mov edx, ebx
call fcn.00405300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b7570
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + 0x14]
add eax, ecx
add eax, 0x18
cmp ebx, dword [eax + 0xc]
jae 0x4b758e
mov eax, ebx
jmp 0x4b75c9
xor edx, edx
add eax, 0x34
jmp 0x4b75be
movzx esi, word [ecx + 6]
lea edi, [edx + 1]
cmp esi, edi
jne 0x4b75a5
mov esi, dword [ecx + 0x50]
jmp 0x4b75a7
mov esi, dword [eax]
cmp ebx, dword [eax - 0x28]
jb 0x4b75ba
cmp esi, ebx
jbe 0x4b75ba
sub ebx, dword [eax - 0x28]
add ebx, dword [eax - 0x20]
mov eax, ebx
jmp 0x4b75c9
inc edx
add eax, 0x28
movzx esi, word [ecx + 6]
cmp edx, esi
jb 0x4b7595
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4b7bf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x4ba948
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4baad8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
jne 0x4baac2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
jmp 0x4baab5
mov eax, dword [ebp - 4]
add eax, 0x98
xor edx, edx
call fcn.004bc360
mov eax, dword [ebp - 4]
add eax, 0x98
push eax
mov eax, dword [ebp - 4]
add eax, 0x6c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4baa14
xor eax, eax
push ebp
push 0x4baa0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
call fcn.004bae08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4baab5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
push eax
call sub.kernel32.dll_ResetEvent
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], ebx
cmp ebx, 0xea
jne 0x4baaa6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x4baa99
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x84]
mov eax, dword [ebp - 4]
cmp esi, dword [eax + 0x80]
jbe 0x4baab5
mov edx, esi
mov eax, dword [ebp - 4]
add eax, 0x7c
call fcn.00402e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
jmp 0x4baab5
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
jmp 0x4baac2
cmp ebx, 0x3e5
jne 0x4baac2
mov eax, dword [ebp - 4]
mov byte [eax + 0x70], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
je 0x4ba983
pop dword fs:[0]
add esp, 8
push 0x4baadf
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x70]
ret
Function at 0x4bac08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x71], 0
jne 0x4bad27
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4bad23
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004bb914
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
test ebx, ebx
je 0x4bad27
mov eax, dword [ebp - 4]
add eax, 0xac
xor edx, edx
call fcn.004bc360
mov eax, dword [ebp - 4]
add eax, 0xac
push eax
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x68]
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], esi
test bl, bl
je 0x4bad0c
xor eax, eax
push ebp
push 0x4bad05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_FlushFileBuffers
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x467
mov eax, dword [ebp - 4]
call fcn.004ba914
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.004bc560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad27
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
push eax
call sub.kernel32.dll_ResetEvent
ret
cmp esi, 0x3e5
jne 0x4bad1d
mov eax, dword [ebp - 4]
mov byte [eax + 0x71], 1
jmp 0x4bad27
mov byte [ebp - 5], 0
jmp 0x4bad27
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4bba04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bbaca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x4bba77
lea eax, [ebp - 0x20e]
push eax
push 0
push 0x4bbad8
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jbe 0x4bba77
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x20e]
push eax
call sub.kernel32.dll_CreateFileA
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x4bba81
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbad1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004bc47c
test al, al
je 0x4bbab7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x41be0c]
call fcn.004215d4
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x4bbac9
mov dl, 1
mov eax, dword [0x4b99ec]
call fcn.00403d58
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
ret