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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
push 0xa
push 0x41c8c0
push ebx
call sub.kernel32.dll_FindResourceW
test eax, eax
je 0x41c8b5
push eax
push ebx
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41c8b5
xor eax, eax
push ebp
push 0x41c8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c8b5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41d44c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407e68
add esp, 0x800
pop ebx
ret

Function at 0x41dd10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41dd30
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x41dd4a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41dd45
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41dd4f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x41ddbd
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x41de06
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41dd7b
inc dword [ebp - 0xc]
jmp 0x41dd93
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x41dd93
cmp dword [ebp - 0xc], 0
jle 0x41dd93
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x41ddb5
xor eax, eax
jmp 0x41ddb1
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41ddb0
mov eax, esi
jmp 0x41de09
inc eax
cmp eax, ecx
jle 0x41dd9d
inc esi
cmp esi, dword [ebp - 8]
jl 0x41dd67
jmp 0x41de06
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x41de06
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41ddde
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41de00
xor eax, eax
jmp 0x41ddfc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41ddfb
mov eax, esi
jmp 0x41de09
inc eax
cmp eax, ecx
jle 0x41dde8
inc esi
cmp esi, dword [ebp - 8]
jl 0x41ddc6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41dfec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41e00b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41e01b
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41e13d
test ebx, ebx
jl 0x41e13d
test esi, esi
jle 0x41e13d
mov eax, dword [ebp - 8]
call fcn.00407ddc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407ddc
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41e0da
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41e13d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41e0bf
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41e08e
inc dword [ebp - 0x14]
jmp 0x41e09e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41e09e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41e0a9
or eax, 0xffffffff
jmp 0x41e0bf
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41e0bc
inc eax
jmp 0x41e0bf
or eax, 0xffffffff
test eax, eax
jl 0x41e0c7
cmp esi, eax
jg 0x41e07c
cmp esi, eax
jg 0x41e0d2
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41e140
inc edx
dec dword [ebp - 0x1c]
jne 0x41e078
jmp 0x41e13d
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41e13d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41e124
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41e103
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41e10e
or eax, 0xffffffff
jmp 0x41e124
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41e121
inc eax
jmp 0x41e124
or eax, 0xffffffff
test eax, eax
jl 0x41e12c
cmp esi, eax
jg 0x41e0ec
cmp esi, eax
jg 0x41e137
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41e140
inc edx
dec dword [ebp - 0x1c]
jne 0x41e0e8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4063a4
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bc794
call fcn.00483820
sub esp, 0xf8
mov eax, dword [0x4eec8c]
push ebx
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 4], ebx
jne 0x4063fb
call fcn.004b563d
mov eax, dword [eax + 4]
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
push dword [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.004b588e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049b8ec
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.0049b7ff
jmp 0x40642a
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push 0xc8
push eax
push 0x4f1070
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049b93c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x406486
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push 0x4e9d90
push eax
call fcn.0048447f
add esp, 0x30
cmp eax, 0xa
jne 0x406486
push esi
push edi
mov edi, dword [ebp + 8]
push 0xb
pop ecx
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x2c
push 1
rep movsd dword es:[edi], dword [esi]
pop ebx
pop edi
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049b7ff
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4068f3
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4bc967
call fcn.00483820
sub esp, 0x188
push ebx
push esi
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x94]
call fcn.00409af5
mov dword [ebp - 4], edi
call fcn.004b563d
mov esi, dword [eax + 4]
lea ecx, [ebp - 0x94]
mov dword [0x4f52ac], edi
call fcn.00497510
push 1
pop ebx
cmp eax, ebx
jne 0x406ab8
lea eax, [ebp - 0x38]
mov ecx, 0x4f135c
push eax
call fcn.0049b8ec
push dword [ebp - 0x2c]
lea eax, [ebp - 0x194]
push eax
call fcn.004838f0
lea eax, [ebp - 0x194]
push str.aaxxzz
push eax
call fcn.00483900
push dword [ebp - 0x38]
lea eax, [ebp - 0x194]
push eax
call fcn.00483900
lea eax, [ebp - 0x194]
push str.zaza123
push eax
call fcn.00483900
push dword [ebp - 0x2c]
lea eax, [ebp - 0x194]
push eax
call fcn.00483900
push dword [ebp - 0x38]
lea eax, [ebp - 0x194]
push eax
call fcn.00483900
mov edi, ebx
lea ecx, [ebp - 0x194]
add esp, 0x30
lea eax, [ebp - 0x194]
sub edi, ecx
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc dl
inc cl
mov byte [eax + 1], dl
mov byte [eax], cl
inc eax
inc eax
lea ecx, [edi + eax]
cmp ecx, 0xff
jb 0x4069ba
push dword [esi + 0x8c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x96], 0x46
mov byte [ebp - 0x95], 0x45
call fcn.0049b86d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
mov eax, dword [eax - 8]
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00493848
push 0x4ea0c4
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.0049ba48
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049b8ec
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0049b7ff
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x28]
call fcn.0049c82d
push 0
push 0x1002
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0049c9df
test eax, eax
je 0x406a8d
lea eax, [ebp - 0x194]
push 0x100
push eax
lea ecx, [ebp - 0x28]
call fcn.0049cb36
lea ecx, [ebp - 0x28]
call fcn.0049cbfa
mov dword [0x4f52ac], ebx
mov dword [0x4f52a8], ebx
lea ecx, [ebp - 0x28]
mov dword [esi + 0x19c], ebx
mov byte [ebp - 4], bl
call fcn.0049c922
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049b7ff
jmp 0x406ac4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x18c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00406ae2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c545
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp byte [eax], cl
je 0x40c58a
push ecx
push ecx
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push eax
call fcn.00485107
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00483900
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
leave
ret 4
Function at 0x411699
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x4bd914
call fcn.00483820
sub esp, 0x14
push ebx
push esi
mov esi, 0xfa00
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4116ca
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x4116d1
xor eax, eax
jmp 0x411803
mov eax, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x18b
push dword [eax + 0x1c]
call edi
mov ecx, dword [0x4eec8c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x18], ecx
and dword [ebp - 4], esi
and dword [ebp - 0x14], esi
test eax, eax
jle 0x41179f
mov eax, dword [ebp + 8]
push 0
push dword [ebp - 0x14]
push 0x18a
push dword [eax + 0x1c]
call edi
lea eax, [eax + esi + 3]
cmp eax, dword [ebp - 0x1c]
jle 0x411758
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
push 0x40
lea ebx, [eax + 0xfa00]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4117ea
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.004ad64c
push dword [ebp - 0x18]
lea eax, [esi + ebx]
push eax
call fcn.004838f0
push dword [ebp - 0x18]
call fcn.00483b20
add esi, eax
push 0x4ea764
lea eax, [esi + ebx]
push eax
call fcn.004838f0
add esp, 0x14
inc esi
inc esi
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x411708
cmp dword [ebp - 0x10], 0
je 0x4117ea
mov edi, dword [ebp - 0x10]
and byte [esi + ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov esi, eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
test esi, esi
push edi
jne 0x4117d0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4117ea
push 1
call fcn.00428287
pop ecx
test eax, eax
pop ecx
jne 0x4117e4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x10], eax
setne al
or dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0049b7ff
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x411813
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4bd969
call fcn.00483820
sub esp, 0x304
push ebx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push edi
call fcn.0049b574
xor ebx, ebx
lea ecx, [ebp - 0x20c]
push ebx
push ebx
push 6
push ebx
push ebx
push 1
mov dword [ebp - 4], ebx
call fcn.00493db7
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049b86d
push str.dummy
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0049bb8f
call fcn.004018b1
cmp eax, ebx
jne 0x411879
mov dword [ebp - 0x1ac], ebx
jmp 0x411882
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x17c]
push esi
and eax, 0xfff7ffff
mov esi, 0x104
or eax, 0x200144
push 0x4e9c58
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [ebp - 0x168], 0x600
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x184], eax
call fcn.0049b86d
push ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0049bbb6
push ebx
lea ecx, [ebp + 8]
call fcn.0049bbb6
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x180], eax
call fcn.0049bbe3
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x174], 0x4f1070
call fcn.004b563d
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1a8], eax
call fcn.00493f19
mov esi, eax
push 0xffffffffffffffff
dec esi
mov ecx, edi
neg esi
sbb esi, esi
inc esi
call fcn.0049bc32
cmp esi, ebx
pop esi
jne 0x411965
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0049b8ec
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049b7ff
mov byte [ebp - 4], 4
jmp 0x4119f7
lea eax, [ebp - 0x310]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp eax, ebx
je 0x4119db
cmp byte [ebp + eax - 0x311], 0x5c
jne 0x411995
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
call fcn.0049b93c
jmp 0x4119db
push 0x4e9540
lea ecx, [ebp + 0x10]
call fcn.0049b86d
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 5
call fcn.0049babc
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0049b8ec
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0049b7ff
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.0049b7ff
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049b7ff
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x160]
call fcn.0049b7ff
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], bl
call fcn.0049710d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049b7ff
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x428287
Capabilities:
Write clipboard data

