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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x517460], esi
jne 0x48867a
push 0x108
push 1
call fcn.00495de6
add esp, 8
mov dword [0x517460], eax
cmp eax, esi
jne 0x48867a
push str._Zip_cloacking
push 0x3fa
call fcn.00486940
add esp, 8
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
mov eax, dword [0x517324]
mov ecx, dword [eax]
push ebx
push edi
push ecx
call fcn.0049aef3
push 0x104
lea edx, [ebp - 0x108]
push esi
push edx
mov dword [0x51746e], esi
mov dword [0x517492], esi
call fcn.00493d40
mov eax, dword [0x517324]
mov ecx, dword [eax]
mov edx, dword [0x517460]
push ecx
push 0x1e
push 1
push edx
call fcn.0049a5ee
add esp, 0x20
cmp eax, 0x1e
jne 0x4887b6
jmp 0x4886d0
mov ecx, dword [0x517324]
mov eax, dword [0x517460]
cmp dword [eax], 0x4034b50
mov edx, dword [ecx]
push edx
jne 0x4887de
movzx eax, word [eax + 0x1a]
push eax
lea ecx, [ebp - 0x108]
push 1
push ecx
call fcn.0049a5ee
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x4887b6
movzx esi, word [ecx + 0x1c]
mov eax, dword [0x517324]
mov edi, dword [eax]
mov ebx, ecx
cmp esi, 0xa00b0
ja 0x4887b6
test esi, esi
je 0x48873c
nop
push edi
call fcn.0049f0e7
add esp, 4
dec esi
jne 0x488730
mov ecx, dword [ebx + 0x12]
push 1
push ecx
push edi
call fcn.0049a947
mov eax, dword [0x517460]
mov edx, dword [eax + 0x16]
add dword [0x517492], edx
mov eax, dword [eax + 0x16]
mov edx, dword [0x51746e]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.0048ea70
add esp, 0x24
test eax, eax
jne 0x4887c8
inc dword [0x51746e]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00493d40
mov ecx, dword [0x517324]
mov edx, dword [ecx]
mov eax, dword [0x517460]
push edx
push 0x1e
push 1
push eax
call fcn.0049a5ee
add esp, 0x1c
cmp eax, 0x1e
je 0x4886d0
push 0x4d1a1a
push 0x3e9
call fcn.00486940
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
call fcn.004884f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x489050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x517464]
mov ecx, dword [eax + 0xd]
mov edx, dword [ebp + 8]
push ebx
add ecx, edx
push esi
push edi
cmp ecx, dword [eax + 9]
jle 0x4891c4
mov ecx, dword [eax + 9]
mov edi, dword [eax + 0xd]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
sub ebx, edi
sub edi, ecx
add edi, edx
test ebx, ebx
jle 0x4890a3
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 1
push eax
call fcn.0049ab1a
add esp, 0x10
mov dword [esi], eax
cmp eax, ebx
jne 0x4891ba
mov eax, dword [0x517464]
cmp edi, dword [eax + 9]
jle 0x48913a
lea esp, [esp]
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x4891b4
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x517464]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push eax
push 1
push ecx
call fcn.0049ab1a
add dword [esi], eax
mov eax, dword [0x517464]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x517464]
sub edi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x517324]
mov ecx, dword [0x517464]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00487a00
mov eax, dword [0x517464]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x4890b0
test edi, edi
je 0x4891df
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x4891b4
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
add edx, dword [ebp + 0xc]
push ecx
push edi
push 1
push edx
call fcn.0049ab1a
add dword [esi], eax
mov eax, dword [0x517464]
mov dword [eax + 0xd], edi
mov eax, dword [0x517464]
inc dword [eax + 1]
mov ecx, dword [0x517324]
mov edx, dword [0x517464]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00487a00
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
add dword [eax + 0xd], edx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.0049ab1a
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4891f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
cmp eax, 0x200
jle 0x4893d9
mov edx, dword [ebp + 0xc]
mov eax, dword [0x517464]
mov dword [ebp - 4], edx
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0xd]
add ecx, 0x200
xor edi, edi
cmp ecx, dword [eax + 9]
jle 0x489383
mov ecx, dword [eax + 9]
mov esi, dword [eax + 0xd]
mov ebx, ecx
sub ebx, esi
sub esi, ecx
add esi, 0x200
test ebx, ebx
jle 0x48926f
mov eax, dword [ebp + 0x10]
push eax
push ebx
push 1
push edx
call fcn.0049ab1a
mov edi, eax
mov eax, dword [0x517464]
add esp, 0x10
cmp edi, ebx
jne 0x4893a5
cmp esi, dword [eax + 9]
jle 0x48930a
jmp 0x489280
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x489413
mov ecx, dword [ebp + 8]
mov edx, dword [0x517464]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [ebp - 4]
push eax
add ecx, edi
push 1
push ecx
call fcn.0049ab1a
add edi, eax
mov eax, dword [0x517464]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x517464]
sub esi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x517324]
mov ecx, dword [0x517464]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00487a00
mov eax, dword [0x517464]
add esp, 0x1c
cmp esi, dword [eax + 9]
jg 0x489280
test esi, esi
je 0x4893a5
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x489413
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.0049ab1a
add edi, eax
mov eax, dword [0x517464]
mov dword [eax + 0xd], esi
mov eax, dword [0x517464]
inc dword [eax + 1]
mov ecx, dword [0x517324]
mov edx, dword [0x517464]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00487a00
add esp, 0x1c
jmp 0x4893a0
add dword [eax + 0xd], 0x200
mov ecx, dword [ebp + 8]
push ecx
push 0x200
push 1
push edx
call fcn.0049ab1a
add esp, 0x10
mov edi, eax
mov eax, dword [0x517464]
cmp edi, 0x200
jne 0x489413
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub esi, edi
mov edi, dword [ebp - 0xc]
add edi, 0x200
add edx, 0x200
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, 0x200
jg 0x489220
test esi, esi
je 0x489405
mov edx, dword [ebp + 0xc]
lea eax, [edi + edx]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call fcn.00489050
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x489413
add edi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x517324]
cmp byte [eax + 0x19], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
jne 0x48945f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.0049ab1a
imul esi, edi
add esp, 0x10
add dword [0x517332], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x517464]
cmp byte [eax], 1
jne 0x489490
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
imul ecx, edi
push edx
push eax
push ecx
call fcn.004891f0
add esp, 0x10
test eax, eax
je 0x4894b7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, esi
imul edx, edi
push eax
push ecx
push edx
call fcn.00489050
add esp, 0x10
test eax, eax
je 0x4894b7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
add dword [0x517332], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4894d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
push 1
push ebx
call fcn.0049a5ee
mov esi, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
cmp eax, edi
je 0x4895dd
sub edi, eax
mov eax, dword [0x517464]
cmp edi, dword [eax + 9]
jle 0x48957f
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x4895e4
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x517464]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
push eax
add ecx, ebx
push 1
push ecx
call fcn.0049a5ee
add dword [esi], eax
mov eax, dword [0x517464]
mov edx, dword [0x517324]
sub edi, dword [eax + 9]
mov eax, dword [eax + 1]
add edx, 0x127
push edx
push eax
push 0xc03
call fcn.00487a00
mov eax, dword [0x517464]
inc dword [eax + 1]
mov eax, dword [0x517464]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x489505
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
test eax, eax
jne 0x4895e4
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
push ecx
push edi
add edx, ebx
push 1
push edx
call fcn.0049a5ee
add dword [esi], eax
mov eax, dword [0x517324]
mov ecx, dword [0x517464]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
push edx
push 0xc03
call fcn.00487a00
mov eax, dword [0x517464]
add esp, 0x1c
inc dword [eax + 1]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov dword [esi], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x489600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
cmp esi, 0x200
jle 0x489763
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push 0x200
lea ebx, [edi + ecx]
push 1
push ebx
mov dword [ebp + 8], eax
call fcn.0049a5ee
mov esi, eax
add esp, 0x10
cmp esi, 0x200
je 0x489746
mov eax, dword [0x517464]
mov edi, 0x200
sub edi, esi
cmp edi, dword [eax + 9]
jle 0x4896da
mov eax, dword [eax + 1]
mov ecx, dword [0x517324]
push 0
lea edx, [ebp + 8]
push edx
push eax
add ecx, 0x127
push ecx
call fcn.00488ec0
add esp, 0x10
cmp eax, 1
je 0x48979d
mov edx, dword [ebp + 8]
mov eax, dword [0x517464]
mov ecx, dword [eax + 9]
push edx
push ecx
lea edx, [ebx + esi]
push 1
push edx
call fcn.0049a5ee
mov ecx, dword [0x517324]
add esi, eax
mov eax, dword [0x517464]
mov edx, dword [eax + 1]
sub edi, dword [eax + 9]
add ecx, 0x127
push ecx
push edx
push 0xc03
call fcn.00487a00
mov eax, dword [0x517464]
inc dword [eax + 1]
mov eax, dword [0x517464]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x489660
mov edx, dword [eax + 1]
mov eax, dword [0x517324]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00488ec0
add esp, 0x10
test eax, eax
jne 0x48979d
mov ecx, dword [ebp + 8]
push ecx
push edi
push 1
add ebx, esi
push ebx
call fcn.0049a5ee
mov edx, dword [0x517324]
add esi, eax
mov eax, dword [0x517464]
mov ecx, dword [eax + 1]
add edx, 0x127
push edx
push ecx
push 0xc03
call fcn.00487a00
mov eax, dword [0x517464]
inc dword [eax + 1]
add esp, 0x1c
cmp esi, 0x200
jne 0x48979d
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, 0x200
add edi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp eax, 0x200
jg 0x489620
mov esi, eax
test esi, esi
je 0x48978f
mov edx, dword [ebp + 0xc]
lea eax, [edi + edx]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call fcn.004894d0
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x48979d
add edi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4897b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x517324]
cmp byte [eax + 0x17], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
jne 0x4897ef
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.0049a5ee
imul esi, edi
add esp, 0x10
sub dword [0x517332], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x517464]
cmp byte [eax], 1
jne 0x489820
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
imul ecx, edi
push edx
push eax
push ecx
call fcn.00489600
add esp, 0x10
test eax, eax
je 0x489847
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, esi
imul edx, edi
push eax
push ecx
push edx
call fcn.004894d0
add esp, 0x10
test eax, eax
je 0x489847
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
sub dword [0x517332], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48aa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push edi
mov edi, dword [0x517324]
je 0x48aaa9
cmp byte [edi + 0x331], 0
jmp 0x48aab0
cmp byte [edi + 0x332], 0
je 0x48ab0c
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
lea esi, [eax + 1]
jmp 0x48aac0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x48aac0
sub eax, esi
cmp byte [edi + 0x332], 0
lea edx, [eax - 1]
je 0x48ab0b
test edx, edx
jle 0x48ab0b
xor esi, esi
cmp dword [ebp + 0x10], esi
jbe 0x48ab0b
mov edi, dword [ebp + 0xc]
push ebx
xor eax, eax
test edx, edx
jle 0x48ab04
lea ebx, [ebx]
movzx ebx, byte [eax + ecx]
xor byte [esi + edi], bl
movzx ebx, byte [eax + ecx + 1]
xor byte [eax + ecx], bl
inc eax
cmp eax, edx
jl 0x48aaf0
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x48aae4
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x48ae20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push edx
push eax
call fcn.0049e792
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.0049eace
add esp, 0x28
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x48c290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00493d40
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00493d40
mov al, 0x3a
add esp, 0x18
cmp byte [ebx + 1], al
je 0x48c354
cmp byte [esi + 1], al
je 0x48c359
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0049e792
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x48c3b2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48c325
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x48c3b2
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48c340
mov dx, word [0x4d19a0]
mov word [edi], dx
jmp 0x48c3b2
cmp byte [esi + 1], al
jne 0x48c3b2
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0049e792
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x48c3b2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48c381
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x48c3b2
lea edi, [ebp - 0x108]
dec edi
jmp 0x48c3a0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48c3a0
mov cx, word [0x4d19a0]
mov word [edi], cx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48c3b6
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48c3c6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004aba69
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493f43
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test ecx, ecx
je 0x48e4be
mov edx, dword [ebp + 8]
push edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4fed50]
inc edx
dec ecx
jne 0x48e4a4
pop edi
not eax
mov dword [esi], eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
test edx, edx
je 0x48e519
push ebx
push esi
mov esi, dword [ebp + 8]
movzx ecx, word [esi]
mov ebx, ecx
xor ebx, eax
shr eax, 8
and ebx, 0xff
xor eax, dword [ebx*4 + 0x4fed50]
shr ecx, 8
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4fed50]
add esi, 2
dec edx
jne 0x48e4e5
pop esi
pop ebx
not eax
mov dword [edi], eax
pop edi
pop ebp
ret
Function at 0x48e520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x48e54b
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4fed50]
inc edx
dec ecx
jne 0x48e531
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov word [ecx], ax
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x48e58b
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4fed50]
inc edx
dec ecx
jne 0x48e571
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov dword [ecx], eax
pop ebp
ret
Function at 0x493f43
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ff5d0]
jne 0x493f4d
repz ret
jmp fcn.004a4565

