joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f9b6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6d906c]
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 edi, 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
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x41856c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x41856c
call fcn.00417b80
mov edi, eax
jmp 0x41868b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41858f
call fcn.00417b80
jmp 0x41867e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4185ad
call fcn.00417b80
jmp 0x41867e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4185ce
mov edi, 0x8007000e
jmp 0x418680
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4186c4
jb 0x4185ec
cmp eax, 0xffffffff
ja 0x4186c4
cmp eax, 0x400
jbe 0x418601
push eax
lea ecx, [ebp - 0x418]
call fcn.0041ad40
jmp 0x418627
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x418627
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41863e
mov edi, 0x8007000e
jmp 0x418680
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41865e
call fcn.00417b80
jmp 0x41867e
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.00419290
mov edi, eax
test esi, esi
je 0x41868b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4186a4
lea ecx, [ebp - 0x418]
call fcn.0041ad30
mov eax, edi
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.00421065
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00407de0
int3
Function at 0x41ad70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00413520
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
mov dword [ebp - 4], eax
mov edi, dword [eax + 4]
jb 0x41ad90
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x41adb5
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x41ada0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 4]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edx, edi
jne 0x41adda
mov eax, edi
jmp 0x41adde
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x41ae0d
push ebx
lea eax, [esi + 8]
push eax
call fcn.00411dc0
test al, al
je 0x41adfa
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x41add2
lea eax, [esi + 8]
push eax
push ebx
call fcn.00411dc0
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x41ae0f
mov ecx, edi
cmp ecx, edi
je 0x41ae43
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00412a00
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x41ae43
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x41ae4a
mov eax, dword [ecx]
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x41ae30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041eec0
int3
Function at 0x41b230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fc48
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6d906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x5c], esi
call fcn.00414c80
push eax
mov ecx, esi
call fcn.00405f70
lea eax, [ebp - 0x28]
push eax
call fcn.004c4df1
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x41b291
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.othpkgstartexename_s
push eax
call fcn.004c422d
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41b2db
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3df
push edx
push ecx
call fcn.004216e0
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x40]
push eax
push str.hget
push ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00410720
mov ecx, eax
call fcn.00403110
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0x10
jb 0x41b319
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41b394
mov eax, dword [edi + 0x14]
push 0
push 0
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x34]
call fcn.00403930
lea eax, [ebp - 0x58]
push eax
call fcn.004c4b35
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x41b355
mov eax, dword [eax]
push eax
call fcn.004cbd24
mov edx, dword [ebp - 0x44]
add esp, 0xc
cmp edx, 8
jb 0x41b394
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b38a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3e4
push edx
push ecx
call fcn.004216e0
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41b3c4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3e9
push edx
push ecx
call fcn.004216e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421065
mov esp, ebp
pop ebp
ret
call fcn.004fe980
call fcn.004fe980
call fcn.004fe980
int3
Function at 0x426680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4266a1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4266b9
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4266d1
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4266e7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4266ff
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42dd10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x42dd4e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x42dd4e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x42dd61
jmp 0x42ded5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x42ddf3
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42dde6
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0042d620
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x42ddfe
jmp 0x42ded5
cmp dword [ebp + 8], 0
je 0x42ded5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x42ded5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x42ded5
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x42ded5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42ded5
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0042d620
mov esp, ebp
pop ebp
ret 8
Function at 0x434700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4347da
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4347da
cmp dword [ebp - 0x24], 0x10
jne 0x4347a6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x4347a6
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.0042e8c0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4347cd
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x4347d5
jmp 0x4347da
jmp 0x434754
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x434800
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43ed70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6d906c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x43eda4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43eda4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x43edb3
jmp 0x43ef1c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x43ee0e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x43edf1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x43edfd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x43edc8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x43ee9e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004fad50
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x43ee67
jmp 0x43ee6c
call fcn.00421840
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043ed70
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x43eeba
jmp 0x43eebf
call fcn.00421840
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x43eee8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0050e5c1
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0050e590
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43ef1c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421065
mov esp, ebp
pop ebp
ret
Function at 0x43fc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43fc7a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x43fc84
mov eax, 0x1000000
jmp 0x43fd6e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.0050e5e3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x43fce2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x43fce2
push 0x6c2500
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0050e590
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x43fd26
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x43fd0a
mov dword [ebp - 0x10], 1
jmp 0x43fd11
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x43fd26
mov eax, 0x2000000
jmp 0x43fd6e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00444e30
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43fd4c
mov eax, dword [ebp - 0x1c]
jmp 0x43fd6e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00445b20
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43fd6c
mov eax, 0x200
jmp 0x43fd6e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4406c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x64da90]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x64da90]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x444fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x44500f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x445005
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x445069
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x44502f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fad50
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4452c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4452d0
xor eax, eax
jmp 0x44546d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44542e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x64da90]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x64da90]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x64da90]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x64da90]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x64da90]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x64da90]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x64da90]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x64da90]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4452d9
cmp dword [ebp + 0x10], 0
je 0x445467
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x64da90]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x445434
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x47ab10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6b4], 0
je 0x47abbc
cmp dword [ebp + 8], 0x100
jne 0x47ab88
cmp dword [ebp + 0xc], 0xd
jne 0x47ab88
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x6ba]
test edx, edx
je 0x47ab61
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x47ab88
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x6bb]
test edx, edx
jne 0x47ab88
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je 0x47ab84
push 0
push 0
push 0
push str.return
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x54]
call fcn.0042d620
xor eax, eax
jmp 0x47abc1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x6b4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
call edx
jmp 0x47abc1
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10