joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413ade
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 8]
call fcn.00417c00
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00436a03
lea ecx, [ebp - 8]
call fcn.00417f3a
mov edi, 0x478b38
push edi
lea ecx, [ebp - 8]
call fcn.00417c00
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004369b1
lea ecx, [ebp - 8]
mov bl, al
call fcn.00417f3a
test bl, bl
je 0x413b9a
push 0x476d44
lea ecx, [ebp - 0xc]
call fcn.00417c32
push edi
lea ecx, [ebp - 8]
call fcn.00417c00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004369c7
mov eax, dword [eax]
push dword [eax + 0xc]
lea ecx, [esi + 0x10]
call fcn.00406a20
lea ecx, [ebp - 8]
call fcn.00417f3a
lea ecx, [ebp - 0xc]
call fcn.00417f3a
cmp dword [esi + 0x24], 0
jne 0x413b84
mov ecx, esi
call fcn.0041390a
mov byte [esi + 0x2c], 1
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.0042377d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x413b8b

Function at 0x413f89
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x478b10
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x413fda
cmp dword [esi + 0x20], 8
mov eax, dword [esi + 0x1c]
jb 0x413fb6
mov esi, dword [esi + 0xc]
jmp 0x413fb9
add esi, 0xc
add eax, eax
push eax
push esi
push 1
push 0
push 0x478ae4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413fe5
push 0x478d70
call fcn.0044e8f2
pop ecx
pop esi
leave
ret
Function at 0x415572
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x479240
mov edi, 0x476d6c
push edi
push eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x298], ecx
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
add esp, 0xc
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
push 0x24c
lea eax, [ebp - 0x288]
push ebx
push eax
mov dword [ebp - 0x28c], ebx
call fcn.0044f620
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x4155f3
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x4156aa
test byte [ebp - 0x28c], 0x10
jne 0x415683
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 0x294]
lea eax, [ebp - 0x2b4]
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c00
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00406492
cmp dword [esi + 0x18], 8
jb 0x41565c
mov eax, dword [esi + 4]
jmp 0x41565f
lea eax, [esi + 4]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x41566b
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.00414a47
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415610
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406492
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f033
leave
ret 8

Function at 0x415cec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 0x478130
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x415d11
push 0x479d28
call fcn.0044e8f2
pop ecx
xor eax, eax
jmp 0x415d42
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x415d30
push 0x479c90
call fcn.0044e8f2
pop ecx
xor eax, eax
jmp 0x415d41
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x41601c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x477ca8
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c00
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x41604e
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x416061
lea eax, [ebp - 0x1c]
cmp dword [esi + 0x18], 8
jb 0x41606c
mov esi, dword [esi + 4]
jmp 0x41606f
add esi, 4
push eax
push esi
call fcn.004082f6
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044f033
leave
ret 4

Function at 0x41636c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x228
mov dword [ebp - 0x6b8], eax
xor esi, esi
lea eax, [ebp - 0x280]
push esi
push eax
mov dword [ebp - 0x6b4], ecx
call fcn.0044f620
add esp, 0xc
push esi
push 2
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x284]
push ecx
push eax
mov dword [ebp - 0x6b0], eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4164d2
mov edi, 0x478d40
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406bde
push edi
lea ecx, [ebp - 0x20]
call fcn.00406bde
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408a64
pop ecx
pop ecx
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x20]
inc bl
call fcn.00406492
test bl, bl
je 0x4164ab
push 0x424
lea eax, [ebp - 0x6a8]
push esi
push eax
call fcn.0044f620
add esp, 0xc
push dword [ebp - 0x27c]
mov dword [ebp - 0x6ac], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x6ac]
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406bde
mov eax, dword [ebp - 0x6b4]
add eax, 0x2c
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408a64
add esp, 0x14
push esi
push 1
test eax, eax
je 0x4164f1
lea ecx, [ebp - 0x3c]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x6b0]
call sub.KERNEL32.dll_Process32NextW
push esi
push 1
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00406492
cmp ebx, esi
jne 0x4163da
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f033
leave
ret 4
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x6b8]
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00406492
mov al, 1
jmp 0x4164e0
Function at 0x417187
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4190a4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x500f38], 0
jne 0x41913c
push esi
push 0x4fceb0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0044f620
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00450e3e
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00450e27
lea eax, [ebp - 0x20c]
push 0x47acf8
push eax
call fcn.0045018c
add esp, 0x20
pop esi
test eax, eax
je 0x419132
mov byte [0x500f34], 1
mov dword [0x500f38], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f033
leave
ret

Function at 0x419b09
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0040f14a
lea eax, [ebp - 0x1c]
push eax
push 0x47ae88
push 0x502d70
call fcn.00410b4e
pop ecx
pop ecx
push eax
call fcn.0041990c
push eax
call fcn.00419ad5
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00406492
lea ebx, [esi + 4]
test ebx, ebx
je 0x419b5e
lea eax, [esi + 0xc]
jmp 0x419b60
xor eax, eax
push 0x47ae84
push eax
call fcn.00410b4e
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0040f14a
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x419b84
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00406492
mov ecx, ebx
call fcn.0041983d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41acd3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041ab0c
and byte [esi + 0x24], 0xf8
xor eax, eax
push 0x10
mov dword [esi], 0x47b034
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi + 0x24]
mov edi, 0x4000000
push edi
shr eax, 8
test al, al
seta al
xor cl, al
and cl, 1
xor byte [esi + 0x24], cl
call fcn.00419ea1
add al, al
xor al, byte [esi + 0x24]
mov ebx, 0x8000000
and al, 2
xor byte [esi + 0x24], al
push ebx
call fcn.00419ea1
shl al, 2
xor al, byte [esi + 0x24]
pop ecx
and al, 4
xor byte [esi + 0x24], al
mov al, byte [esi + 0x24]
pop ecx
test al, 1
je 0x41ad48
and dword [esi + 0x28], 0x2000000
test al, 2
je 0x41ad4f
and dword [esi + 0x28], edi
test al, 4
je 0x41ad56
and dword [esi + 0x28], ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x42d70e
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42d75f
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x42d770
push 0xd
pop eax
jmp 0x42d79d
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42d773
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x42dccf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.0042d6cd
mov ebx, eax
cmp ebx, esi
je 0x42dd3f
lea ecx, [ebp - 0x70]
call fcn.0042d658
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f033
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42dd57
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0042dccf
cmp eax, esi
jne 0x42dd89
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x42dd47
lea ecx, [ebp - 0x70]
call fcn.0042d658
push dword [ebp - 0x78]
mov ecx, edi
call fcn.0042d5fd
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0042d658
mov eax, esi
jmp 0x42dd25
Function at 0x42f009
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x42f064
call fcn.0042d524
mov esi, eax
jmp 0x42f12a
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x42f07d
call fcn.0042d524
jmp 0x42f11f
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x42f073
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42f0d9
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x42f0b0
lea ecx, [ebp - 0x70]
call fcn.0042dc80
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.0042dbe5
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f033
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.0042e1fe
cmp dword [ebp - 0x70], edi
jne 0x42f0ee
mov esi, 0x8007000e
jmp 0x42f121
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x42f073
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.0042ed20
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x42f0b5
lea ecx, [ebp - 0x70]
call fcn.0042dc80
jmp 0x42f0b5
Function at 0x4446d6
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4446ed
inc eax
jmp 0x44478f
push esi
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x44470a
push 0xd
call esi
test eax, eax
jne 0x44470a
inc eax
jmp 0x44478e
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov edi, eax
test edi, edi
jne 0x444753
push 1
call esi
mov esi, eax
test esi, esi
je 0x444785
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x444785
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041822c
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00417f48
lea ecx, [ebp - 4]
call fcn.00417f3a
push esi
jmp 0x44477f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x444785
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418244
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00417f48
lea ecx, [ebp - 4]
call fcn.00417f3a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x44483c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44484f
inc eax
jmp 0x4448da
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
cmp dword [eax + 8], 0
jne 0x44486c
mov bl, 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4448d2
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x444898
call dword [sym.imp.USER32.dll_CloseClipboard]
xor bl, bl
jmp 0x4448d0
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [ebx]
push esi
push dword [eax + 0xc]
push ebp
call fcn.0044f050
add esp, 0xc
xor eax, eax
push edi
mov word [esi + ebp], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov bl, 1
pop ebp
pop edi
pop esi
xor eax, eax
test bl, bl
sete al
pop ebx
ret 4
Function at 0x44ab97
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
call edi
push esi
mov ebx, eax
call edi
cmp ebx, 0xffffffff
je 0x44ac98
cmp eax, 0xffffffff
je 0x44ac98
test bl, 0x10
je 0x44ac98
test al, 0x10
jne 0x44ac98
mov ebx, 0x20a
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044f620
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
mov edi, 0x104
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
call esi
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
add ecx, 4
call fcn.004091d2
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044f620
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x78]
call esi
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
add esi, 8
push eax
mov ecx, esi
call fcn.004091d2
push 0x5c
push 1
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00408d60
push eax
call fcn.0044a4cb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
mov bl, al
call fcn.004082c2
test bl, bl
je 0x44ac94
push 0x476d6c
mov ecx, esi
call fcn.0044a735
mov al, 1
jmp 0x44ac9a
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f033
add ebp, 0x19c
leave
ret 8
Function at 0x44b5ed
Capabilities:
Copy file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1e8]
sub esp, 0x268
mov eax, dword [0x4fb448]
xor eax, ebp
mov dword [ebp + 0x1e4], eax
mov eax, dword [ebp + 0x1f4]
push ebx
push esi
mov esi, dword [ebp + 0x1f0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044b5aa
push 0x47e790
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0044a825
and dword [ebp - 0x6c], 0
push 0x24c
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0044f620
add esp, 0x20
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x44b6dc
test byte [ebp - 0x6c], 0x10
jne 0x44b6c2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0044a825
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044a825
add esp, 0x18
push 0
push dword [ebp - 0x74]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.004082c2
test bl, bl
je 0x44b6b5
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x44b6b5
mov bl, 1
jmp 0x44b6b7
xor bl, bl
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004082c2
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44b660
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.004082c2
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.004082c2
mov ecx, dword [ebp + 0x1e4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0044f033
add ebp, 0x1e8
leave
ret

Function at 0x456078
Capabilities:
Authenticate hmac

Disassembly:
shr dword [eax + 0x4a], cl
jmp 0x45608a
xchg ecx, eax
test al, 0xfe
xchg edi, eax
insb byte es:[edi], dx
add bl, byte [eax + 0x527b3ca8]
nop
xor byte [ecx + 0x32a0b122], al
das
movsd dword es:[edi], dword [esi]
mov dh, byte [edx + 0x3db3c1c2]
add dword [esi + 0x69], esi
mov ecx, 0x63876b71
Function at 0x402710
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x402807
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402807
push ebx
call fcn.00409240
add esp, 4
test eax, eax
je 0x40276a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402771
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402750
jmp 0x402773
mov esi, 0x1505
jmp 0x402773
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402807
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x4027a4
inc ebp
dec ebx
je 0x402805
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402805
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4027a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409240
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4027a0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409260
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4027a0
mov eax, dword [ecx + 0x10]
mov edi, dword [eax + edi*4]
jmp 0x402807
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402820
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x402907
test edx, edx
je 0x402907
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x40286a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402871
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402850
jmp 0x402873
mov esi, 0x1505
jmp 0x402873
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x402907
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x4028a4
inc ebx
dec ebp
je 0x402905
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402905
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4028a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409240
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4028a0
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00409260
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4028a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402907
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret