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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.00431990
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov edi, eax
add esp, 8
test edi, edi
je 0x467228
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x46713c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4671a1
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x467160
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x4671cd
mov eax, dword [esi + 4]
push 1
push 0x4f59b8
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x4f59b9
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4671a6
push dword [esp + 0x28]
call fcn.00431990
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x4671f8
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x517004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret

Function at 0x4690e9
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x46910c
or esi, 2
push 1
call edi
test ax, ax
jns 0x469118
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x469124
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x469130
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x46c242
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x46c27d
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x46c27d
cmp esi, dword [edi + 0xe8]
je 0x46c27d
cmp byte [edi + 0xe0], 0
jne 0x46c27d
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x46c365
test eax, eax
je 0x46c2e5
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call fcn.0046bef5
and dword [edi + 0xe8], 0
test esi, esi
je 0x46c365
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x46c365
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x46c365
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x46c365
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call fcn.0046bef5
pop edi
pop esi
leave
ret 8
Function at 0x46f6d7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4e6e53
call fcn.004b9cae
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0046fa69
call fcn.00468e15
push eax
lea ecx, [ebp - 0x94]
call fcn.0046e80e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00468e1b
mov ecx, eax
call fcn.0046ef11
test al, al
je 0x46f7f1
push ebx
lea ecx, [ebp - 0x94]
call fcn.0046ea13
push edi
push 0x80
push 3
push edi
push 1
push bind
lea ecx, [ebp - 0x94]
call fcn.0046e9f3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
cmp eax, 0xffffffff
jne 0x46f75a
mov eax, str.Error_opening_file
jmp 0x46f7d2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x46f76f
mov eax, str.File_is_empty
jmp 0x46f7d2
cmp edi, 0x400000
jbe 0x46f77e
mov eax, 0x4f6290
jmp 0x46f7d2
and dword [ebp - 0x2c8], 0
push edi
call fcn.004b9c4f
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x46f7da
push ebx
call fcn.004b90ba
pop ecx
mov ecx, esi
call fcn.0046fa69
mov eax, str.Could_not_read_file
push 0
push eax
jmp 0x46f8d1
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0046f91c
push dword [ebp - 0x2cc]
jmp 0x46f8ff
call fcn.00468e1b
push eax
lea ecx, [ebp - 0x94]
call fcn.0046e9f6
call fcn.00468fbc
test al, al
je 0x46f812
call fcn.00468e21
jmp 0x46f829
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0046e9f3
push eax
call fcn.0047c27e
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x46f83a
push eax
push str.Error_opening_zip_file
jmp 0x46f8d1
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0047bcbc
add esp, 0x14
test eax, eax
je 0x46f861
push 0
push str.Could_not_find_ziped_file
jmp 0x46f8d1
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x46f873
push ebx
push str.File_is_empty
jmp 0x46f8d1
cmp ebx, 0x400000
jbe 0x46f884
push 0
push 0x4f6290
jmp 0x46f8d1
push ebx
call fcn.004b9c4f
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0047c655
add esp, 0x18
test eax, eax
je 0x46f8dc
cmp eax, 0x600
je 0x46f8dc
push dword [ebp - 0x2c8]
call fcn.004b90ba
pop ecx
call fcn.00468fbc
test al, al
jne 0x46f8ca
push edi
call fcn.0047bb18
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0046fa91
mov bl, al
jmp 0x46f907
call fcn.00468fbc
test al, al
jne 0x46f8ec
push edi
call fcn.0047bb18
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0046f91c
push edi
mov bl, al
call fcn.004b90ba
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0046e8f3
mov al, bl
call fcn.004b9c6c
ret 8
Function at 0x47048d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47053c
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x470540
cmp dword [ebp - 0x1c], 0x10
jne 0x47050b
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x47050b
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.0046cd9a
pop ecx
test al, al
jne 0x47052d
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x470540
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4704d8
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x47055e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x470563
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470595
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x47b725
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x47b791
cmp dword [ebp + 8], 0x100
jne 0x47b780
cmp word [ebp + 0xc], 0xd
jne 0x47b780
cmp byte [esi + 0x69a], 0
je 0x47b765
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47b780
cmp byte [esi + 0x69b], 0
jne 0x47b780
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x47b77c
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0046bef5
xor eax, eax
jmp 0x47b794
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x47bb6a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x517728]
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 0x47bc24
movzx eax, word [esi]
test ax, ax
je 0x47bc24
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x47bbac
cmp dx, 0x5c
jne 0x47bbae
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x47bba0
cmp edi, esi
je 0x47bbf7
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.004ce2c4
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x47bc32
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0047bb6a
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004cea3a
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004cea09
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b90ac
leave
ret
call fcn.004b98b3
int3

Function at 0x47c1f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x47c274
cmp dword [edi + 4], 0xffffffff
jne 0x47c274
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4f8ad4
push esi
call fcn.004cea09
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x47c246
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x47c246
mov eax, 0x2000000
jmp 0x47c279
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047e751
add esp, 0x10
test eax, eax
jne 0x47c264
mov eax, dword [ebp - 4]
jmp 0x47c279
push eax
call fcn.0047ee70
mov dword [edi], eax
mov eax, dword [0x51a05c]
pop ecx
jmp 0x47c279
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x47e85e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x47e891
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47e88c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x47e8bb
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004baf80
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47ea57
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x47eb16
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
sub edi, 1
jne 0x47ea6f
pop edi
test esi, esi
je 0x47eb32
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f83a0]
inc edx
sub esi, 1
jne 0x47eb1a
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4933a5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004716be
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x493421
lea eax, [ebp - 0x14]
push eax
call fcn.00492989
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x4933fd
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x493421
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b90ac
leave
ret 0xc

Function at 0x493430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4934ba
cmp dword [esi + 0x10], 0
je 0x4934ba
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004b9d20
mov ebx, esp
test ebx, ebx
je 0x4934ba
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.0046e987
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.0046bef5
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00468fc9
test al, al
je 0x4934ba
mov ecx, dword [esi + 0x10]
call fcn.004715db
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b90ac
leave
ret 0x10

Function at 0x493b17
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00472c10
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x493b9b
lea eax, [ebp - 0x14]
push eax
call fcn.00492989
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x493b77
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x493b9b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b90ac
leave
ret 0x14
Function at 0x4961cc
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x4e7d23
call fcn.004b9cae
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x49625e
lea eax, [ebp - 0xa8]
push eax
call fcn.00495e35
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00468df9
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.00470309
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00491305
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.004689c6
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0046ef11
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0046e8f3
mov esi, 0x6d8
test bl, bl
je 0x496299
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004b9c6c
ret 4

Function at 0x4962cf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004716be
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x49634b
lea eax, [ebp - 0x14]
push eax
call fcn.00495e35
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x496327
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x49634b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b90ac
leave
ret 0xc
Function at 0x496434
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00472c10
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x4964b8
lea eax, [ebp - 0x14]
push eax
call fcn.00495e35
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x496494
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4964b8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0046edc2
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b90ac
leave
ret 0x14
Function at 0x4a01f5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4a0223
cmp eax, edi
jge 0x4a0217
push esi
call fcn.0049c74b
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4a0246
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4a022c
mov dword [esi + 8], edx
jmp 0x4a025b
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4a0251
xor dl, dl
jmp 0x4a0256
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4a0246
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4a0295
push str.zlib_corrupt
call fcn.0049c676
add esp, 4
jmp 0x4a02d5
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4a02a5
push str.read_past_buffer
jmp 0x4a028b
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4a02bf
push edi
push ecx
push esi
call fcn.004a2cc9
add esp, 0xc
test eax, eax
je 0x4a02d5
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004baf80
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x4cd0ae
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x517728]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x502a18
push esi
call fcn.004da970
pop ecx
pop ecx
test eax, eax
jne 0x4cd0dc
xor al, al
jmp 0x4cd159
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004ccde5
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4cd116
push dword [ebp - 0x210]
call fcn.004c89d4
xor al, al
jmp 0x4cd157
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4cd11c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4cd13c
push edx
call fcn.004ccfe4
pop ecx
test al, al
je 0x4cd107
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4cd14a
mov bl, 1
push dword [ebp - 0x210]
call fcn.004c89d4
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b90ac
leave
ret