joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415960
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x834dd0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4159a0
cmp byte [ebx], 0xa
jne 0x4159a0
or byte [eax + edi + 0x28], 4
jmp 0x4159a5
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x415aa3
mov al, byte [edx]
cmp al, 0x1a
je 0x415a85
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4159d4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4159f9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x415a03
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4159b6
jmp 0x415aa3
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415a80
cmp dword [ebp - 0xc], 0
je 0x415a80
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x834dd0]
test byte [eax + edi + 0x28], 0x48
je 0x415a5a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x415a45
mov byte [esi], dl
jmp 0x415a56
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x834dd0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x415aa3
cmp byte [ebp - 1], 0xa
jne 0x415a69
cmp esi, ebx
jne 0x415a69
mov byte [esi], 0xa
jmp 0x415aa2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004164e0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x415aa3
mov byte [esi], 0xd
jmp 0x415aa2
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x834dd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415a9f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415aa3
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x415aac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x834dd0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x415aef
cmp word [esi], dx
jne 0x415aef
or byte [edi + eax + 0x28], 4
jmp 0x415af4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x415c47
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x415c27
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x415b36
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x415b6c
cmp eax, edx
jae 0x415b78
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x415b0e
jmp 0x415c47
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415c23
cmp dword [ebp - 0x14], 0
je 0x415c23
mov eax, dword [ebx*4 + 0x834dd0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x415bfb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x415bc4
mov word [esi], cx
jmp 0x415bf7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x834dd0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x834dd0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x834dd0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x415c47
pop ebx
cmp word [ebp - 4], bx
jne 0x415c0c
cmp esi, dword [ebp + 0xc]
jne 0x415c0c
mov word [esi], bx
jmp 0x415c44
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004164e0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x415c47
push 0xd
jmp 0x415c40
mov ecx, dword [ebx*4 + 0x834dd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415c3e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415c47
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x416d3e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x8331c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x416d89
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00416edd
test al, al
jne 0x416d83
sub edx, 2
cmp edx, edi
jne 0x416d69
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416dab
lea eax, [edi + 2]
cmp edx, eax
je 0x416dab
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416c8a
add esp, 0x10
jmp 0x416ea5
push esi
lea ecx, [ebp - 0x255]
call fcn.00416edd
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416dee
push dword [ebp - 0x25c]
jmp 0x416d9b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x416e2b
cmp word [ebp - 0x226], 0
je 0x416e4c
cmp word [ebp - 0x226], ax
jne 0x416e2b
cmp word [ebp - 0x224], 0
je 0x416e4c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416c8a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x416e98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x416e05
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x416e80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x416ea5
push 0x416aba
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041a970
add esp, 0x10
jmp 0x416e75
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406da7
leave
ret

Function at 0x41c7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c80d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c80d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40d8e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40d8f2
pop dword [ebp - 0xc]
mov eax, 0xac9d1d3b
sub eax, 0xac5c4449
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4d49d193
add dword [ebp - 0x1c], 0x10873b8
mov dword [ebp - 0x18], 0x2ac52976
sub dword [ebp - 0x18], 0xf891dd31
mov dword [ebp - 0x14], 0xe11fa1a0
add dword [ebp - 0x14], 0x6b2ca28e
mov dword [ebp - 0x10], 0x3e3ff0ec
sub dword [ebp - 0x10], 0x3e3ff0ec
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xd8affa19
sub dword [ebp - 0x1c], 0x643d90c3
mov dword [ebp - 0x18], 0xea2425b6
add dword [ebp - 0x18], 0x57483bbf
mov dword [ebp - 0x14], 0x7f4ecc88
sub dword [ebp - 0x14], 0x1bdf601c
mov dword [ebp - 0x10], 0x7a0d0f42
add dword [ebp - 0x10], 0x85f2f0be
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xd6e49276
add eax, 0x29611e0a
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x4e48b
push 0
call eax
mov ecx, 0x4bdb
xor edi, edi
add edi, eax
mov edx, 0x92f54b29
sub edx, 0x92adeb29
add edx, dword [ebp - 0xc]
mov esi, 0x5a7ccbf6
sub esi, 0xcb1d2178
sub dword [ebp - 4], 0xd552501e
mov ebx, dword [edx]
add dword [ebp - 4], 0x86104b65
xor ebx, esi
mov dword [edi], ebx
sub dword [ebp - 4], ecx
add edi, 0x2069d8f
sub edi, 0x2069d8b
add edx, 4
loop 0x40da0b
add eax, 0xac86ef1a
add eax, 0x537a3325
xor ebx, ebx
add ebx, eax
add eax, 0xef30685c
add eax, 0x10cf97a9
mov ecx, 0x87eff5d3
add ecx, 0x78500a2d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x7afb90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x275000]
push edi
or ebp, 0xffffffff
jmp 0x7afbb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7afbb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afba8
mov eax, 1
add ebx, ebx
jne 0x7afbcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7afbdc
jne 0x7afbfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afbfb
dec eax
add ebx, ebx
jne 0x7afbe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7afbc0
add ebx, ebx
jne 0x7afbf7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7afc4d
xor ecx, ecx
sub eax, 3
jb 0x7afc13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7afc82
sar eax, 1
mov ebp, eax
jmp 0x7afc1e
add ebx, ebx
jne 0x7afc1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afbec
inc ecx
add ebx, ebx
jne 0x7afc2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afbec
add ebx, ebx
jne 0x7afc39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7afc2e
jne 0x7afc4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7afc2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7afc6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7afc5e
jmp 0x7afbae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7afc6c
add edi, ecx
jmp 0x7afbae
pop esi
mov edi, esi
mov ecx, 0x6fe5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7afc8a
cmp byte [edi], 0x67
jne 0x7afc8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7afc8f
lea edi, [esi + 0x3ac000]
mov eax, dword [edi]
or eax, eax
je 0x7afd07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b4504]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b4628]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7afcbc
mov ecx, edi
jns 0x7afceb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b4630]
or eax, eax
je 0x7afd01
mov dword [ebx], eax
add ebx, 4
jmp 0x7afcd9
call dword [esi + 0x3b462c]
mov ebp, dword [esi + 0x3b4634]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7afd3b
sub esp, 0xffffff80
jmp 0x4e5b59
Function at 0x4e3271
Capabilities:
Print debug messages

Disassembly:
jmp 0x6a9cc3
push esi
mov esi, ecx
call fcn.004e437e
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xc00
mov dword [esi + 0x10], 0x6f71a8
call fcn.004e9fef
test eax, eax
jns 0x6a9d12
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x6a9d0b
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x84ede1], 1
mov eax, esi
pop esi
ret

Function at 0x4e57dd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x641540
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x853aa4], 1
jge 0x6415af
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x641585
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x641585
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x641562
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x64159b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x6415a2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x6416ad
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x64167e
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x641673
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x641667
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x64166e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x6416ad
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x6416a8
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x641691
mov eax, dword [ebx + 8]
jmp 0x6416ad
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x64169f
xor eax, eax
jmp 0x6416ad
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x6415d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4f79e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ea3b9
cwde
test eax, eax
jge 0x4f7a12
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov esi, esp
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ea3b9
movsx edx, ax
test edx, edx
jge 0x4f7a33
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ea3b9
movsx ecx, ax
test ecx, ecx
jge 0x4f7a54
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ea3b9
cwde
test eax, eax
jge 0x4f7a73
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ea3b9
movsx edx, ax
test edx, edx
jge 0x4f7a94
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.004ea3b9
mov esp, ebp
pop ebp
ret
Function at 0x5c23b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
jmp 0x5c2407
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x5c2535
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x10], 0
jne 0x5c249d
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x5c2498
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
cmp esi, esp
call fcn.004ea3b9
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5c2471
xor eax, eax
jmp 0x5c253a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e5521
add esp, 0xc
jmp 0x5c23f5
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005c2340
add esp, 8
test eax, eax
jne 0x5c24be
xor eax, eax
jmp 0x5c253a
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
cmp esi, esp
call fcn.004ea3b9
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5c24fe
xor eax, eax
jmp 0x5c253a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e4095
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
jmp 0x5c23f5
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.004ea3b9
mov esp, ebp
pop ebp
ret
Function at 0x5cb8e0
Capabilities:
Encrypt data using rc4 prga
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x5cb8fd
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x5cb91e
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [ebp + 8]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6c5fc8]
mov dword [ebp + 8], ecx
jmp 0x5cb8f4
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x5cb930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x5cb94d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x5cb971
mov ecx, dword [ebp + 8]
shl ecx, 8
mov edx, dword [ebp + 8]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x6c63c8]
mov dword [ebp + 8], ecx
jmp 0x5cb944
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x5e8a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jmp 0x5e8ac5
mov eax, dword [ebp - 8]
add eax, 1
mov ecx, dword [ebp - 4]
adc ecx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x14]
ja 0x5e8bef
jb 0x5e8adf
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x5e8bef
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x28], 0x10
jne 0x5e8b9c
xorpd xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jmp 0x5e8b09
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
adc eax, 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x5e8b6b
jb 0x5e8b17
cmp dword [ebp - 0x10], 8
jae 0x5e8b6b
push 0
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e78a8
mov ecx, dword [ebp + 8]
mov bl, byte [ecx + eax + 8]
add bl, 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e78a8
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 8], bl
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e78a8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 8]
test edx, edx
je 0x5e8b69
jmp 0x5e8b6b
jmp 0x5e8af7
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.004e90e5
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x5e8b92
xor al, al
jmp 0x5e8bf1
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0
push 0
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e78a8
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28]
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 0x18]
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + eax]
xor ebx, ecx
push 0
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e78a8
mov edx, dword [ebp + 0xc]
mov byte [edx + eax], bl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
jmp 0x5e8ab3
mov al, 1
pop ebx
add esp, 0x10
cmp ebp, esp
call fcn.004ea3b9
mov esp, ebp
pop ebp
ret
Function at 0x5eb070
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp esi, esp
call fcn.004ea3b9
test eax, eax
jne 0x5eb0d4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004ea3b9
push eax
call fcn.004e589b
add esp, 4
push eax
push 5
mov edx, dword [ebp + 8]
push edx
call fcn.004e8b95
add esp, 0xc
xor al, al
jmp 0x5eb191
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004e6322
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x5eb106
push 0x22
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e8b95
add esp, 0xc
xor al, al
jmp 0x5eb191
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x10], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc], edx
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.004ea3b9
cmp eax, 1
jne 0x5eb18f
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x11], 1
mov esi, esp
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp esi, esp
call fcn.004ea3b9
test eax, eax
jne 0x5eb181
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004ea3b9
push eax
call fcn.004e589b
add esp, 4
push eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e8b95
add esp, 0xc
xor al, al
jmp 0x5eb191
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5eb1b4]
call fcn.004e7a60
pop eax
pop edx
pop edi
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.004ea3b9
mov esp, ebp
pop ebp
ret