joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421170
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x496694]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496694]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov ecx, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x2a0]
mov esi, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2b0]
push 0xffffffffffffffff
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2a8]
push edi
mov dword [esp + 0x20], ecx
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
call fcn.00401130
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x294], edi
cmp eax, edi
je 0x421254
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
cmp edi, 8
jae 0x421221
lea edx, [esp + 0x1c]
cmp word [edx + eax*2 - 2], 0x5c
je 0x42124d
mov edx, ecx
cmp edi, 8
jae 0x421234
lea edx, [esp + 0x1c]
cmp word [edx + eax*2 - 2], 0x2f
je 0x42124d
cmp edi, 8
jae 0x421245
lea ecx, [esp + 0x1c]
cmp word [ecx + eax*2 - 2], 0x3a
jne 0x421254
mov edx, 0x47f548
jmp 0x421259
mov edx, 0x47f540
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421260
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00402050
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x42128d
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x4212eb
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 0
call edi
cmp eax, 2
je 0x4212c0
call edi
cmp eax, 0x12
je 0x4212c0
call edi
mov esi, eax
jmp 0x4212c2
xor esi, esi
call fcn.004240e0
cmp dword [esp + 0x30], 8
mov edi, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
jb 0x4212e4
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040fc81
add esp, 4
mov eax, edi
jmp 0x421371
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4212f2
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00401290
mov eax, dword [esp + 0x38]
test eax, 0x400
je 0x42132a
mov dword [esi], 0
mov dword [ebp], 0
jmp 0x42134a
test al, 0x10
je 0x42133d
mov dword [esi], 3
mov dword [ebp], 3
jmp 0x42134a
mov dword [esi], 2
mov dword [ebp], 2
mov esi, dword [esp + 0x14]
mov dword [esi], 0
call fcn.004240e0
mov dword [esi + 4], eax
cmp dword [esp + 0x30], edi
jb 0x42136f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040fc81
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0040f787
add esp, 0x284
ret
Function at 0x421c20
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x470d30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x496694]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x496694]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp eax, 1
jne 0x421c7b
test edi, edi
je 0x421c74
mov dword [edi], 0
call fcn.004240e0
mov dword [edi + 4], eax
xor al, al
jmp 0x421d7a
cmp eax, 3
je 0x421d04
cmp eax, 0xb
je 0x421d04
push 0x19
push str.boost::filesystem::remove
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00408600
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], 1
jb 0x421cc0
mov eax, dword [esi]
jmp 0x421cc2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
lea ecx, [esp + 0x10]
push ecx
sete dl
push edi
movzx eax, dl
push esi
push eax
call fcn.00421ae0
add esp, 0x10
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x421cfc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040fc81
add esp, 4
test bl, bl
je 0x421d78
xor al, al
jmp 0x421d7a
push 0x19
xor ebx, ebx
push str.boost::filesystem::remove
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00408600
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], ebx
jb 0x421d34
mov eax, dword [esi]
jmp 0x421d36
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
lea edx, [esp + 0x2c]
push edx
test al, al
sete al
push edi
movzx ecx, al
push esi
push ecx
call fcn.00421ae0
add esp, 0x10
cmp dword [esp + 0x40], 0x10
mov bl, al
jb 0x421d70
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040fc81
add esp, 4
test bl, bl
jne 0x421c74
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040f787
add esp, 0x48
ret