Function at 0x4947bb
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4947e3
call fcn.0049d608
and dword [eax], 0
call fcn.0049d5f5
mov dword [eax], 0x16
call fcn.004a209b
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x494800
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049d61b
pop ecx
jmp 0x4947de
test byte [ebp + 0xc], 0x80
je 0x49480b
and eax, 0xfffffffe
jmp 0x49480e
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x4947f1
xor eax, eax
pop ebp
ret

Function at 0x4ab9ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4aba11
call fcn.0049d608
mov dword [eax], esi
call fcn.0049d5f5
push 0x16
pop esi
mov dword [eax], esi
call fcn.004a209b
mov eax, esi
jmp 0x4aba66
test dword [ebp + 0xc], 0xfffffff9
jne 0x4ab9f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4aba3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049d61b
pop ecx
call fcn.0049d5f5
mov eax, dword [eax]
jmp 0x4aba66
test al, 0x10
jne 0x4aba64
test al, 1
je 0x4aba64
test byte [ebp + 0xc], 2
je 0x4aba64
call fcn.0049d608
mov dword [eax], 5
call fcn.0049d5f5
mov dword [eax], 0xd
jmp 0x4aba35
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4b3c4d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004a5726
and dword [ebp - 0x14], 0
cmp dword [0x51ae78], 0
mov dword [ebp - 0x18], eax
jne 0x4b3d00
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4b3da8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4b3da8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x51ae78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x51ae7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x51ae80], eax
call edi
push eax
call esi
mov dword [0x51ae88], eax
test eax, eax
je 0x4b3d00
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x51ae84], eax
mov eax, dword [0x51ae84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4b3d59
cmp dword [0x51ae88], ecx
je 0x4b3d59
push eax
call esi
push dword [0x51ae88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4b3d59
test ebx, ebx
je 0x4b3d59
call edi
test eax, eax
je 0x4b3d50
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4b3d50
test byte [ebp - 8], 1
jne 0x4b3d59
or dword [ebp + 0x10], 0x200000
jmp 0x4b3d8c
mov eax, dword [0x51ae7c]
cmp eax, dword [ebp - 0x18]
je 0x4b3d8c
push eax
call esi
test eax, eax
je 0x4b3d8c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b3d8c
mov eax, dword [0x51ae80]
cmp eax, dword [ebp - 0x18]
je 0x4b3d8c
push eax
call esi
test eax, eax
je 0x4b3d8c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x51ae78]
call esi
test eax, eax
je 0x4b3da8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4b3daa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493f43
leave
ret

Function at 0x4b8010
Capabilities:
Hash data with md5

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