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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5482f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push eax
call fcn.004dcd7f
add esp, 8
cmp word [edi], 0
mov dword [ebp - 4], 0
jne 0x44d365
xor ecx, ecx
jmp 0x44d37f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d370
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404240
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.00404240
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.0044db30
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
push 0
push 0
test eax, eax
lea eax, [ebp - 0x28]
push 1
je 0x44d3ec
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push esi
push eax
call fcn.004e4422
add esp, 0x20
jmp 0x44d400
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004e463e
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0044db30
push 0
push esi
push 0x150a
mov byte [ebp - 4], 2
call fcn.0044d4b0
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44d449
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402750
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44d45e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x44d487
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4556d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549176
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x45577c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x45577c
call fcn.00453fd0
mov esi, eax
jmp 0x45586c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x45579f
call fcn.00453fd0
jmp 0x45585f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4557bd
call fcn.00453fd0
jmp 0x45585f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4557de
mov esi, 0x8007000e
jmp 0x455861
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00453db0
jmp 0x455808
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x45581f
mov esi, 0x8007000e
jmp 0x455861
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x45583f
call fcn.00453fd0
jmp 0x45585f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00455570
mov esi, eax
test edi, edi
je 0x45586c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x455890
lea ecx, [ebp - 0x418]
call fcn.00454db0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4561b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4561c9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4561d5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4561d0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x456210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x456225
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456230
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4615b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a988
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x673114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push 0x461640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [edi + 0x2c]
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x461618
lea eax, [ebp + 8]
push eax
call fcn.00465500
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x464550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54af52
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x673114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x28], 8
lea edi, [ecx + 0x14]
mov dword [ebp - 0x10], 0
jb 0x46458b
mov eax, dword [edi]
jmp 0x46458d
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4645bb
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00402880
jmp 0x464601
mov eax, dword [0x675ab8]
test eax, eax
jne 0x4645f6
push 0x39c
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4645e8
mov ecx, eax
call fcn.00431000
jmp 0x4645ea
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x675ab8], eax
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.00431ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x475f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d143
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x673114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x679110
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x679110
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x55c2c5
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00479b40
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x483d36
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 0x483d59
or esi, 1
push 1
call edi
test ax, ax
jns 0x483d65
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x483d71
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x483d7d
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x488d66
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 0x488d98
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 0x490bc9
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x54f759
call fcn.00514880
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00490f58
call fcn.00483845
push eax
lea ecx, [ebp - 0x94]
call fcn.00480ed9
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004838ca
mov ecx, eax
call fcn.004816cb
test al, al
je 0x490cdf
push ebx
lea ecx, [ebp - 0x94]
call fcn.00481127
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00481560
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x490c50
push str.Error_opening_file
jmp 0x490dc0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x490d59
cmp edi, 0x400000
ja 0x490d6a
and dword [ebp - 0x2c8], 0
push edi
call fcn.00474ddd
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 0x490cc8
push ebx
call fcn.00474de6
pop ecx
mov ecx, esi
call fcn.00490f58
push 0
push str.Could_not_read_file
jmp 0x490dc0
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00490e0b
push dword [ebp - 0x2cc]
jmp 0x490dee
call fcn.004838ca
push eax
lea ecx, [ebp - 0x94]
call fcn.0048110a
call fcn.00483c05
test al, al
je 0x490d00
call fcn.004838d0
jmp 0x490d17
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00481560
push eax
call fcn.004a7e50
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x490d28
push eax
push str.Error_opening_zip_file
jmp 0x490dc0
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.004a7891
add esp, 0x14
test eax, eax
je 0x490d4f
push 0
push str.Could_not_find_ziped_file
jmp 0x490dc0
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x490d62
push 0
push str.File_is_empty
jmp 0x490dc0
cmp ebx, 0x400000
jbe 0x490d73
push 0
push 0x61170c
jmp 0x490dc0
push ebx
call fcn.00474ddd
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004a8210
add esp, 0x18
test eax, eax
je 0x490dcb
cmp eax, 0x600
je 0x490dcb
push dword [ebp - 0x2c8]
call fcn.00474de6
pop ecx
call fcn.00483c05
test al, al
jne 0x490db9
push edi
call fcn.004a76eb
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00490f80
mov bl, al
jmp 0x490df6
call fcn.00483c05
test al, al
jne 0x490ddb
push edi
call fcn.004a76eb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00490e0b
push edi
mov bl, al
call fcn.00474de6
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00481015
mov al, bl
call fcn.0051483b
ret 8
Function at 0x4a507b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4a508f
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4a50a1
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4a508b
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4a50bc
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4a50f3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.004f0f60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x4a50f7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4a50fa
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x4a7038
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x88
mov eax, 0x54ec0f
call fcn.00514880
mov esi, ecx
cmp dword [esi + 0x4ec], 0
mov ebx, dword [ebp + 0x14]
je 0x4a712c
cmp dword [ebp + 8], 0x100
jne 0x4a7112
cmp word [ebp + 0xc], 0xd
jne 0x4a70ab
cmp byte [esi + 0x4f2], 0
je 0x4a708c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a70ab
cmp byte [esi + 0x4f3], 0
jne 0x4a70ab
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4a70a4
push 0
push 0
push 0
push str.return
push esi
call fcn.00486eb8
xor eax, eax
jmp 0x4a712f
cmp dword [ebp + 0xc], 0x43
jne 0x4a7112
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a7112
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.004a588a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0048156a
lea ecx, [ebp - 0x94]
lea eax, [eax*2 + 2]
push eax
call fcn.00481560
mov ecx, dword [esi + 0x40]
push eax
push 0x2042
call fcn.00402cb0
push eax
call fcn.004a507b
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.00481015
jmp 0x4a70a4
mov eax, dword [esi + 0x4ec]
push ebx
push dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4a712f
xor eax, eax
inc eax
call fcn.0051483b
ret 0x10
Function at 0x4a773d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x673114]
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 0x4a77f3
movzx eax, word [esi]
test ax, ax
je 0x4a77f3
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x4a777d
cmp ax, 0x5c
jne 0x4a777f
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4a7771
cmp edi, esi
je 0x4a77c6
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.005017c4
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4a7803
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004a773d
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00501787
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00501716
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.00474d9e
mov esp, ebp
pop ebp
ret
call fcn.004752b6
int3

