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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x4a26a8], esi
jne 0x4559ea
push 0x108
push 1
call fcn.00460249
add esp, 8
mov dword [0x4a26a8], eax
cmp eax, esi
jne 0x4559ea
push str._Zip_cloacking
push 0x3fa
call fcn.00453cb0
add esp, 8
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a256c]
mov ecx, dword [eax]
push ebx
push edi
push ecx
call fcn.00464941
push 0x104
lea edx, [ebp - 0x108]
push esi
push edx
mov dword [0x4a26b6], esi
mov dword [0x4a26da], esi
call fcn.0045f090
mov eax, dword [0x4a256c]
mov ecx, dword [eax]
mov edx, dword [0x4a26a8]
push ecx
push 0x1e
push 1
push edx
call fcn.00464924
add esp, 0x20
cmp eax, 0x1e
jne 0x455b26
jmp 0x455a40
mov ecx, dword [0x4a256c]
mov eax, dword [0x4a26a8]
cmp dword [eax], 0x4034b50
mov edx, dword [ecx]
push edx
jne 0x455b4e
movzx eax, word [eax + 0x1a]
push eax
lea ecx, [ebp - 0x108]
push 1
push ecx
call fcn.00464924
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x455b26
movzx esi, word [ecx + 0x1c]
mov eax, dword [0x4a256c]
mov edi, dword [eax]
mov ebx, ecx
cmp esi, 0xa00b0
ja 0x455b26
test esi, esi
je 0x455aac
nop
push edi
call fcn.00468fb7
add esp, 4
dec esi
jne 0x455aa0
mov ecx, dword [ebx + 0x12]
push 1
push ecx
push edi
call fcn.00464c82
mov eax, dword [0x4a26a8]
mov edx, dword [eax + 0x16]
add dword [0x4a26da], edx
mov eax, dword [eax + 0x16]
mov edx, dword [0x4a26b6]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.0045be00
add esp, 0x24
test eax, eax
jne 0x455b38
inc dword [0x4a26b6]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0045f090
mov ecx, dword [0x4a256c]
mov edx, dword [ecx]
mov eax, dword [0x4a26a8]
push edx
push 0x1e
push 1
push eax
call fcn.00464924
add esp, 0x1c
cmp eax, 0x1e
je 0x455a40
push 0x47e7fe
push 0x3e9
call fcn.00453cb0
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
call fcn.00455860
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x4563c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a26ac]
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 0x456534
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 0x456413
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 1
push eax
call fcn.00464660
add esp, 0x10
mov dword [esi], eax
cmp eax, ebx
jne 0x45652a
mov eax, dword [0x4a26ac]
cmp edi, dword [eax + 9]
jle 0x4564aa
lea esp, [esp]
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456524
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4a26ac]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push eax
push 1
push ecx
call fcn.00464660
add dword [esi], eax
mov eax, dword [0x4a26ac]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x4a26ac]
sub edi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x4a256c]
mov ecx, dword [0x4a26ac]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00454d70
mov eax, dword [0x4a26ac]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x456420
test edi, edi
je 0x45654f
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456524
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
add edx, dword [ebp + 0xc]
push ecx
push edi
push 1
push edx
call fcn.00464660
add dword [esi], eax
mov eax, dword [0x4a26ac]
mov dword [eax + 0xd], edi
mov eax, dword [0x4a26ac]
inc dword [eax + 1]
mov ecx, dword [0x4a256c]
mov edx, dword [0x4a26ac]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00454d70
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.00464660
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 0x456560
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 0x456749
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4a26ac]
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 0x4566f3
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 0x4565df
mov eax, dword [ebp + 0x10]
push eax
push ebx
push 1
push edx
call fcn.00464660
mov edi, eax
mov eax, dword [0x4a26ac]
add esp, 0x10
cmp edi, ebx
jne 0x456715
cmp esi, dword [eax + 9]
jle 0x45667a
jmp 0x4565f0
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456783
mov ecx, dword [ebp + 8]
mov edx, dword [0x4a26ac]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [ebp - 4]
push eax
add ecx, edi
push 1
push ecx
call fcn.00464660
add edi, eax
mov eax, dword [0x4a26ac]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x4a26ac]
sub esi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x4a256c]
mov ecx, dword [0x4a26ac]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00454d70
mov eax, dword [0x4a26ac]
add esp, 0x1c
cmp esi, dword [eax + 9]
jg 0x4565f0
test esi, esi
je 0x456715
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456783
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.00464660
add edi, eax
mov eax, dword [0x4a26ac]
mov dword [eax + 0xd], esi
mov eax, dword [0x4a26ac]
inc dword [eax + 1]
mov ecx, dword [0x4a256c]
mov edx, dword [0x4a26ac]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00454d70
add esp, 0x1c
jmp 0x456710
add dword [eax + 0xd], 0x200
mov ecx, dword [ebp + 8]
push ecx
push 0x200
push 1
push edx
call fcn.00464660
add esp, 0x10
mov edi, eax
mov eax, dword [0x4a26ac]
cmp edi, 0x200
jne 0x456783
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 0x456590
test esi, esi
je 0x456775
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.004563c0
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x456783
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 0x456790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a256c]
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 0x4567cf
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.00464660
imul esi, edi
add esp, 0x10
add dword [0x4a257a], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a26ac]
cmp byte [eax], 1
jne 0x456800
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.00456560
add esp, 0x10
test eax, eax
je 0x456827
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.004563c0
add esp, 0x10
test eax, eax
je 0x456827
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
add dword [0x4a257a], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x456840
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.00464924
mov esi, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
cmp eax, edi
je 0x45694d
sub edi, eax
mov eax, dword [0x4a26ac]
cmp edi, dword [eax + 9]
jle 0x4568ef
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456954
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4a26ac]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
push eax
add ecx, ebx
push 1
push ecx
call fcn.00464924
add dword [esi], eax
mov eax, dword [0x4a26ac]
mov edx, dword [0x4a256c]
sub edi, dword [eax + 9]
mov eax, dword [eax + 1]
add edx, 0x127
push edx
push eax
push 0xc03
call fcn.00454d70
mov eax, dword [0x4a26ac]
inc dword [eax + 1]
mov eax, dword [0x4a26ac]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x456875
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
test eax, eax
jne 0x456954
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
push ecx
push edi
add edx, ebx
push 1
push edx
call fcn.00464924
add dword [esi], eax
mov eax, dword [0x4a256c]
mov ecx, dword [0x4a26ac]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
push edx
push 0xc03
call fcn.00454d70
mov eax, dword [0x4a26ac]
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 0x456970
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 0x456ad3
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.00464924
mov esi, eax
add esp, 0x10
cmp esi, 0x200
je 0x456ab6
mov eax, dword [0x4a26ac]
mov edi, 0x200
sub edi, esi
cmp edi, dword [eax + 9]
jle 0x456a4a
mov eax, dword [eax + 1]
mov ecx, dword [0x4a256c]
push 0
lea edx, [ebp + 8]
push edx
push eax
add ecx, 0x127
push ecx
call fcn.00456230
add esp, 0x10
cmp eax, 1
je 0x456b0d
mov edx, dword [ebp + 8]
mov eax, dword [0x4a26ac]
mov ecx, dword [eax + 9]
push edx
push ecx
lea edx, [ebx + esi]
push 1
push edx
call fcn.00464924
mov ecx, dword [0x4a256c]
add esi, eax
mov eax, dword [0x4a26ac]
mov edx, dword [eax + 1]
sub edi, dword [eax + 9]
add ecx, 0x127
push ecx
push edx
push 0xc03
call fcn.00454d70
mov eax, dword [0x4a26ac]
inc dword [eax + 1]
mov eax, dword [0x4a26ac]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x4569d0
mov edx, dword [eax + 1]
mov eax, dword [0x4a256c]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00456230
add esp, 0x10
test eax, eax
jne 0x456b0d
mov ecx, dword [ebp + 8]
push ecx
push edi
push 1
add ebx, esi
push ebx
call fcn.00464924
mov edx, dword [0x4a256c]
add esi, eax
mov eax, dword [0x4a26ac]
mov ecx, dword [eax + 1]
add edx, 0x127
push edx
push ecx
push 0xc03
call fcn.00454d70
mov eax, dword [0x4a26ac]
inc dword [eax + 1]
add esp, 0x1c
cmp esi, 0x200
jne 0x456b0d
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 0x456990
mov esi, eax
test esi, esi
je 0x456aff
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.00456840
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x456b0d
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 0x456b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a256c]
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 0x456b5f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.00464924
imul esi, edi
add esp, 0x10
sub dword [0x4a257a], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a26ac]
cmp byte [eax], 1
jne 0x456b90
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.00456970
add esp, 0x10
test eax, eax
je 0x456bb7
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.00456840
add esp, 0x10
test eax, eax
je 0x456bb7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
sub dword [0x4a257a], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x457e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push edi
mov edi, dword [0x4a256c]
je 0x457e19
cmp byte [edi + 0x331], 0
jmp 0x457e20
cmp byte [edi + 0x332], 0
je 0x457e7c
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
lea esi, [eax + 1]
jmp 0x457e30
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x457e30
sub eax, esi
cmp byte [edi + 0x332], 0
lea edx, [eax - 1]
je 0x457e7b
test edx, edx
jle 0x457e7b
xor esi, esi
cmp dword [ebp + 0x10], esi
jbe 0x457e7b
mov edi, dword [ebp + 0xc]
push ebx
xor eax, eax
test edx, edx
jle 0x457e74
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 0x457e60
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x457e54
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x458190
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x48e610]
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.00468662
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.0046899e
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.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x459610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48e610]
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.0045f090
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.0045f090
mov al, 0x3a
add esp, 0x18
cmp byte [ebx + 1], al
je 0x4596d4
cmp byte [esi + 1], al
je 0x4596d9
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.00468662
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x459732
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4596a5
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x459732
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4596c0
mov dx, word [0x47e754]
mov word [edi], dx
jmp 0x459732
cmp byte [esi + 1], al
jne 0x459732
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00468662
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x459732
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459701
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x459732
lea edi, [ebp - 0x108]
dec edi
jmp 0x459720
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x459720
mov cx, word [0x47e754]
mov word [edi], cx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459736
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x459746
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.004745ae
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.0045f4ee
mov esp, ebp
pop ebp
ret

Function at 0x45b810
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 0x45b83e
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 + 0x48e118]
inc edx
dec ecx
jne 0x45b824
pop edi
not eax
mov dword [esi], eax
pop esi
pop ebp
ret

Function at 0x45b850
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 0x45b899
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 + 0x48e118]
shr ecx, 8
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x48e118]
add esi, 2
dec edx
jne 0x45b865
pop esi
pop ebx
not eax
mov dword [edi], eax
pop edi
pop ebp
ret
Function at 0x45b8a0
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 0x45b8cb
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48e118]
inc edx
dec ecx
jne 0x45b8b1
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov word [ecx], ax
pop ebp
ret

Function at 0x45b8e0
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 0x45b90b
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48e118]
inc edx
dec ecx
jne 0x45b8f1
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov dword [ecx], eax
pop ebp
ret
Function at 0x45f4ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e610]
jne 0x45f4f8
repz ret
jmp fcn.0046c86c

Function at 0x45f97f
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 0x45f9a7
call fcn.004674dc
and dword [eax], 0
call fcn.004674c9
mov dword [eax], 0x16
call fcn.00469b76
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45f9c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004674ef
pop ecx
jmp 0x45f9a2
test byte [ebp + 0xc], 0x80
je 0x45f9cf
and eax, 0xfffffffe
jmp 0x45f9d2
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x45f9b5
xor eax, eax
pop ebp
ret

Function at 0x47452f
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 0x474556
call fcn.004674dc
mov dword [eax], esi
call fcn.004674c9
push 0x16
pop esi
mov dword [eax], esi
call fcn.00469b76
mov eax, esi
jmp 0x4745ab
test dword [ebp + 0xc], 0xfffffff9
jne 0x47453c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x474583
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004674ef
pop ecx
call fcn.004674c9
mov eax, dword [eax]
jmp 0x4745ab
test al, 0x10
jne 0x4745a9
test al, 1
je 0x4745a9
test byte [ebp + 0xc], 2
je 0x4745a9
call fcn.004674dc
mov dword [eax], 5
call fcn.004674c9
mov dword [eax], 0xd
jmp 0x47457a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4761e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e610]
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.0046c30c
and dword [ebp - 0x14], 0
cmp dword [0x4a5e9c], 0
mov dword [ebp - 0x18], eax
jne 0x47629a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x476342
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x476342
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a5e9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a5ea0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a5ea4], eax
call edi
push eax
call esi
mov dword [0x4a5eac], eax
test eax, eax
je 0x47629a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a5ea8], eax
mov eax, dword [0x4a5ea8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4762f3
cmp dword [0x4a5eac], ecx
je 0x4762f3
push eax
call esi
push dword [0x4a5eac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4762f3
test ebx, ebx
je 0x4762f3
call edi
test eax, eax
je 0x4762ea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4762ea
test byte [ebp - 8], 1
jne 0x4762f3
or dword [ebp + 0x10], 0x200000
jmp 0x476326
mov eax, dword [0x4a5ea0]
cmp eax, dword [ebp - 0x18]
je 0x476326
push eax
call esi
test eax, eax
je 0x476326
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x476326
mov eax, dword [0x4a5ea4]
cmp eax, dword [ebp - 0x18]
je 0x476326
push eax
call esi
test eax, eax
je 0x476326
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a5e9c]
call esi
test eax, eax
je 0x476342
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x476344
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
leave
ret