joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437670
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [eax + 0x10]
mov ebp, dword [edi + 0x38]
mov eax, ebx
shr eax, 5
inc eax
xor ebp, ebx
mov dword [esp + 0x10], edi
mov ecx, ebx
cmp ebx, eax
jb 0x4376b1
mov edx, dword [esp + 0x24]
movzx edx, byte [edx + ecx - 1]
mov esi, ebp
shl esi, 5
add edx, esi
mov esi, ebp
shr esi, 2
add edx, esi
sub ecx, eax
xor ebp, edx
cmp ecx, eax
jae 0x437692
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
lea eax, [ecx - 1]
and eax, ebp
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x43772d
lea ecx, [ecx]
movzx edx, byte [eax + 7]
cmp ebx, edx
jne 0x437726
mov edi, dword [esp + 0x24]
mov ecx, ebx
lea esi, [eax + 0x10]
cmp ebx, 4
jb 0x4376fa
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x43771e
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4376e6
test ecx, ecx
je 0x43775d
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x43771e
cmp ecx, 1
jbe 0x43775d
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x43771e
cmp ecx, 2
jbe 0x43775d
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
je 0x43775d
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4376d0
cmp dword [edi + 0x1c], ecx
jl 0x43777b
cmp ecx, 0x3fffffff
jg 0x43777b
mov esi, dword [esp + 0x20]
lea eax, [ecx + ecx]
push eax
push esi
call fcn.00437470
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
dec ecx
add esp, 8
and ecx, ebp
lea eax, [edx + ecx*4]
mov dword [esp + 0x14], eax
jmp 0x43777f
mov edx, dword [esp + 0x10]
mov cl, byte [eax + 5]
mov dl, byte [edx + 0x3c]
xor cl, 3
xor dl, 3
test cl, dl
jne 0x4377dc
mov byte [eax + 5], cl
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x10]
lea ecx, [ebx + 0x11]
push ecx
push 4
push 0
push esi
call fcn.0043d850
mov dl, byte [edi + 0x3c]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov byte [esi + 4], 4
and dl, 3
mov byte [esi + 5], dl
mov eax, dword [edi + 0x40]
mov dword [esi], eax
push ebx
mov dword [edi + 0x40], esi
push ecx
lea edx, [esi + 0x10]
mov dword [esi + 8], ebp
mov byte [esi + 6], 0
push edx
mov byte [esi + ebx + 0x10], 0
call fcn.0047e650
mov eax, dword [esp + 0x30]
mov byte [esi + 7], bl
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
add esp, 0x1c
inc dword [eax + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x439c10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
mov ebx, 4
sub eax, ebx
push edi
cmp eax, 0x22
ja case.0x439c47.6
mov edi, dword [ebp + 8]
lea ebx, [ebx]
movzx eax, byte [eax + 0x439d4c]
jmp dword [eax*4 + 0x439d28]
mov eax, dword [esi + 8]
test eax, eax
je 0x439c65
test byte [eax + 5], 3
je 0x439c65
push eax
push edi
call fcn.00439c10
add esp, 8
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x18
add dword [edi + 0x10], ecx
movzx ecx, byte [esi + 6]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], edx
test cl, 0x40
je case.0x439c47.6
mov cl, byte [eax + 5]
test cl, 3
je case.0x439c47.6
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, ebx
cmp eax, 0x22
jbe 0x439c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 7]
or byte [esi + 5], bl
add eax, 0x11
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x11
add dword [edi + 0x10], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x1c], ecx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x28], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4464fc
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x446512
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x44651e
or edi, 1
push 1
call esi
test ax, ax
jge 0x44652a
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x446536
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x446542
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x448361
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x448389
cmp ebx, dword [esi + 0x138]
je 0x448389
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x138]
cmp ebx, eax
je 0x448460
push edi
test eax, eax
je 0x4483e8
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x138]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x138]
mov ecx, esi
call fcn.00447e69
mov dword [esi + 0x138], edi
test ebx, ebx
je 0x44845f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x44845f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test al, al
je 0x44845f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd8]
test al, al
je 0x44845f
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x138], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x138]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x138]
mov ecx, esi
call fcn.00447e69
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44867b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1b4]
mov ecx, edi
xor ebx, ebx
call fcn.00450d44
test eax, eax
jle 0x4486ca
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.00445b80
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x44872e
mov ecx, edi
inc ebx
call fcn.00450d44
cmp ebx, eax
jl 0x448699
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x448793
sub eax, 4
je 0x448732
dec eax
dec eax
jne 0x44878a
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0047f81f
pop ecx
mov ecx, dword [esi + 0x134]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x4476e3
call dword [eax + 0x100]
mov esi, eax
test esi, esi
je 0x44878a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x44878c
cmp dword [esi + 0x138], 0
je 0x44878a
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x148]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.004464fc
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x138]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x44878a
cmp dword [esi + 0x138], 0
je 0x4487f1
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x4487f1
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx]
call dword [eax + 0xd8]
test al, al
je 0x4487f1
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0047eb38
pop ecx
pop ecx
test eax, eax
je 0x4487f1
mov ecx, dword [esi + 0x138]
call fcn.004584b5
test al, al
jne 0x44878a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.00448526
jmp 0x44872e
Function at 0x44dedf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x44deea
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x44dfa5
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b00a0]
inc edx
sub edi, 8
dec esi
jne 0x44df0a
pop ebx
test edi, edi
je 0x44dfbe
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4b00a0]
inc edx
dec edi
jne 0x44dfa9
pop edi
not eax
pop esi
ret

Function at 0x44e455
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x44e489
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44e484
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x44e4b1
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x44e49a
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0047e650
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x44f24e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x44f2f8
movzx ecx, word [esi]
test cx, cx
je 0x44f2f8
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x44f28c
cmp cx, 0x5c
jne 0x44f28e
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x44f280
cmp eax, esi
je 0x44f2cc
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0047f32c
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0044f24e
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0047f30d
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0047f2df
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047afcb
leave
ret
Function at 0x450829
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4508a4
cmp dword [esi + 4], 0xffffffff
jne 0x4508a4
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4bcd94
push edi
call fcn.0047f2df
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x450876
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x450876
mov eax, 0x2000000
jmp 0x4508a9
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044e26b
add esp, 0x10
test eax, eax
jne 0x450894
mov eax, dword [ebp + 0x10]
jmp 0x4508a9
push eax
call fcn.00450425
mov dword [esi], eax
mov eax, dword [0x4d8508]
pop ecx
jmp 0x4508a9
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x45871e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x4e4], ebx
je 0x45880a
cmp dword [ebp + 8], 0x100
jne 0x45877c
cmp word [ebp + 0xc], 0xd
jne 0x45877c
cmp byte [edi + 0x4ea], bl
jne 0x458760
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45877c
cmp byte [edi + 0x4eb], bl
jne 0x45877c
mov ecx, dword [edi + 0x40]
cmp ecx, ebx
je 0x458775
push ebx
push ebx
push ebx
push 0x4ae8ec
push edi
call fcn.00447e69
xor eax, eax
jmp 0x45880d
mov eax, dword [edi + 0x4e4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0xc]
test eax, eax
setne byte [ebp + 0x17]
cmp dword [ebp + 8], 0x102
jne 0x4587d1
lea eax, [edi + 0x4d8]
mov dword [ebp + 8], ebx
cmp dword [eax], ebx
je 0x458803
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
mov edx, esi
push edi
sar edx, 0x10
and edx, 0xf
push edx
and esi, 0xf
push esi
push dword [ebp + 0xc]
call dword [eax]
jmp 0x458803
cmp dword [ebp + 8], 0x100
jne 0x458803
lea eax, [edi + 0x4d8]
mov dword [ebp + 8], ebx
cmp dword [eax], ebx
je 0x458803
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
mov edx, esi
push edi
sar edx, 0x10
and edx, 0xf
push edx
and esi, 0xf
push esi
push dword [ebp + 0xc]
call dword [eax + 4]
movzx eax, byte [ebp + 0x17]
pop esi
jmp 0x45880d
xor eax, eax
inc eax
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x45b2c5
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x4d4f10]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x4a9fa2
call fcn.0047c56d
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0045a8ae
call fcn.00446693
push eax
lea ecx, [ebp + 0x230]
call fcn.00445f63
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00446699
mov ecx, eax
call fcn.00445cd6
test al, al
je 0x45b427
push edi
lea ecx, [ebp + 0x230]
call fcn.00445d66
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.00446847
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x45b39b
push str.Error_opening_file
mov ecx, ebx
call fcn.0045aa84
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.00445bb1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.0047afcb
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x45b3b0
push esi
push str.File_is_empty
jmp 0x45b35c
cmp edi, 0x400000
jbe 0x45b3c0
push esi
push 0x4b142c
jmp 0x45b35c
push edi
mov dword [ebp - 0x14], esi
call fcn.004451aa
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x45b406
push dword [ebp - 0x10]
call fcn.0047b495
pop ecx
mov ecx, ebx
call fcn.0045a8ae
push esi
push str.Could_not_read_file
jmp 0x45b35c
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0045b174
push dword [ebp - 0x10]
mov bl, al
call fcn.0047b495
pop ecx
jmp 0x45b365
call fcn.00446699
push eax
lea ecx, [ebp + 0x230]
call fcn.00445d4c
call fcn.0044669f
test al, al
je 0x45b448
call fcn.004466a5
jmp 0x45b45f
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.00446847
push eax
call fcn.00450c08
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x45b471
push esi
push str.Error_opening_zip_file
jmp 0x45b35c
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.0044f306
add esp, 0x14
test eax, eax
je 0x45b496
push esi
push str.Could_not_find_ziped_file
jmp 0x45b35c
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x45b3a8
cmp eax, 0x400000
ja 0x45b3b8
push eax
call fcn.004451aa
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00450c65
add esp, 0x18
cmp eax, esi
je 0x45b4fd
cmp eax, 0x600
je 0x45b4fd
push edi
call fcn.0047b495
pop ecx
call fcn.0044669f
test al, al
jne 0x45b4f2
push dword [ebp - 0x10]
call fcn.00450c9f
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x45b35c
call fcn.0044669f
test al, al
jne 0x45b50f
push dword [ebp - 0x10]
call fcn.00450c9f
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0045b174
push edi
jmp 0x45b41a
Function at 0x460cad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x460cd2
cmp eax, edi
jge 0x460cca
mov eax, esi
call fcn.00460661
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x460cf4
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x460cd9
cmp ecx, 4
jge 0x460d13
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x460d01
xor eax, eax
jmp 0x460d09
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x460cf7
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x460d45
mov eax, str.zlib_corrupt
call fcn.0045e27e
jmp 0x460d80
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x460d55
mov eax, str.read_past_buffer
jmp 0x460d3e
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x460d6a
mov ecx, edi
call fcn.0046068c
test eax, eax
je 0x460d80
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0047e650
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x47077c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4d4f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x4707ed
cmp dword [esi + 0x10], ebx
je 0x4707ed
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0047f380
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x4707ed
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00445d2a
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00447e69
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047afcb
leave
ret 0x10
Function at 0x4789d2
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x4e
jne 0x4789ee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, 8
jne 0x478ac0
xor edi, edi
push edi
push 0x4b652c
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478a6a
push 0x20
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0047ecc0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x28]
push eax
push edi
push 0x100e
push ebx
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x1c], 0x1010003
jne 0x478a5f
xor eax, eax
inc eax
jmp 0x478b3c
cmp dword [ebp - 0x1c], 0x2010003
jne 0x478aab
jmp 0x478a57
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x478a98
cmp eax, dword [ebp - 0x10]
jg 0x478a98
cmp eax, dword [ebp - 0x14]
jl 0x478a98
cmp eax, dword [ebp - 0xc]
jle 0x478aab
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 8
call fcn.00478726
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 8
call fcn.00478726
jmp 0x478b3c
mov ecx, dword [ebp + 0xc]
mov eax, 0x101
cmp edi, eax
jne 0x478b30
cmp ecx, 0x2e
je 0x478ad6
cmp ecx, 8
jne 0x478b0c
push dword [ebp + 0x10]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov dword [eax + 0x594], 2
mov ecx, dword [esi + 0x10]
call fcn.0047858b
xor edi, edi
push edi
push edi
push 0x10
mov ecx, esi
call fcn.0044b044
mov eax, ebx
jmp 0x478b3c
cmp ecx, 0x1b
jne 0x478b30
push dword [ebp + 0x10]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x594], 3
mov ebx, eax
jmp 0x478afb
push dword [ebp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0044b05c
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x47afcb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4f10]
jne 0x47afd5
repz ret
jmp fcn.004819f4