joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c4ef2
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, ecx
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x320], 1
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x1b
push dword [edi + 4]
mov esi, eax
and esi, 0xffffbfff
call ebx
push esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [edi + 0x238]
mov ecx, esi
call fcn.005bd3e6
test al, al
je 0x5c4f61
push 0
push dword [esi + 8]
mov ecx, esi
call fcn.0059310f
mov eax, dword [edi + 0x238]
push 1
mov byte [eax + 0x54], 0
mov ecx, dword [edi + 0x238]
call fcn.0059248b
mov ecx, dword [edi + 0x238]
call fcn.00592310
push 0xd
push 0x71
push 0x42b
push dword [edi + 0x508]
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0
push 1
push 0xb
push eax
call ebp
push 0
push dword [edi + 0x1c4]
call fcn.0058d955
mov ecx, edi
call fcn.005b8ff6
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x320], 0
call ebx
mov ecx, dword [edi + 0x1fc]
cmp ecx, eax
jne 0x5c4fd9
mov ecx, edi
call fcn.005b6f64
jmp 0x5c4fe8
cmp ecx, dword [edi + 0x1d4]
jne 0x5c4fe8
mov ecx, edi
call fcn.005bb762
mov ecx, edi
call fcn.005b4704
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x5c6b6a
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6a98c0
call fcn.006375a8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0058a3bf
xor edi, edi
mov dword [esi], 0x70bc64
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 1
mov dword [esi + 0x40], edi
call fcn.005d1fe2
push edi
lea ecx, [esi + 0x54]
call fcn.005d1eb7
xor ecx, ecx
lea eax, [esi + 0xa8]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x84], ecx
mov word [esi + 0x88], cx
mov byte [esi + 0x8f], cl
mov dword [eax + 0x10], ecx
push 8
pop ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], ecx
jb 0x5c6bda
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x64]
rep stosd dword es:[edi], eax
inc dword [0x7d41e0]
lea ecx, [esi + 0x30]
call fcn.005c6d3a
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x58]
mov dword [esi + 0x34], eax
xor edx, edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c], edx
pop edi
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
mov dword [esi + 0x5c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x8a], edx
mov byte [esi + 0x8e], 1
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0x9c], edx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c81aa
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6a99cb
call fcn.006375a8
push ecx
push esi
push 0xc4
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5c81e3
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005c6b6a
mov esi, eax
jmp 0x5c81e5
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x5c81f6
call fcn.005a42bf
jmp 0x5c81f8
xor al, al
push dword [ebp + 0x1c]
mov ecx, esi
mov byte [esi + 0x8f], al
call fcn.005c80a3
push 0
push 0x29
mov ecx, esi
call fcn.0058ae38
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d2f28
mov ecx, esi
call fcn.0058ab7c
push 0x7d2f30
mov ecx, esi
call fcn.0058ab45
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x5c9e43
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x6a9b4f
call fcn.006375a8
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ecx], 0x70bf00
lea esi, [ecx + 8]
mov dword [ecx + 0x14], 0x1f4
mov dword [esi], 0x32
lea edi, [ecx + 0xc]
mov dword [edi], 0x12c
lea ebx, [ecx + 0x10]
mov dword [ebx], 0x50
mov dword [ecx + 0x18], 0xa
mov dword [ecx + 0x1c], 1
mov word [ecx + 0x20], dx
mov dword [ebp - 4], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], edx
push str.cpu_threshold
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040d4cf
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
add esi, 0x24
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.005cbdd5
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.ram_threshold
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.005cbdd5
xor edi, edi
mov byte [ebp - 4], 2
push 0
inc edi
lea ecx, [ebp - 0x2c]
push edi
call fcn.0040daff
push str.cpu_kill_threshold
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.ram_kill_threshold
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
mov ebx, dword [ebp - 0x10]
lea eax, [ebx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.interval
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
lea eax, [ebx + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.refreshTime
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.enable
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
lea eax, [ebx + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 0x30]
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040daff
push str.enable_kill
lea ecx, [ebp - 0x2c]
call fcn.0040d4cf
lea eax, [ebx + 0x21]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebx + 0x30]
call fcn.005cbdd5
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040daff
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5ca048
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6a9bc5
call fcn.006375a8
sub esp, 0x24
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 8]
mov dword [ecx], 0x70bedc
xor edx, edx
mov dword [eax], 0x18
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x10]
mov byte [ecx + 0xc], dl
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edx
jb 0x5ca087
mov eax, dword [eax]
push ebx
push esi
push edi
mov byte [eax], dl
lea ebx, [ecx + 0x38]
mov dword [ecx + 0x2c], edx
lea edi, [ecx + 0x28]
mov byte [ecx + 0x34], dl
mov dword [edi], edx
lea esi, [ecx + 0x30]
mov dword [esi], edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x58], edx
push str.refreshTime
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040d4cf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.005cbdd5
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040daff
push str.clientStartsTrigger
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.005cbdd5
xor esi, esi
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.0040daff
push str.torrentsAddedTrigger
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.005cbdd5
push esi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040daff
push str.torrentsCompletedTrigger
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.005cbdd5
xor ebx, ebx
mov byte [ebp - 4], 4
push esi
inc ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040daff
push str.play_installed
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
lea eax, [edi + 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x44]
call fcn.005cbdd5
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040daff
push str.enable
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
lea eax, [edi + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x44]
call fcn.005cbdd5
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040daff
push str.adsUrl
lea ecx, [ebp - 0x30]
call fcn.0040d4cf
lea eax, [edi + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x50]
call fcn.005cbdd5
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040daff
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5ca8a1
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x6a9d67
call fcn.006375a8
sub esp, 0x2c
mov eax, ecx
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 8]
mov dword [eax], 0x70bf98
mov dword [ecx], 1
xor edx, edx
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0xc]
mov byte [ecx], dl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], ecx
jb 0x5ca8ea
mov ecx, dword [ecx]
push ebx
push esi
push edi
mov byte [ecx], dl
lea esi, [eax + 0x28]
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
lea edi, [eax + 0x34]
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
lea ebx, [eax + 0x40]
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
push str.refreshTime
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040d4cf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.005cbdd5
xor esi, esi
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.0040daff
push str.enable
lea ecx, [ebp - 0x38]
call fcn.0040d4cf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.005cbdd5
push esi
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040daff
push str.countryList
lea ecx, [ebp - 0x38]
call fcn.0040d4cf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.005cbdd5
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.0040daff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5cc880
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
lea eax, [ebp - 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push eax
push esi
lea ecx, [edi + 0x30]
call fcn.0058a80b
mov edx, dword [edi + 0x78]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + eax*4]
movzx eax, si
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfe
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push str._A_HREF__s___s__A_
push eax
call fcn.004638e7
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x5cc8ec
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
xor esi, esi
sub eax, dword [ebp - 0xc]
push esi
push dword [0x7d26a4]
push esi
push ebx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x50010000
push ecx
push 0x6b9e28
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
push esi
push 1
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.004267c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5ce446
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aa08a
call fcn.006375a8
push ecx
mov eax, dword [0x7d4288]
push esi
test eax, eax
je 0x5ce46c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [0x7d4288]
jmp 0x5ce4af
push 0x204
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5ce48d
mov ecx, eax
call fcn.005cc5f8
mov esi, eax
jmp 0x5ce48f
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x13
call fcn.0058ae38
push esi
call fcn.005cd702
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0xffffffff
je 0x5ce4bf
push dword [ebp + 8]
mov ecx, esi
call fcn.005cee02
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5d2611
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x5d2631
push dword [esp + 8]
call fcn.005d2ef7
push 0
mov dword [esi + 0x6c], eax
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x5d5fc8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x6ab3b7
call fcn.006375a8
sub esp, 0x30
push ebx
push esi
push str.http:__
lea ecx, [ebp - 0x24]
call fcn.00427f43
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x5d6072
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5d6072
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x5d606c
push 4
push str.http
push esi
call fcn.00666b7f
add esp, 0xc
test eax, eax
je 0x5d6038
push 4
push str.feed
push esi
call fcn.00666b7f
add esp, 0xc
test eax, eax
jne 0x5d606c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d603d
sub ecx, edx
cmp ecx, 0x12c
jae 0x5d606c
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0047af87
push eax
lea ecx, [ebp - 0x24]
call fcn.0042623d
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0042615e
call fcn.005d5ecc
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5d7822
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aa6a8
call fcn.006375a8
push ecx
mov eax, dword [0x7d4510]
test eax, eax
je 0x5d7841
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5d7880
push esi
push 0xbc
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5d7863
mov ecx, eax
call fcn.005d68c0
mov esi, eax
jmp 0x5d7865
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x25
call fcn.0058ae38
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5d9432
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x25
mov edi, ecx
call esi
cwde
push 0x27
mov dword [ebp - 4], eax
call esi
cwde
push 0x26
mov dword [ebp - 8], eax
call esi
cwde
push 0x28
mov dword [ebp - 0xc], eax
call esi
cmp byte [edi + 0x14], 1
movsx ebx, ax
jne 0x5d94a6
test byte [ebp - 4], 1
je 0x5d9479
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.005d93e9
test byte [ebp - 8], 1
je 0x5d948a
push 0
push 1
mov ecx, edi
call fcn.005d93e9
test byte [ebp - 0xc], 1
je 0x5d9499
push 1
mov ecx, edi
call fcn.005d9804
test bl, 1
jne 0x5d94a2
test ebx, ebx
jns 0x5d94a6
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x5d94c0
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x5d94c0
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.005d91cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d9845
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aa709
call fcn.006375a8
push ecx
mov eax, dword [0x7d4518]
test eax, eax
je 0x5d9864
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5d98b4
push ebx
push esi
mov ebx, 0x1cc
push ebx
call fcn.00637305
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x5d9896
push ebx
push 0
push esi
call fcn.00651ed0
add esp, 0xc
mov ecx, esi
call fcn.005d89a7
mov esi, eax
jmp 0x5d9898
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x1e
call fcn.0058ae38
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5da21a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
call fcn.00461dee
push dword [edi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x44]
mov dword [edi + 0x34], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi]
mov esi, eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push esi
call dword [edx + 0x24]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [edi + 0x108], 0
je 0x5da2b3
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x5da28d
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x5da28d
xor byte [edi + 0x126], 1
lea ecx, [edi + 0x110]
call fcn.005d9432
mov eax, dword [edi + 0x128]
cmp eax, dword [edi + 0x10c]
je 0x5da2b3
mov ecx, edi
mov dword [edi + 0x10c], eax
call fcn.005d9a3f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5da345
Capabilities:
Hide graphical window

Disassembly:
jmp 0x5da34a
mov eax, 0x6a5cc1
call fcn.006375a8
push ecx
mov eax, dword [0x7d4964]
test eax, eax
je 0x5da369
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5da3ae
push 0x30
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5da385
mov ecx, eax
call fcn.005da2d0
jmp 0x5da387
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push 0x183
mov dword [0x7d4964], eax
call fcn.0058ae38
mov eax, dword [0x7d4964]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5db733
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov byte [ebp - 4], 0
je 0x5db75e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5db75a
mov byte [ebp - 4], 1
test al, 0x10
jne 0x5db75e
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.0058ae8d
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.0058ae8d
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5dc0b8
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aa9af
call fcn.006375a8
push ecx
push esi
push 0xe0
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5dc0eb
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.005dbe0a
mov esi, eax
jmp 0x5dc0ed
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0xfd
call fcn.0058ae38
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x5dc62f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call section..text
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
cmp dword [eax + 8], 0xfffffffe
je 0x5dc652
cmp dword [eax + 8], 0xfffffffc
jne 0x5dc6a1
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.0064fe80
add esp, 0xc
push 0x5d4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], eax
jne 0x5dc6a1
cmp dword [ebp - 0x10b4], 0
jne 0x5dc6a1
push 5
xor ecx, ecx
lea eax, [ebp - 0x1048]
push ecx
push ecx
push eax
push 0x6b7324
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5def78
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x210
push ebp
push edi
push dword [esp + 0x21c]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
lea eax, [esp + 8]
push eax
push dword [esp + 0x220]
push edi
call fcn.005892cb
mov ecx, dword [esp + 0x220]
test ecx, ecx
jne 0x5defc7
push 0xfe
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x224]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x14]
xor ebp, ebp
sub eax, dword [esp + 0xc]
push ebp
push dword [0x7d26a4]
push ebp
push edi
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x244]
push dword [esp + 0x24]
or eax, 0x50010000
push eax
push ecx
push 0x6b9e28
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x5df024
push ebp
push ebp
push 0x31
push dword [esp + 0x228]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop ebp
add esp, 0x210
ret 0x10
Function at 0x5dfb32
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aad4e
call fcn.006375a8
mov eax, dword [0x7d4e20]
sub esp, 0x1c
test eax, eax
je 0x5dfb56
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5dfbfd
cmp byte [0x7d4df8], 0
jne 0x5dfb75
push 0x70ecbc
push 0x7d4dfc
call fcn.00469208
mov byte [0x7d4df8], 1
push 0x2ac
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5dfb94
mov ecx, eax
call fcn.005de8bd
jmp 0x5dfb96
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push 0xf8
mov dword [0x7d4e20], eax
call fcn.0058ae38
call fcn.00491803
push eax
push 0x6fa
call fcn.00588778
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004638e7
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5dfbd2
mov eax, dword [eax]
push eax
mov eax, dword [0x7d4e20]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004267c2
mov eax, dword [0x7d4e20]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5e04f9
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [eax], ecx
je 0x5e0517
push 5
push ecx
push ecx
add eax, 0x7c
push eax
push 0x6b7324
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 4