joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40601b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x406026
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x4060da
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x49e308]
add ecx, 8
sub edi, 8
dec esi
jne 0x40603d
pop ebx
test edi, edi
je 0x4060f3
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x49e308]
inc ecx
dec edi
jne 0x4060de
pop esi
not eax
pop edi
ret

Function at 0x4060f8
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x49e308]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x49e308]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x406692
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x406707
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x4066be
cmp dword [esi + 0x40], edi
jae 0x4066be
push eax
call fcn.0045c57d
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x4066d3
lea eax, [edi + edi]
push eax
call fcn.00418397
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.0045dcc0
add esp, 0xc
test edi, edi
je 0x406704
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.00406156
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x4066e6
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x406736
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x406722
mov dword [esi + 0x14], 0x30000
jmp 0x406758
push edi
push edx
add eax, ecx
push eax
call fcn.0045dcc0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x40675a
mov eax, dword [esi + 4]
test eax, eax
je 0x406751
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x40675a
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x406b69
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x406bba
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x406be2
sub edi, eax
cmp edi, dword [ebp + 8]
jbe 0x406b91
mov edi, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.0045dcc0
add esp, 0xc
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x78]
add dword [esi + 0x74], edi
mov edx, edi
mov ecx, ebx
call fcn.0040601b
mov dword [esi + 0x78], eax
mov eax, edi
jmp 0x406be4
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x406bdb
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406be2
mov edi, dword [ebp + 8]
jmp 0x406ba4
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x407e83
Capabilities:
Create thread

Disassembly:
push 0x8c
mov eax, 0x486964
call fcn.0045eaa4
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx]
xor ebx, ebx
push ebx
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x3ac]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x3a8]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x3a4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xd8]
cmp byte [esi + 0x465], bl
jne 0x407ee4
cmp byte [esi + 0x464], bl
je 0x407f69
cmp byte [esi + 0x468], bl
jne 0x407f24
mov ecx, dword [esi + 0x3a4]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0044b219
push eax
lea eax, [esi + 0x420]
push eax
call fcn.00403749
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004188af
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb8
call fcn.0045c148
pop ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x407f58
lea edi, [esi + 0x3b0]
push eax
call fcn.00407f6f
jmp 0x407f5a
xor eax, eax
push eax
push ebx
push 0x408044
call fcn.0045cd39
add esp, 0xc
call fcn.0045eb27
ret
Function at 0x4086db
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4aa0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.3uToolsCrashReporter
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x44], esi
je 0x40888f
cmp eax, esi
jne 0x40888f
push edi
call fcn.0041a6fe
pop ecx
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x408886
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x40], 6
mov ebx, eax
jl 0x408880
push 0x46c
call fcn.0045c148
pop ecx
cmp eax, esi
je 0x408769
push eax
call fcn.0040786d
mov edi, eax
jmp 0x40876b
xor edi, edi
cmp edi, esi
je 0x40888f
push dword [ebx + 4]
lea eax, [edi + 0x3b0]
push eax
call fcn.00403749
push dword [ebx + 8]
lea eax, [edi + 0x3cc]
push eax
call fcn.00403749
push dword [ebx + 0xc]
lea eax, [edi + 0x3e8]
push eax
call fcn.00403749
push dword [ebx + 0x10]
lea eax, [edi + 0x404]
push eax
call fcn.00403749
push dword [ebx + 0x14]
lea esi, [ebp - 0x3c]
call fcn.00403770
push 0x49f460
lea esi, [ebp - 0x20]
call fcn.00403770
cmp dword [ebp - 0x40], 7
jl 0x4087d8
push dword [ebx + 0x18]
mov eax, esi
push eax
call fcn.00403749
xor esi, esi
push esi
push 0x168
push 0x244
push esi
push esi
push 0x60000
push 0x10cf0000
push 0x49f464
push esi
mov ecx, edi
call fcn.0041fe88
mov ecx, edi
call fcn.0041f8de
cmp dword [ebp - 0x2c], esi
je 0x408830
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x408816
lea eax, [ebp - 0x3c]
push eax
call fcn.0045d2e8
pop ecx
mov ecx, eax
call fcn.004086ad
mov dword [edi + 0x458], eax
mov dword [edi + 0x45c], ecx
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x40883c
lea eax, [ebp - 0x20]
push eax
call fcn.0045d2e8
pop ecx
mov dword [edi + 0x460], eax
cmp eax, 1
jne 0x408855
mov eax, edi
call fcn.00408022
push 5
mov ecx, edi
call fcn.00438403
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041f1c2
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004037d1
push 1
lea esi, [ebp - 0x3c]
call fcn.004037d1
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045bd33
leave
ret 0x10
Function at 0x415af0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48891b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4aa0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00485482
push 4
mov dword [ebp - 4], 0
call fcn.0045c148
mov edi, eax
add esp, 4
test edi, edi
je 0x415b6c
call fcn.0048525e
mov dword [edi], eax
call fcn.00484ff5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004853c3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x415b62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004853eb
jmp 0x415b6e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41a4b5
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
jns 0x41a4cb
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x41a4d7
or edi, 1
push 1
call esi
test ax, ax
jns 0x41a4e3
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x41a4ef
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x41a4fb
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x41d327
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 + 0x120]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x41d353
cmp ebx, dword [esi + 0x170]
je 0x41d353
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x170]
cmp ebx, eax
je 0x41d42a
push edi
test eax, eax
je 0x41d3b2
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 + 0x170]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x170]
mov ecx, esi
call fcn.0041c92e
mov dword [esi + 0x170], edi
test ebx, ebx
je 0x41d429
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41d429
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x41d429
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41d429
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x170], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x170]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x170]
mov ecx, esi
call fcn.0041c92e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41d647
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1e4]
xor ebx, ebx
call fcn.00438403
test eax, eax
jle 0x41d69c
push ebx
lea ecx, [esi + 0x1e4]
mov byte [ebp - 1], 0
call fcn.00418767
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 0x41d700
lea ecx, [esi + 0x1e4]
inc ebx
call fcn.00438403
cmp ebx, eax
jl 0x41d663
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41d765
sub eax, 4
je 0x41d704
dec eax
dec eax
jne 0x41d75c
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0045c82e
pop ecx
mov ecx, dword [esi + 0x16c]
push VariantTimeToDosDateTime
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x41be1c
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41d75c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x41d75e
cmp dword [esi + 0x170], 0
je 0x41d75c
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 + 0x180]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x184]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0041a4b5
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x170]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41d75c
cmp dword [esi + 0x170], 0
je 0x41d7c3
mov ecx, dword [esi + 0x170]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41d7c3
mov ecx, dword [esi + 0x170]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41d7c3
mov ecx, dword [esi + 0x170]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0045db24
pop ecx
pop ecx
test eax, eax
je 0x41d7c3
mov ecx, dword [esi + 0x170]
call fcn.004310e2
test al, al
jne 0x41d75c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.0041d4f1
jmp 0x41d700
Function at 0x420cb5
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x486cc8
call fcn.0045eaa4
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0042015d
call fcn.0041a6e6
push eax
lea ecx, [ebp - 0x94]
call fcn.00418e57
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041a6ec
mov ecx, eax
call fcn.004189da
test al, al
je 0x420dfd
push edi
lea ecx, [ebp - 0x94]
call fcn.00418b68
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0044b219
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x420d59
push str.Error_opening_file
mov ecx, ebx
call fcn.00420368
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004188af
mov al, bl
call fcn.0045eb27
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x420d6e
push esi
push str.File_is_empty
jmp 0x420d37
cmp edi, 0x400000
jbe 0x420d7e
push esi
push 0x48c0ec
jmp 0x420d37
push edi
mov dword [ebp - 0x2cc], esi
call fcn.00418397
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x420dd9
push dword [ebp - 0x2c8]
call fcn.0045c57d
pop ecx
mov ecx, ebx
call fcn.0042015d
push esi
push str.Could_not_read_file
jmp 0x420d37
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.00420b62
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0045c57d
pop ecx
jmp 0x420d40
call fcn.0041a6ec
push eax
lea ecx, [ebp - 0x94]
call fcn.00418b4b
call fcn.0041a6f2
test al, al
je 0x420e1e
call fcn.0041a6f8
jmp 0x420e35
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.0044b219
push eax
call fcn.00428044
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x420e4a
push esi
push str.Error_opening_zip_file
jmp 0x420d37
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.00426744
add esp, 0x14
test eax, eax
je 0x420e78
push esi
push str.Could_not_find_ziped_file
jmp 0x420d37
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x420d66
cmp eax, 0x400000
ja 0x420d76
push eax
call fcn.00418397
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.004280a2
add esp, 0x18
cmp eax, esi
je 0x420eee
cmp eax, 0x600
je 0x420eee
push edi
call fcn.0045c57d
pop ecx
call fcn.0041a6f2
test al, al
jne 0x420ee3
push dword [ebp - 0x2c8]
call fcn.004280da
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x420d37
call fcn.0041a6f2
test al, al
jne 0x420f03
push dword [ebp - 0x2c8]
call fcn.004280da
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.00420b62
push edi
jmp 0x420df0
Function at 0x424dea
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x424df8
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x424eb3
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 + 0x48dde8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x48dde8]
add edx, 8
sub edi, 8
dec esi
jne 0x424e16
pop ebx
test edi, edi
je 0x424ecc
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x48dde8]
inc edx
dec edi
jne 0x424eb7
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x425393
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 0x4253c7
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 0x4253c2
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4253ef
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4253d8
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0045dcc0
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 0x42636d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4aa0f0]
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 0x426415
movzx ecx, word [esi]
test cx, cx
je 0x426415
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x4263a8
cmp cx, 0x5c
jne 0x4263aa
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x42639c
cmp eax, esi
je 0x4263e9
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0045c531
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042636d
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0045e06d
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0045e03c
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.0045bd33
leave
ret
Function at 0x427c7b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x427cf6
cmp dword [esi + 4], 0xffffffff
jne 0x427cf6
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x49dfa4
push edi
call fcn.0045e03c
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x427cc8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x427cc8
mov eax, 0x2000000
jmp 0x427cfb
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004251a0
add esp, 0x10
test eax, eax
jne 0x427ce6
mov eax, dword [ebp + 0x10]
jmp 0x427cfb
push eax
call fcn.0042786a
mov dword [esi], eax
mov eax, dword [0x4ac0e0]
pop ecx
jmp 0x427cfb
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x431cfb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x431d63
cmp dword [ebp + 8], 0x100
jne 0x431d52
cmp word [ebp + 0xc], 0xd
jne 0x431d52
cmp byte [esi + 0x4da], bl
je 0x431d39
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x431d52
cmp byte [esi + 0x4db], bl
jne 0x431d52
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x431d4e
push ebx
push ebx
push ebx
push 0x48ec10
push esi
call fcn.0041c92e
xor eax, eax
jmp 0x431d66
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x44dca4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4aa0f0]
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 0x44dd15
cmp dword [esi + 0x10], ebx
je 0x44dd15
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0045e120
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x44dd15
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.00418a32
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.0041c92e
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bd33
leave
ret 0x10

Function at 0x452215
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 0x45223a
cmp eax, edi
jge 0x452232
mov eax, esi
call fcn.00451ad6
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x452267
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x452247
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x452286
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x452274
xor eax, eax
jmp 0x45227c
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 0x45226a
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 0x4522b8
mov eax, str.zlib_corrupt
call fcn.0044f090
jmp 0x4522f3
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4522c8
mov eax, str.read_past_buffer
jmp 0x4522b1
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4522dd
mov ecx, edi
call fcn.00451c09
test eax, eax
je 0x4522f3
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0045dcc0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret