joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d400
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45e0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x60]
cmp dword [ebp + 0x18], 8
lea esi, [ebp + 4]
jb 0x40d43a
mov eax, dword [esi]
jmp 0x40d43c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jne 0x40d499
xor eax, eax
mov word [esp + 0x1c], ax
push 0xf
mov eax, 0x46c1f0
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d492
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40d5f1
cmp dword [edi + 0x90], ebx
jne 0x40d4ac
mov ecx, edi
call sym.Install.exe_protected:_bool___thiscall_CShortcut::InitUrlInstance_void_
test al, al
je 0x40d492
cmp dword [edi + 0x50], 8
jb 0x40d4b7
mov ecx, dword [edi + 0x3c]
jmp 0x40d4ba
lea ecx, [edi + 0x3c]
mov eax, dword [edi + 0x90]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
jge 0x40d521
xor ecx, ecx
push 0xc
mov eax, str.SetURL
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], 1
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d492
mov edx, dword [esp + 0x1c]
push edx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40d5f1
mov dword [esp + 0x60], ebx
cmp dword [edi + 0x68], ebx
je 0x40d56d
mov eax, dword [edi + 0x90]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push 0x46af54
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d56d
cmp dword [edi + 0x6c], 8
jb 0x40d550
mov ecx, dword [edi + 0x58]
jmp 0x40d553
lea ecx, [edi + 0x58]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x90]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push 0x46afa4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d492
cmp dword [ebp + 0x18], 8
jb 0x40d59a
mov ecx, dword [esi]
jmp 0x40d59c
mov ecx, esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x40d5ef
mov eax, 0x46c22c
lea ecx, [esp + 0x34]
call fcn.00401300
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], 2
call fcn.00401900
lea esi, [esp + 0x34]
call fcn.004019b0
xor al, al
jmp 0x40d5f1
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
Function at 0x40d880
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e126
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d951
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c274
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40d94a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40da7c
cmp esi, 0x1a
jne 0x40d978
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d960
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d980
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40d99f
mov eax, dword [ebx + 4]
jmp 0x40d9a2
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d9a4
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40d9c0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40d9c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40d9e3
mov ecx, dword [str..lnk]
mov edx, dword [0x46baf0]
mov dword [eax], ecx
mov cx, word [0x46baf4]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40da30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40da7a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446900
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468a0
add esp, 0x258
ret 8
Function at 0x40dab0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e126
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40db81
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c274
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40db7a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40dcac
cmp esi, 0x1a
jne 0x40dba8
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40db90
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dbb0
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40dbcf
mov eax, dword [ebx + 4]
jmp 0x40dbd2
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dbd4
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40dbf0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40dbf0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40dc13
mov ecx, dword [str..url]
mov edx, dword [0x46c2e8]
mov dword [eax], ecx
mov cx, word [0x46c2ec]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dc60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateUrlLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40dcaa
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446900
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468a0
add esp, 0x258
ret 8
Function at 0x40df10
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x230]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, 0x1a
jne 0x40df88
lea edi, [esp + 0xc]
add edi, 0xfffffffe
jmp 0x40df70
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40df70
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xc]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40df90
cmp dword [ebx + 0x18], 8
mov eax, dword [0x46b464]
mov dword [edi], eax
jb 0x40dfae
mov eax, dword [ebx + 4]
jmp 0x40dfb1
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dfb3
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40dfd0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40dfd0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 8]
pop esi
add eax, 0xfffffffe
cmp dword [esp + 0x220], 0
pop ebx
jne 0x40e030
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e000
mov ecx, dword [str..url]
mov edx, dword [0x46c2e8]
mov dword [eax], ecx
mov cx, word [0x46c2ec]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40e058
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e030
mov edx, dword [str..lnk]
mov ecx, dword [0x46baf0]
mov dword [eax], edx
mov dx, word [0x46baf4]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov al, 1
call fcn.004468a0
add esp, 0x210
ret

Function at 0x40e317
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 0x40e32d
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x40e339
or edi, 1
push 1
call esi
test ax, ax
jge 0x40e345
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40e351
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x40e35d
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x4108dc
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 0x410901
cmp ebx, dword [esi + 0x58]
je 0x410901
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x4109c3
push edi
test eax, eax
je 0x410954
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 + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.00410298
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x4109c2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x4109c2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x4109c2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x4109c2
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x58], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.00410298
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41785b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x417866
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 0x417921
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 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
sub edi, 8
dec esi
jne 0x417886
pop ebx
test edi, edi
je 0x41793a
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x461720]
inc edx
dec edi
jne 0x417925
pop edi
not eax
pop esi
ret