Disassembly:
mov ecx, dword [0x4f4a8c]
push esi
test ecx, ecx
jne 0x4282a2
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
ret
cmp ecx, 0xa
jge 0x428312
xor esi, esi
lea eax, [ecx + ecx*2]
lea edx, [eax + esi]
mov edx, dword [edx*4 + 0x4f7ec0]
test edx, edx
je 0x4282d5
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [0x4f4a8c]
lea eax, [ecx + ecx*2]
lea edx, [eax + esi]
and dword [edx*4 + 0x4f7ec0], 0
inc esi
cmp esi, 3
jl 0x4282ac
mov edx, dword [esp + 8]
push 1
pop eax
cmp edx, eax
jne 0x4282ea
xor eax, eax
jmp 0x4282f7
cmp edx, 7
je 0x4282f7
cmp edx, 0xd
jne 0x428312
push 2
pop eax
lea eax, [eax + ecx*2]
mov esi, ecx
add esi, eax
mov eax, dword [esp + 0xc]
mov dword [ecx*4 + 0x4fb140], edx
mov dword [esi*4 + 0x4f7ec0], eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x43ddec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, bind
push edi
push eax
xor ebx, ebx
mov esi, ecx
push eax
push ebx
push dword [esi + 0x1c]
mov dword [esi + 0xf8], 1
call fcn.004241df
cmp dword [esi + 0x1a8], ebx
je 0x43de49
cmp dword [ebp + 8], ebx
jne 0x43de21
xor eax, eax
jmp 0x43de46
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00484450
mov eax, esp
push edi
push dword [ebp + 8]
push eax
call fcn.0049bd7d
push eax
jmp 0x43de4c
push dword [ebp + 8]
push ebx
push 0x506
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xd
push 0x102
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [esi + 0x1c]
call fcn.00424ec3
mov ecx, esi
mov dword [esi + 0x120], eax
call fcn.0043d46e
mov ecx, esi
mov dword [esi + 0xf8], ebx
call fcn.00432390
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43fd1b
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x10
mov esi, ecx
jb 0x43fd79
cmp eax, 0x11
jbe 0x43fd9b
cmp eax, 0x1b
je 0x43fd60
cmp eax, 0x20
jbe 0x43fd79
cmp eax, 0x22
jbe 0x43fd45
cmp eax, 0x26
je 0x43fd45
cmp eax, 0x28
jne 0x43fd79
push dword [esp + 0xc]
push eax
push 0x100
push dword [esi + 0x1f8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
pop eax
jmp 0x43fd9d
push 0
add esi, 0x1f8
push 0
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [esi], 0
jmp 0x43fd5b
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
jne 0x43fd9b
push eax
add esi, 0x1f8
push eax
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [esi], 0
xor eax, eax
pop esi
ret 0xc
Function at 0x4441fe
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4be8d4
call fcn.00483820
sub esp, 0x104
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0049b86d
mov ecx, dword [esi + 0x208]
and dword [ebp - 4], 0
push eax
add ecx, 0xe1a
call fcn.0049b8ec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049b7ff
push dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
call fcn.0049b86d
mov ecx, dword [esi + 0x208]
push 1
pop edi
add ecx, 0xe1e
push eax
mov dword [ebp - 4], edi
call fcn.0049b8ec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0049b7ff
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
and dword [esi + 0x178], 0
mov ecx, esi
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], eax
call fcn.00444403
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [ebp - 0x100]
and al, 0x80
cmp al, 0x80
jne 0x4442b0
mov dword [esi + 0x188], edi
jmp 0x4442b7
and dword [esi + 0x188], 0
push 0
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004425bd
mov ecx, esi
mov edi, eax
call fcn.004347a4
mov ecx, dword [esi + 0x3c]
push 0
push dword [esi + 0xbc]
push esi
call fcn.004a08cf
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x444551
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 0x208]
mov dword [ecx + 0xe26], eax
cmp dword [esi + 0x198], ebx
mov dword [esi + 0x190], eax
je 0x44458c
push 1
mov ecx, esi
call fcn.0044369e
jmp 0x4446e2
mov ecx, esi
mov dword [esi + 0x178], ebx
call fcn.00444403
push 1
lea eax, [ebp - 0x108]
pop edi
push eax
mov dword [esi + 0x174], edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [ebp - 0xf8]
and al, 0x80
cmp al, 0x80
jne 0x4445c3
mov dword [esi + 0x188], edi
jmp 0x4445c9
mov dword [esi + 0x188], ebx
mov eax, dword [esi + 0x208]
mov ecx, dword [eax + 0xe22]
mov dword [esi + 0x18c], ecx
mov edx, dword [eax + 0xe2e]
lea ecx, [esi + 0x17c]
cmp edx, ebx
mov dword [ecx], edx
mov eax, dword [eax + 0xe32]
mov dword [esi + 0x180], eax
jne 0x4446c2
cmp dword [0x4ec3d8], ebx
je 0x4446c2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1c]
call fcn.0042412e
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp dword [esi + 0x1a8], ebx
je 0x444629
add eax, eax
cmp eax, 0x3e9
jge 0x4446c2
cmp eax, ebx
jle 0x4446c2
mov ecx, dword [esi + 0x208]
add eax, 2
mov edi, 0xe1a
push eax
add ecx, edi
call fcn.0049bbe3
push eax
push dword [esi + 0x1c]
call fcn.00423d87
cmp dword [esi + 0x1a8], ebx
je 0x4446c2
mov eax, dword [esi + 0x208]
mov eax, dword [eax + 0xe1a]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x44467b
mov dword [ebp + 8], ebx
jmp 0x4446a3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00484450
mov eax, esp
push ebx
push dword [ebp + 8]
push eax
call fcn.0049bda6
mov dword [ebp + 8], eax
xor ebx, ebx
mov ecx, dword [esi + 0x208]
push 0xffffffffffffffff
add ecx, edi
call fcn.0049bc32
mov ecx, dword [esi + 0x208]
push dword [ebp + 8]
add ecx, edi
call fcn.0049b93c
mov eax, dword [esi + 0x208]
push ebx
push dword [esi + 0x18c]
mov ecx, esi
push dword [esi + 0x190]
push dword [eax + 0xe1a]
call fcn.004425bd
lea esp, [ebp - 0x114]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x448c41
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4bec40
call fcn.00483820
sub esp, 0x14
push ebx
push edi
mov ebx, ecx
xor edi, edi
push 0x4ebd68
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], edi
call fcn.0049b86d
cmp dword [ebx + 0x124], edi
mov dword [ebp - 4], edi
je 0x448dba
cmp dword [0x4ebd08], edi
je 0x448dba
mov ecx, ebx
call fcn.0049ad9e
test eax, 0x10000000
jne 0x448c9e
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, edi
je 0x448dba
push esi
push 0x199
mov ecx, ebx
mov dword [0x4ebd08], edi
call fcn.0049acac
push dword [0x4f5270]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x20], eax
push edi
push 0x143
push dword [eax + 0x1c]
call esi
push dword [0x4f526c]
mov eax, dword [ebp - 0x20]
push edi
push 0x143
push dword [eax + 0x1c]
call esi
mov dword [ebp - 0x18], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x10], eax
call fcn.00486fe2
cmp dword [ebp - 0x10], edi
je 0x448d28
test byte [ebp - 0x10], 1
je 0x448d20
mov al, byte [ebp - 0x14]
lea ecx, [ebp - 0x1c]
add al, 0x41
push eax
push edi
call fcn.0049bcf9
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00448dd6
test eax, eax
je 0x448d20
inc dword [ebp - 0x18]
shr dword [ebp - 0x10], 1
inc dword [ebp - 0x14]
jmp 0x448cf4
mov eax, dword [ebp - 0x20]
push edi
push edi
push 0x14e
mov dword [ebx + 0x1a0], edi
push dword [eax + 0x1c]
call esi
push 0xffff0002
push 0xffff0000
push edi
push edi
push edi
push 6
push 5
lea ecx, [ebx + 0xc0]
push dword [0x4f5270]
push 0x23
call fcn.0049520d
push 1
push edi
push edi
push edi
push edi
push edi
push 4
push eax
lea ecx, [ebx + 0xc0]
mov dword [ebp - 0x14], eax
call fcn.004951bf
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.00449aac
push dword [ebp - 0x14]
push 2
push 0x1102
push dword [ebx + 0xdc]
call esi
push dword [ebp - 0x14]
push 9
push 0x110b
push dword [ebx + 0xdc]
call esi
cmp dword [0x4f5274], edi
pop esi
jne 0x448db7
mov ecx, ebx
call fcn.0044b0ff
mov edi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0049b7ff
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret