joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esi]
xor eax, eax
and ebp, 7
cmp edx, 5
mov dword [esp + 0xc], ecx
jae 0x401131
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov esi, dword [esp + 0x18]
add esi, 5
lea edx, [ecx + edx - 4]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
push edi
mov edi, edi
mov ecx, dword [esp + 0x14]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x40116f
jmp 0x401160
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x40116f
add edi, 1
cmp edi, edx
jb 0x401160
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x10]
cmp edi, edx
jae 0x401285
cmp ecx, 3
jbe 0x4011a5
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x10], eax
je 0x4011e3
cmp cl, 0xff
je 0x4011e3
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x401150
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x401188
movzx ecx, byte [ebp + 0x4c6a88]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x4c6a80], 0
mov cl, byte [ebx + 4]
je 0x4011cf
test cl, cl
je 0x4011cf
cmp cl, 0xff
jne 0x401188
and ebp, 3
add ebp, ebp
mov dword [esp + 0x10], eax
or ebp, 1
add eax, 1
jmp 0x401150
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x40120e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x401214
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x401256
movzx esi, byte [ebp + 0x4c6a88]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x401239
cmp dl, 0xff
jne 0x401252
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x401200
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x18]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401150
cmp ecx, 3
pop edi
pop ebx
jbe 0x40129c
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
pop esi
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x1c]
pop esi
and ebp, 7
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
Function at 0x414e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b152f
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00464590
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [ebp - 0x160], 0
jmp 0x414e89
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp + 0xc]
jge 0x414f5b
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00404885
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
and dword [ebp - 4], 0
push 0x4cf568
push dword [ebp - 0x168]
lea eax, [ebp - 0x144]
push eax
call fcn.00414f74
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
push dword [ebp - 0x170]
lea eax, [ebp - 0x12c]
push eax
call fcn.00414f74
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.00404f45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00404f45
push 8
push 0
lea ecx, [ebp - 0x12c]
call fcn.0040a7fe
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x12c]
call fcn.00404f45
jmp 0x414e7c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461014
leave
ret

Function at 0x415812
Capabilities:
Get common file path