Function at 0x417dd1
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 0x417e05
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 0x417e00
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x417e2d
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x417e16
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00449e20
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 0x418bca
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x476110]
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 0x418c74
movzx ecx, word [esi]
test cx, cx
je 0x418c74
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x418c08
cmp cx, 0x5c
jne 0x418c0a
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x418bfc
cmp eax, esi
je 0x418c48
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044ad2f
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00418bca
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a368
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0044a33a
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.004468a0
leave
ret
Function at 0x41a1a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41a220
cmp dword [esi + 4], 0xffffffff
jne 0x41a220
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x46b464
push edi
call fcn.0044a33a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x41a1f2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41a1f2
mov eax, 0x2000000
jmp 0x41a225
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417be7
add esp, 0x10
test eax, eax
jne 0x41a210
mov eax, dword [ebp + 0x10]
jmp 0x41a225
push eax
call fcn.00419da1
mov dword [esi], eax
mov eax, dword [0x477cc0]
pop ecx
jmp 0x41a225
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41b182
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x45b926
call fcn.004485cd
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0041a745
call fcn.0040e4df
push eax
lea ecx, [ebp + 0x230]
call fcn.00412c90
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040e4e5
mov ecx, eax
call fcn.004129f3
test al, al
je 0x41b2e4
push edi
lea ecx, [ebp + 0x230]
call fcn.00412a83
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.0040e691
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x41b258
push str.Error_opening_file
mov ecx, ebx
call fcn.0041a941
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.004128ce
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.004468a0
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x41b26d
push esi
push str.File_is_empty
jmp 0x41b219
cmp edi, 0x400000
jbe 0x41b27d
push esi
push 0x461f9c
jmp 0x41b219
push edi
mov dword [ebp - 0x14], esi
call fcn.0040e14b
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 0x41b2c3
push dword [ebp - 0x10]
call fcn.00446d3c
pop ecx
mov ecx, ebx
call fcn.0041a745
push esi
push str.Could_not_read_file
jmp 0x41b219
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041b031
push dword [ebp - 0x10]
mov bl, al
call fcn.00446d3c
pop ecx
jmp 0x41b222
call fcn.0040e4e5
push eax
lea ecx, [ebp + 0x230]
call fcn.00412a69
call fcn.0040e4eb
test al, al
je 0x41b305
call fcn.0040e4f1
jmp 0x41b31c
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.0040e691
push eax
call fcn.0041a584
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41b32e
push esi
push str.Error_opening_zip_file
jmp 0x41b219
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00418c82
add esp, 0x14
test eax, eax
je 0x41b353
push esi
push str.Could_not_find_ziped_file
jmp 0x41b219
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41b265
cmp eax, 0x400000
ja 0x41b275
push eax
call fcn.0040e14b
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0041a5e1
add esp, 0x18
cmp eax, esi
je 0x41b3ba
cmp eax, 0x600
je 0x41b3ba
push edi
call fcn.00446d3c
pop ecx
call fcn.0040e4eb
test al, al
jne 0x41b3af
push dword [ebp - 0x10]
call fcn.0041a61b
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41b219
call fcn.0040e4eb
test al, al
jne 0x41b3cc
push dword [ebp - 0x10]
call fcn.0041a61b
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041b031
push edi
jmp 0x41b2d7
Function at 0x4250f3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x4f8], ebx
je 0x425168
cmp dword [ebp + 8], 0x100
jne 0x425156
cmp word [ebp + 0xc], 0xd
jne 0x425156
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jle 0x42512c
cmp byte [esi + 0x4fe], bl
je 0x42513d
push 0x11
call edi
test ax, ax
jge 0x425156
cmp byte [esi + 0x4ff], bl
jne 0x425156
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x425152
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.00410298
xor eax, eax
jmp 0x42516b
mov eax, dword [esi + 0x4f8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x42c841
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 0x42c866
cmp eax, edi
jge 0x42c85e
mov eax, esi
call fcn.0042c1f5
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x42c888
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 0x42c86d
cmp ecx, 4
jge 0x42c8a7
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x42c895
xor eax, eax
jmp 0x42c89d
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 0x42c88b
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 0x42c8d9
mov eax, str.zlib_corrupt
call fcn.00429e12
jmp 0x42c914
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42c8e9
mov eax, str.read_past_buffer
jmp 0x42c8d2
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42c8fe
mov ecx, edi
call fcn.0042c220
test eax, eax
je 0x42c914
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00449e20
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 0x440c00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x28], bl
je 0x440c71
cmp dword [esi + 0x20], ebx
je 0x440c71
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0044a730
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x440c71
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00412a47
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00410298
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004468a0
leave
ret 0x10