joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b0b
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x511ab8
call fcn.004d18f8
mov edi, ecx
lea eax, [edi + 0x9e0]
cmp dword [eax + 0x14], 0x10
jb 0x411b27
mov eax, dword [eax]
push 1
xor ebx, ebx
push ebx
push ebx
push eax
push 0x53aa10
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
call fcn.004d06e6
mov esi, eax
pop ecx
mov dword [ebp - 0x30], esi
mov dword [esi], edi
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x24]
xor eax, eax
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040514f
mov dword [ebp - 0x24], 0x53b830
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24]
call fcn.00405215
cmp dword [ebp - 0x14], ebx
je 0x411b8c
push 4
push dword [ebp - 0x14]
call fcn.004d09b0
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004051c7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.004052a3
cmp dword [ebp - 0x28], 0
jne 0x411bb1
call fcn.004d18a2
ret 4
call fcn.004f52db
int3

Function at 0x411bb7
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x34
mov eax, 0x511aed
call fcn.004d18f8
mov esi, ecx
lea eax, [ebp - 0x40]
push 1
push eax
call fcn.0040d130
mov ecx, eax
call fcn.0040d60a
xor ebx, ebx
mov ecx, eax
push 0x53be74
mov dword [ebp - 4], ebx
call fcn.00402154
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e72
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004020b1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
test eax, eax
jne 0x411c40
push dword [esi + 4]
lea ecx, [esi + 0x9c8]
lea edx, [ebp - 0x28]
call fcn.0040bcd2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x411c3f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push ebx
push 0x7db
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x28]
call fcn.004020b1
call fcn.004d18a2
ret

Function at 0x4136cb
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 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x4136ee
or esi, 1
push 2
call edi
test ax, ax
jns 0x4136fa
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x413706
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x413712
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x414bad
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x55747c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x410], ebx
jle 0x414bfa
mov eax, dword [esi + 0x40c]
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 5], 0
jne 0x414c58
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x414bcf
sub edi, 0x100
je 0x414ccf
sub edi, 4
je 0x414c5c
dec edi
sub edi, 1
jne 0x414cbc
push dword [ebp + 0xc]
and dword [ebp - 0xc], edi
call fcn.004f5abf
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0xc]
push reloc.WS2_32.dll_select
mov word [ebp - 0xc], ax
push edx
mov eax, dword [ecx]
push 0x419852
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x414cbc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x414cbe
cmp dword [esi + 0x108], 0
je 0x414cbc
xor eax, eax
mov dword [ebp - 0x2c], 6
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x120]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x16], xmm0
mov dword [ebp - 0x1c], eax
call fcn.004136cb
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d04d5
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x414cbc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x414d28
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x414d28
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x414d28
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004e7fee
pop ecx
pop ecx
test eax, eax
je 0x414d28
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x414cbc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x414d70
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x414d70
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x414d70
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004e7fee
pop ecx
pop ecx
test eax, eax
jne 0x414cbc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0041812f
jmp 0x414c58
Function at 0x417cc9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x55747c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
cmp eax, ecx
je 0x417d03
cmp esi, dword [edi + 0x108]
je 0x417d03
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x417dfb
test eax, eax
je 0x417d71
xorps xmm0, xmm0
mov dword [esp + 0xc], 0x17
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.0041834d
and dword [edi + 0x108], 0
test esi, esi
je 0x417dfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x417dfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x417dfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x417dfb
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.0041834d
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.004d04d5
mov esp, ebp
pop ebp
ret 4
Function at 0x423af7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x423b33
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x423b33
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x423c09
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x423c10
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x423b99
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x423b99
cmp dword [edi], 0xf
jne 0x423b99
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x423c10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x550]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x423b92
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x423c10
push 1
call dword [edi + 0x14]
jmp 0x423c10
cmp dword [edi], 0xd
je 0x423b50
cmp dword [edi], 0xe
jne 0x423bc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x423c10
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call fcn.0041834d
jmp 0x423c10
cmp dword [edi], 9
je 0x423c10
cmp dword [edi], 0xb
jne 0x423bee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x423c10
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.00423429
jmp 0x423c10
cmp dword [edi], 0xa
jne 0x423c08
mov eax, dword [esi + 0x55c]
test al, 8
je 0x423c10
and eax, 0xfffffff7
mov dword [esi + 0x55c], eax
jmp 0x423be5
push edi
mov ecx, esi
call fcn.004236a8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x424872
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x4248b2
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4248b2
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
jne 0x424a20
mov ecx, esi
call fcn.0041d98e
jmp 0x424a2e
cmp dword [edi], 0x13
jne 0x4248dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x424a2e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.00423429
jmp 0x424a2e
cmp dword [edi], 3
push 0xd
pop ebx
jne 0x4248f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4248f8
cmp word [edi + 0x14], bx
je 0x4248c9
cmp dword [edi], ebx
jne 0x42494b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x424a2e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x6c0]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x424941
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x424a2e
push 1
call dword [edi + 0x14]
jmp 0x424a2e
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x424968
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x424968
cmp dword [edi], 0xf
je 0x4248fc
cmp dword [edi], 0xe
jne 0x424997
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x424a2e
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x44]
push esi
call fcn.0041834d
jmp 0x424a2e
cmp dword [edi], 9
je 0x424a2e
cmp dword [edi], 0xb
jne 0x4249bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x424a2e
or dword [esi + 0x6cc], 8
jmp 0x4248d0
cmp dword [edi], 0xa
jne 0x4249dc
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x424a2e
and eax, 0xfffffff7
mov dword [esi + 0x6cc], eax
jmp 0x4248d0
cmp dword [edi], 0x1b
jne 0x4249f0
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x424989
cmp dword [edi], 0x14
jne 0x424a15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x424a15
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x424989
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x424a27
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x424a2e
mov ecx, esi
call fcn.00428458
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424eed
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.004205fb
Function at 0x425e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
push edi
shr edx, 0x10
mov edi, ecx
push 0x3c
pop esi
test dx, dx
je 0x425e48
cmp word [eax], si
je 0x425e48
call fcn.0040bf19
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x1c]
call fcn.0041acf9
test eax, eax
jne 0x425e3b
xor ecx, ecx
jmp 0x425e3d
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x425e7d
cmp word [eax], si
jne 0x425e61
push eax
mov ecx, edi
call fcn.0042a591
jmp 0x425e6a
push ecx
push eax
mov ecx, edi
call fcn.0042a693
test al, al
jne 0x425ef9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [edi + 0x148]
test esi, esi
jne 0x425e96
mov esi, dword [0x55ca9c]
test esi, esi
cmove esi, dword [0x55ca98]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x425e72
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x425ec0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x425e72
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push esi
mov dword [edi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.0042a5f8
test al, al
je 0x425e72
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00425f0e
jmp 0x425e74
Function at 0x42f486
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x42f4f0
cmp dword [ebp + 8], 0x100
jne 0x42f4df
cmp word [ebp + 0xc], 0xd
jne 0x42f4df
cmp byte [esi + 0x6a2], 0
je 0x42f4c6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42f4df
cmp byte [esi + 0x6a3], 0
jne 0x42f4df
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x42f4db
push edi
push edi
push edi
push str.return
push esi
call fcn.0041834d
xor eax, eax
jmp 0x42f4f3
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x43650b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x436537
cmp eax, edi
jge 0x43652b
call fcn.00435f61
mov eax, dword [esi + 8]
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x43655a
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x436540
mov dword [esi + 8], edx
jmp 0x43656f
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x436565
xor dl, dl
jmp 0x43656a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x43655a
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x4365d3
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x4365d3
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4365bb
push edi
mov ecx, esi
call fcn.00436039
pop ecx
test eax, eax
je 0x4365d3
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004e8680
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
jmp 0x4365d5
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x445159
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x445164
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x445220
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 + 0x534110]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
sub edi, 1
jne 0x445179
pop edi
test esi, esi
je 0x44523c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
inc edx
sub esi, 1
jne 0x445224
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x445243
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x534110]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x534110]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x4459cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x55747c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x445a0f
push 0
lea edx, [ebp - 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445a0a
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x445a39
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.004e8680
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
mov ecx, dword [ebp - 4]
xor edx, edx
div ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.004d04d5
leave
ret
Function at 0x446833
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x4468f3
cmp dword [esi + 4], 0xffffffff
jne 0x4468f3
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x446867
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x44689e
cmp eax, 0x2f
je 0x44689e
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x44688b
mov eax, dword [0x53b2d8]
mov dword [edi], eax
cmp dword [ebp + 0x10], 1
jne 0x4468bd
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4468bd
mov eax, 0x2000000
jmp 0x4468f8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
call fcn.00445833
pop ecx
pop ecx
test eax, eax
jne 0x4468da
mov eax, dword [ebp - 4]
jmp 0x4468f8
mov ecx, eax
call fcn.00445ceb
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x4468f8
mov eax, 0x1000000
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44d291
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x55747c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x44d2df
cmp esi, 0x28
jbe 0x44d2d9
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x44d2df
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e8520
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0041a4ac
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d04d5
leave
ret 0xc
Function at 0x44e2a3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x55747c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x44e323
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004d19a0
mov ebx, esp
test ebx, ebx
je 0x44e323
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0041a6dc
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041834d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x44e323
mov ecx, dword [esi + 0x10]
call fcn.004282fd
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d04d5
leave
ret

Function at 0x44f8e9
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x55747c]
xor eax, esp
mov dword [esp + 0x298], eax
push esi
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44f97e
mov esi, 0xff
push esi
push eax
lea eax, [esp + 0x1a0]
push eax
call fcn.004e8520
add esp, 0xc
lea eax, [esp + 0x198]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44f97e
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
mov edx, ecx
movzx esi, al
movzx eax, cl
shl eax, 8
add eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
jmp 0x44f980
xor eax, eax
mov ecx, dword [esp + 0x29c]
pop esi
xor ecx, esp
call fcn.004d04d5
mov esp, ebp
pop ebp
ret