Disassembly:
push 0x334
mov eax, 0x4b1605
call fcn.00461a91
mov esi, ecx
mov edi, 0x104
lea eax, [ebp - 0x118]
push edi
push 0
push eax
call fcn.00464590
add esp, 0xc
lea eax, [ebp - 0x118]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x340]
call fcn.0040a6f3
and dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.00414bb4
lea eax, [ebp - 0x340]
push 0x4cf568
push eax
call fcn.00414bb4
lea eax, [ebp - 0x340]
push esi
push eax
call fcn.00414bb4
add esp, 0x18
lea ecx, [ebp - 0x340]
call fcn.00414c36
push eax
lea ecx, [ebp - 0x130]
call fcn.00404885
lea ecx, [ebp - 0x340]
call fcn.0040a6d0
push 8
push 0
lea ecx, [ebp - 0x130]
call fcn.0040a7fe
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea ecx, [ebp - 0x130]
mov esi, eax
call fcn.00404f45
mov eax, esi
call fcn.00461a3b
ret
Function at 0x415fff
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x244
mov eax, 0x4b1761
call fcn.00461a91
mov byte [ebp - 0x249], dl
mov edx, ecx
xor ebx, ebx
lea ecx, [ebp - 0x230]
call fcn.0041618d
sub esp, 0x18
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x230]
mov esi, esp
push eax
call fcn.00404348
pop ecx
push eax
mov ecx, esi
call fcn.00405d78
mov edx, 0x4cf78c
lea ecx, [ebp - 0x248]
call fcn.00417357
add esp, 0x18
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
call fcn.00405cfe
lea ecx, [ebp - 0x248]
call fcn.00405118
lea ecx, [ebp - 0x230]
call fcn.00404e0f
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x4160ce
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00464590
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x230]
call fcn.00404e0f
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
test eax, eax
jne 0x41617a
lea ecx, [ebp - 0x230]
call fcn.00404e0f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416140
lea ecx, [ebp - 0x230]
call fcn.00404e0f
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.00415f87
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00405bc9
test al, al
je 0x41611c
lea ecx, [ebp - 0x248]
call fcn.00405118
jmp 0x41617a
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405ca2
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x249], 1
call fcn.00405118
movzx eax, byte [ebp - 0x249]
lea ecx, [ebp - 0x230]
push ebx
push 0x2000000
push 3
push ebx
push 7
lea eax, [eax*2 + 2]
push eax
call fcn.00404e0f
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41617a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x230]
call fcn.00405118
mov al, bl
call fcn.00461a3b
ret
Function at 0x416555
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x4b1207
call fcn.00461a91
mov esi, ecx
call fcn.00415cb6
test al, al
je 0x416573
mov al, 1
jmp 0x416681
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0041618d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403bbd
push 2
pop esi
cmp eax, esi
jb 0x416675
push 0
lea ecx, [ebp - 0x28]
call fcn.0040afdc
xor ebx, ebx
push 0x5c
pop edi
inc ebx
cmp word [eax], di
jne 0x4165b7
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040afdc
cmp word [eax], di
je 0x4165fa
push esi
push 0x4cf7d0
lea ecx, [ebp - 0x28]
call fcn.00404e0f
add eax, esi
push eax
call fcn.0046686b
add esp, 0xc
test eax, eax
jne 0x4165f8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040afdc
movzx eax, word [eax]
cmp eax, 0x41
jb 0x4165ea
cmp eax, 0x5a
jbe 0x4165f3
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x4165f8
push 3
pop esi
jmp 0x4165fa
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00405af5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x416650
push esi
call fcn.0040afdc
xor ecx, ecx
push ecx
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00404e0f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x416634
call edi
cmp eax, 0xb7
jne 0x416675
push esi
lea ecx, [ebp - 0x28]
call fcn.0040afdc
push 0x5c
pop ecx
mov word [eax], cx
lea eax, [esi + 1]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405af5
mov esi, eax
lea ecx, [ebp - 0x28]
cmp esi, 0xffffffff
jne 0x41660c
push 0
call fcn.00404e0f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x416677
call edi
cmp eax, 0xb7
je 0x416677
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00405118
mov al, bl
call fcn.00461a3b
ret
Function at 0x418dcb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x828
mov eax, 0x4b1a7f
call fcn.00461a91
mov edi, ecx
mov dword [ebp - 0x82c], edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x834]
mov ebx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x82c], edi
and dword [ebp - 0x834], 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x834], 0
jne 0x418e1e
mov ecx, edi
call fcn.00404dc9
jmp 0x418f1a
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00464590
add esp, 0xc
lea ecx, [ebp - 0x828]
call fcn.00404dc9
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push ecx
lea eax, [ebp - 0x830]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push dword [ebp - 0x834]
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418edd
cmp dword [ebp - 0x830], 1
je 0x418e8d
cmp dword [ebp - 0x830], 2
je 0x418e8d
cmp dword [ebp - 0x830], 7
jne 0x418edd
cmp dword [ebp - 0x82c], 0x800
jae 0x418ea1
lea esi, [ebp - 0x810]
jmp 0x418eaf
push dword [ebp - 0x82c]
call fcn.0046142c
pop ecx
mov esi, eax
lea eax, [ebp - 0x82c]
push eax
push esi
lea eax, [ebp - 0x830]
push eax
push 0
push ebx
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418edd
push esi
lea ecx, [ebp - 0x828]
call fcn.0040f8b1
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x418f01
lea eax, [ebp - 0x810]
cmp esi, eax
je 0x418f01
push 2
push esi
call fcn.00461025
pop ecx
pop ecx
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00404415
lea ecx, [ebp - 0x828]
call fcn.00405118
mov eax, edi
call fcn.00461a3b
ret
Function at 0x418fed
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x82c
mov eax, 0x4b1ab2
call fcn.00461a91
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x82c]
push eax
push 9
push edi
push edx
push ecx
mov dword [ebp - 0x82c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x82c], edi
je 0x419182
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], edi
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], edi
push eax
push edi
push edi
push edi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x41916f
mov ebx, dword [ebp - 0x834]
test ebx, ebx
je 0x41916f
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.00464590
mov eax, dword [ebp - 0x830]
add esp, 0xc
push 2
pop edx
cmp eax, 0x400
jae 0x41909f
lea edi, [ebp - 0x810]
jmp 0x4190cc
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046142c
mov ecx, dword [ebp - 0x830]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.00464590
mov ebx, dword [ebp - 0x834]
add esp, 0x10
mov ecx, dword [ebp - 0x838]
push ebx
call fcn.004177d6
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
xor ebx, ebx
inc ebx
jmp 0x41914f
cmp esi, 0xea
je 0x419130
test esi, esi
jne 0x419130
push edi
lea ecx, [ebp - 0x828]
call fcn.00404d2c
mov ecx, dword [ebp - 0x838]
lea eax, [ebp - 0x828]
and dword [ebp - 4], esi
push eax
call fcn.00405891
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00405118
cmp ebx, dword [ebp - 0x834]
jae 0x41915b
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push ebx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x4190f4
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x41916f
push 2
push edi
call fcn.00461025
pop ecx
pop ecx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x419184
xor al, al
call fcn.00461a3b
ret
Function at 0x41918a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x4b1ae5
call fcn.00461a91
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], eax
inc ebx
lea eax, [ebp - 0x830]
xor edi, edi
push eax
push ebx
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], edi
jne 0x4191c7
xor al, al
jmp 0x41934b
push edi
push edi
push edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x82c], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x419348
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.00464590
mov ecx, dword [ebp - 0x82c]
add esp, 0xc
mov eax, 0x400
mov dword [ebp - 0x838], eax
push 2
pop edx
cmp ecx, eax
jae 0x419229
lea edi, [ebp - 0x810]
jmp 0x41925f
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046142c
mov ecx, dword [ebp - 0x82c]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.00464590
mov eax, dword [ebp - 0x82c]
add esp, 0x10
inc eax
mov dword [ebp - 0x838], eax
xor ecx, ecx
mov dword [ebp - 0x834], eax
push ecx
push ecx
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], ebx
push eax
push ecx
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x419322
cmp esi, 0xea
je 0x419332
test esi, esi
jne 0x4192ee
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00404d2c
mov ecx, dword [ebp - 0x840]
push eax
mov dword [ebp - 4], esi
call fcn.00405891
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00405118
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00464590
add esp, 0xc
jmp 0x4192f0
xor esi, esi
mov eax, dword [ebp - 0x838]
push esi
push esi
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x83c]
push eax
push esi
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x419297
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x419346
push 2
push edi
call fcn.00461025
pop ecx
pop ecx
test esi, esi
sete al
call fcn.00461a3b
ret
Function at 0x419478
Capabilities:
Delete registry key

Disassembly:
push 0x44
mov eax, 0x4b1b25
call fcn.00461a91
mov esi, edx
mov edi, ecx
test esi, esi
jne 0x419493
xor al, al
jmp 0x419567
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4194a6
mov al, 1
jmp 0x419567
lea ecx, [ebp - 0x50]
call fcn.00403b7f
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
mov edx, esi
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.00418fed
pop ecx
test al, al
je 0x41955d
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d2c
push 0x4cf78c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403f40
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x44], ebx
call fcn.00405868
test eax, eax
je 0x419545
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040584d
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407416
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404e0f
mov edx, eax
mov ecx, edi
call fcn.00419478
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00405118
test bl, bl
je 0x41956d
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
inc ebx
mov dword [ebp - 0x44], ebx
call fcn.00405868
cmp ebx, eax
jb 0x4194f2
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00405118
lea ecx, [ebp - 0x50]
call fcn.00405a54
mov al, bl
call fcn.00461a3b
ret
xor ebx, ebx
jmp 0x419555

Function at 0x41c7e6
Capabilities:
Get file size
Read file on windows

Disassembly:
push 4
mov eax, 0x4b1ef6
call fcn.00461a5d
mov edi, edx
mov esi, ecx
push 0x78
call fcn.004612cd
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0041d51a
or dword [ebp - 4], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c898
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
call fcn.0046142c
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push esi
mov byte [esi + eax], 0
mov ecx, dword [edi]
call fcn.0041d5c9
push 1
push esi
test al, al
je 0x41c882
call fcn.00461025
pop ecx
pop ecx
mov al, 1
jmp 0x41c89a
call fcn.00461025
pop ecx
pop ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x41c895
push ecx
call fcn.0041c8a0
and dword [edi], 0
xor al, al
call fcn.00461a26
ret
Function at 0x421929
Capabilities:
Accept command line arguments

Disassembly:
push 0x254
mov eax, 0x4b28fb
call fcn.00461a91
mov ebx, ecx
mov dword [ebp - 0x25c], ebx
test ebx, ebx
je 0x421abb
call 0x42208a
mov dword [ebp - 0x260], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x228]
mov edi, eax
call fcn.00414daa
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x421a33
cmp word [edi], ax
je 0x421a33
push 0x200
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00464590
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x210]
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push 0x1ff
push eax
push 0xffffffffffffffff
push edi
push ecx
push 0xfde9
call esi
test eax, eax
jle 0x4219dd
cmp eax, 0x200
jae 0x421ac1
mov byte [ebp + eax - 0x210], 0
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x210]
push eax
call fcn.0040ae37
jmp 0x421a33
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call esi
lea esi, [eax + 1]
lea ecx, [esi + 1]
push ecx
call fcn.0046142c
pop ecx
mov ebx, eax
xor eax, eax
push eax
push eax
push esi
push ebx
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [eax + ebx], 0
test eax, eax
jle 0x421a26
push ebx
lea ecx, [ebp - 0x228]
call fcn.0040ae37
push ebx
call fcn.00461435
mov ebx, dword [ebp - 0x25c]
pop ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040a793
lea ecx, [ebp - 0x228]
call fcn.00404f45
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp - 0x240]
mov esi, esp
push eax
call fcn.00404348
pop ecx
push eax
mov ecx, esi
call fcn.00414d41
push 0x4d141c
push dword [ebp - 0x260]
mov edx, str.ProcessIntegrityLevel
lea ecx, [ebp - 0x258]
call fcn.00421e17
add esp, 0x20
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.0040a7fe
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx]
lea ecx, [ebp - 0x258]
call fcn.00404f45
lea ecx, [ebp - 0x240]
call fcn.00404f45
call fcn.00461a3b
ret
call fcn.0046155b
int3
Function at 0x42c4a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42c4af
mov al, 1
ret
push ebx
push esi
push 0xd
mov bl, 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x42c501
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edx, eax
test edi, edi
je 0x42c500
test edx, edx
je 0x42c500
xor ecx, ecx
movzx eax, word [edi + ecx*2]
test ax, ax
je 0x42c4f9
add eax, 0xffffffd0
cmp ax, 9
ja 0x42c4f7
inc ecx
cmp ecx, edx
jb 0x42c4de
jmp 0x42c4f9
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
ret

Function at 0x431bdb
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4b35c3
call fcn.00461a5d
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423eb1
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 9
jne 0x431c3b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x431cf9
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x431c33
push esi
push esi
push esi
push 0xc
call fcn.00425b31
test eax, eax
jne 0x431cf9
xor esi, esi
inc esi
jmp 0x431cf9
cmp ebx, 0x25
je 0x431c53
cmp ebx, 0x27
je 0x431c53
cmp ebx, 0x26
je 0x431c53
cmp ebx, 0x28
jne 0x431cf9
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x431cf9
push esi
push esi
push esi
push 0xb
call fcn.00425b31
test eax, eax
jne 0x431cf9
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x2c], esi
je 0x431cf9
cmp ebx, 0x25
jb 0x431cf9
cmp ebx, 0x26
jbe 0x431c97
cmp ebx, 0x28
ja 0x431cf9
push eax
mov ecx, edi
call 0x430531
jmp 0x431c9f
push eax
mov ecx, edi
call 0x4305ce
mov ebx, eax
test ebx, ebx
je 0x431cf9
push ebx
mov ecx, edi
call fcn.0042f340
push esi
push esi
push esi
push 0x11
mov ecx, ebx
call fcn.00425b31
cmp eax, 4
jne 0x431cd4
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xac]
mov dword [ebp - 0x14], esi
call fcn.0042a27f
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6e
call fcn.00425b31
cmp eax, 1
jne 0x431cf9
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6f
call fcn.00425b31
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.004273c7
mov eax, esi
call fcn.00461a26
ret 8

Function at 0x431d19
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x4b35a0
call fcn.00461a5d
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x18]
call fcn.00423eb1
xor esi, esi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], esi
jne 0x431d6a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x431d6a
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x431d67
push esi
push esi
push esi
push 0xc
call fcn.00425b31
test eax, eax
jne 0x431d6a
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CTrackFinalEvent.0
call fcn.004273c7
mov eax, esi
call fcn.00461a26
ret 8
Function at 0x431d8a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4b35c3
call fcn.00461a5d
mov esi, ecx
push dword [esi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423eb1
xor edi, edi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], edi
jne 0x431e89
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x431e89
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x431de4
push edi
push edi
push edi
push 0xc
call fcn.00425b31
test eax, eax
jne 0x431e89
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
inc ebx
mov byte [esi + 0xce], bl
test ecx, ecx
je 0x431e05
push 0x8000
call fcn.0040f992
test al, al
jne 0x431e0b
mov edi, dword [esi + 0xc0]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
push edi
test al, 1
je 0x431e24
call fcn.0042fdcb
jmp 0x431e29
call fcn.0042fbda
mov edi, eax
test edi, edi
je 0x431e61
push edi
mov ecx, esi
call fcn.0042f340
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0x11
call fcn.00425b31
cmp eax, 4
jne 0x431e61
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
or dword [ebp - 0x10], 0xffffffff
lea ecx, [edi + 0xac]
push eax
call fcn.0042a27f
mov ecx, dword [esi + 0xb0]
xor edi, edi
push edi
push edi
push edi
push 0x6e
call fcn.00425b31
cmp eax, ebx
jne 0x431e8b
mov ecx, dword [esi + 0xb0]
push edi
push edi
push edi
push 0x6f
call fcn.00425b31
jmp 0x431e8b
mov ebx, edi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.004273c7
mov eax, ebx
call fcn.00461a26
ret 8