Function at 0x4a7dc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x4a7e44
cmp dword [edi + 4], 0xffffffff
jne 0x4a7e44
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x6578fc
push esi
call fcn.00501716
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4a7e16
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4a7e16
mov eax, 0x2000000
jmp 0x4a7e49
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004aa2f4
add esp, 0x10
test eax, eax
jne 0x4a7e34
mov eax, dword [ebp - 4]
jmp 0x4a7e49
push eax
call fcn.004aaa01
mov dword [edi], eax
mov eax, dword [0x67985c]
pop ecx
jmp 0x4a7e49
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aa401
Capabilities:
Read file on windows

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

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4aa5dd
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x4aa69c
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 + 0x61cc70]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
sub edi, 1
jne 0x4aa5f5
pop edi
test esi, esi
je 0x4aa6b8
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc70]
inc edx
sub esi, 1
jne 0x4aa6a0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4bf011
Capabilities:
Get graphical window text

Disassembly:
push 0x320
mov eax, 0x550126
call fcn.00514880
mov ebx, ecx
call fcn.00402160
xor eax, eax
cmp byte [ebx + 0x24], al
je 0x4bf16a
cmp dword [ebx + 0x1c], eax
je 0x4bf168
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], eax
push 0x69
pop ecx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x2f0]
mov esi, str.NxR8TAcQtqisZztWnYRB9boTjmHKW3VVrdt7UsVmTk7k3ixD07hintFecLZUt3ypSCdGw89mCMpnsgU0LkyRlgqB7tStWXjOT0ld1txaCLqYG1vSioBhyFIratxcX0ximqx943TZVmTrrI0FNgqhav7f7tMYhcX7oLIFXyhQm2ohJABoE6WfWqKBHfxaVIfBAzcMkax4xJhnxk8qvXvigHaMEfCsWllzQWJNmODOOIC4birFjOJ7WtyhYDpr19BplN6Of0iAZAFVNoyOeoU5E4DsLXuKBPmVcTtGNv8euxAYeGc4gBNZgTkaIIQbIBMOGSkgCePVwgg8cXo4Pa8PY1ag5XXh5ZLXQxVgimKlR02SnTWNtcPlJ5uDYa1dFh2DK4K5u12ong3C9deeDtxEdcwcgKrO9ELBpGZ
lea eax, [ebp - 0x2f0]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x308]
call fcn.004057d0
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x32c]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0
call fcn.00479e2e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.005148f0
mov edi, esp
test edi, edi
je 0x4bf15d
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x1c]
push edi
add ecx, 0x1bc
call fcn.004810b3
xor eax, eax
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], eax
push 0x4e
pop ecx
mov esi, str.q1Vpnek6Pe5r5IbdntegpIBuY1kjYxG22I2Px2IkcT8Zayq0FQKGHDONNaae9YcuUGCl3WH0HfN3UE7mTpF3o5AJzEiUEEysOVhREmQCCP1h9B5t49MgdP04xknaFCaufcrHW6JLXDEb6Y2dLk4KRoada66WM7e4NWs7ccNpQyqcwTHJsSFqUPpUyoikoLmtmgVS1ajmbtDNZ4KDcI8K16CyapuX9PMP1QdrAyLGPypuwOtBO60PfcITnfcgJiRKCOUQk5mEmYuuuwLfn8OMv6iWbYPHZJu6n2N9T4DgSLnMeB1J5qBZEJEmI
mov byte [ebp - 4], 2
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x320]
movsw word es:[edi], word [esi]
call fcn.004057d0
lea eax, [ebp - 0x320]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 2
call fcn.00479e2e
mov ecx, dword [ebx + 0x1c]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00486eb8
lea ecx, [ebp - 0x2fc]
call fcn.00479e80
lea ecx, [ebp - 0x32c]
call fcn.00479e80
xor eax, eax
lea esp, [ebp - 0x33c]
call fcn.0051483b
ret 0x10