Function at 0x421ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x14], 8
push edi
jb 0x421ed0
mov eax, dword [ebx]
jmp 0x421ed2
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x421ef8
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.00421da0
mov eax, dword [eax]
add esp, 0xc
pop edi
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x421f0f
mov dword [esi], 0
call fcn.004240e0
mov dword [esi + 4], eax
pop esi
test edi, 0x400
je 0x421f42
push ebx
call fcn.00420c70
add esp, 4
test al, al
je 0x421f3a
mov edx, edi
and dl, 0x10
movzx eax, dl
neg eax
sbb eax, eax
and eax, 7
pop edi
add eax, 4
pop ebx
ret
pop edi
mov eax, 9
pop ebx
ret
mov eax, edi
and eax, 0x10
or eax, 0x20
pop edi
shr eax, 4
pop ebx
ret
Function at 0x422050
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x470dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x496694]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x496694]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0x42209f
mov eax, dword [edi]
jmp 0x4220a1
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4220c1
push esi
push edi
push ebx
call fcn.00421da0
add esp, 0xc
jmp 0x422200
test eax, 0x400
je 0x4221ce
cmp dword [edi + 0x14], 8
jb 0x4220d6
mov esi, dword [edi]
jmp 0x4220d8
mov esi, edi
mov ebx, 7
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x48], eax
call fcn.00423220
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422100
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402050
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 1
jae 0x422131
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 3
jb 0x422165
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040fc81
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0x422196
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.00421da0
add esp, 0xc
mov eax, esi
jmp 0x422202
push edi
call fcn.00420c70
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0x4221bc
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x422202
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0x4221e4
mov dword [esi], 0
call fcn.004240e0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0x4221fc
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040f787
add esp, 0x3c
ret
Function at 0x422c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470f20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x496694]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x47c6fc
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.004041c0
mov byte [esp + 0x38], 1
call fcn.0040e008
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00404270
mov dword [esi], vtable.windows_file_codecvt.0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x4235a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4710d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x496694]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x496694]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov eax, 7
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esp + 0xc], esi
mov word [esi], dx
mov dword [esp + 0x24], eax
xor eax, eax
mov word [esp + 0x10], ax
mov eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], edx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423606
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401290
mov byte [esp + 0x38], 1
call fcn.00423220
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00403970
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x42364f
mov edx, dword [esp + 0x10]
push edx
call fcn.0040fc81
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040f787
add esp, 0x30
ret 8
Function at 0x426fff
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 0x427015
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x427021
or edi, 1
push 1
call esi
test ax, ax
jns 0x42702d
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x427039
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x427045
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x428c25
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 0x428c4a
cmp ebx, dword [esi + 0x54]
je 0x428c4a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x428d0c
push edi
test eax, eax
je 0x428c9d
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 + 0x54]
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 + 0x54]
mov ecx, esi
call fcn.0042875f
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x428d0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x428d0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x428d0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x428d0b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
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 + 0x54]
mov ecx, esi
call fcn.0042875f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x428f10
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 + 0xd0]
xor ebx, ebx
call fcn.0043fd23
test eax, eax
jle 0x428f65
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call fcn.00425a3f
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 0x428fc6
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0043fd23
cmp ebx, eax
jl 0x428f2c
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x42901f
sub eax, 4
je 0x428fca
dec eax
dec eax
jne 0x429016
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00469bf2
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x4281f1
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x429016
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 0x429018
cmp dword [esi + 0x54], 0
je 0x429016
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 + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00426fff
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
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 0x429016
cmp dword [esi + 0x54], 0
je 0x42906e
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x42906e
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x42906e
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00469686
pop ecx
pop ecx
test eax, eax
je 0x42906e
mov ecx, dword [esi + 0x54]
call fcn.004386dd
test al, al
jne 0x429016
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00428dbd
jmp 0x428fc6
Function at 0x42b5a7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x471815
call fcn.0041278e
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0042ab97
call fcn.004271ad
push eax
lea ecx, [ebp - 0x94]
call fcn.00425e4e
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004271b3
mov ecx, eax
call fcn.00425ba1
test al, al
je 0x42b6ef
push edi
lea ecx, [ebp - 0x94]
call fcn.00425c3a
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00427361
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x42b64b
push str.Error_opening_file
mov ecx, ebx
call fcn.0042ad6d
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425a76
mov al, bl
call fcn.004127d8
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x42b660
push esi
push str.File_is_empty
jmp 0x42b629
cmp edi, 0x400000
jbe 0x42b670
push esi
push str.File_too_large
jmp 0x42b629
push edi
mov dword [ebp - 0x2cc], esi
call fcn.0040e6c6
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 0x42b6cb
push dword [ebp - 0x2c8]
call fcn.0041005e
pop ecx
mov ecx, ebx
call fcn.0042ab97
push esi
push str.Could_not_read_file
jmp 0x42b629
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.0042b454
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0041005e
pop ecx
jmp 0x42b632
call fcn.004271b3
push eax
lea ecx, [ebp - 0x94]
call fcn.00425c1d
call fcn.004271b9
test al, al
je 0x42b710
call fcn.004271bf
jmp 0x42b727
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.00427361
push eax
call fcn.004309ab
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x42b73c
push esi
push str.Error_opening_zip_file
jmp 0x42b629
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0042f0c3
add esp, 0x14
test eax, eax
je 0x42b76a
push esi
push str.Could_not_find_ziped_file
jmp 0x42b629
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x42b658
cmp eax, 0x400000
ja 0x42b668
push eax
call fcn.0040e6c6
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.00430a09
add esp, 0x18
cmp eax, esi
je 0x42b7e0
cmp eax, 0x600
je 0x42b7e0
push edi
call fcn.0041005e
pop ecx
call fcn.004271b9
test al, al
jne 0x42b7d5
push dword [ebp - 0x2c8]
call fcn.00430a41
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x42b629
call fcn.004271b9
test al, al
jne 0x42b7f5
push dword [ebp - 0x2c8]
call fcn.00430a41
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.0042b454
push edi
jmp 0x42b6e2
Function at 0x42dc00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42dc0e
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 0x42dcc9
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 + 0x481898]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481898]
add edx, 8
sub edi, 8
dec esi
jne 0x42dc2c
pop ebx
test edi, edi
je 0x42dce2
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x481898]
inc edx
dec edi
jne 0x42dccd
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x42e18f
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 0x42e1c3
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 0x42e1be
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x42e1eb
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x42e1d4
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00411fe0
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 0x42f00d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x496694]
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 0x42f0b5
movzx ecx, word [esi]
test cx, cx
je 0x42f0b5
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x42f048
cmp cx, 0x5c
jne 0x42f04a
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x42f03c
cmp eax, esi
je 0x42f089
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00469738
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042f00d
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00469717
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004696e6
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.0040f787
leave
ret
Function at 0x4305e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43065d
cmp dword [esi + 4], 0xffffffff
jne 0x43065d
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48961c
push edi
call fcn.004696e6
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43062f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43062f
mov eax, 0x2000000
jmp 0x430662
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042df9c
add esp, 0x10
test eax, eax
jne 0x43064d
mov eax, dword [ebp + 0x10]
jmp 0x430662
push eax
call fcn.004301d1
mov dword [esi], eax
mov eax, dword [0x49afc4]
pop ecx
jmp 0x430662
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4388a2
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 0x43890a
cmp dword [ebp + 8], 0x100
jne 0x4388f9
cmp word [ebp + 0xc], 0xd
jne 0x4388f9
cmp byte [esi + 0x4da], bl
je 0x4388e0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4388f9
cmp byte [esi + 0x4db], bl
jne 0x4388f9
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x4388f5
push ebx
push ebx
push ebx
push 0x4826a0
push esi
call fcn.0042875f
xor eax, eax
jmp 0x43890d
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 0x4439d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x496694]
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 0x443a47
cmp dword [esi + 0x10], ebx
je 0x443a47
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0041d650
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x443a47
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.00425bf9
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.0042875f
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f787
leave
ret 0x10