joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035810
Capabilities:
Check if file exists
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101112e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x102ac760]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.100f9a50
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], vtable.FinishTrigger.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 1
call fcn.100f99a0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.100fa060
push ebx
push ebx
lea ecx, [esp + 0x38]
call fcn.100f9970
cmp dword [esp + 0x1c], ebx
jne 0x100358c3
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [edi + 0x24]
push 0x64
call ebp
mov eax, dword [esp + 0x20]
cmp eax, 0x64
jge 0x10035915
cmp eax, ebx
jg 0x100358a9
xor eax, eax
push ebx
push ebx
push ebx
push eax
push 2
push 2
mov ecx, esi
call fcn.100fa0a0
cmp byte [edi + 0x30], bl
jne 0x1003591c
cmp dword [esp + 0x1c], ebx
je 0x10035896
lea ecx, [esp + 0x30]
call fcn.100f9a10
cmp dword [esp + 0x1c], 1
je 0x10035941
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10035941
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.10105550
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.100f99d0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, 0x64
jmp 0x100358a9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], str.user_cancel
call fcn.100b1e46
push 0x102a37d4
lea ecx, [esp + 0x28]
push ecx
call fcn.100b2199
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.10105550
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.100f99d0
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x10039930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x14], eax
push 0
call fcn.100b53cc
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov ecx, 0x10
lea edx, [esp + 0x13]
push esi
xor eax, 0x10
mov dword [esp + 0x10], 0x10287b30
mov dword [esp + 0x14], fcn.10039e30
sub edx, ecx
push edi
movzx esi, byte [edx + ecx]
mov edi, eax
shl edi, 5
add esi, edi
mov edi, eax
shr edi, 2
add esi, edi
dec ecx
xor eax, esi
cmp ecx, 1
jae 0x10039977
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.100b2738
add esp, 0x18
ret

Function at 0x1003e5a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
shr ecx, 5
mov eax, edx
xor eax, dword [esp + 4]
inc ecx
cmp edx, ecx
jb 0x1003e5cf
push ebx
push edi
movzx edi, byte [esi + edx - 1]
mov ebx, eax
shl ebx, 5
add edi, ebx
mov ebx, eax
shr ebx, 2
add edi, ebx
sub edx, ecx
xor eax, edi
cmp edx, ecx
jae 0x1003e5b2
pop edi
pop ebx
ret
Function at 0x1003e700
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [eax + 0xc]
mov ebx, dword [esi + 0x30]
mov eax, edi
shr eax, 5
inc eax
xor ebx, edi
mov dword [esp + 0xc], esi
mov ecx, edi
cmp edi, eax
jb 0x1003e73f
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx - 1]
mov ebp, ebx
shl ebp, 5
add edx, ebp
mov ebp, ebx
shr ebp, 2
add edx, ebp
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x1003e720
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
and eax, ebx
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x1003e7bb
nop
cmp ebx, dword [ebp + 8]
jne 0x1003e7b4
cmp edi, dword [ebp + 0xc]
jne 0x1003e7b4
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edx, [ebp + 0x10]
cmp edi, 4
jb 0x1003e77c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x1003e7b0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x1003e768
test ecx, ecx
je 0x1003e858
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1003e7b0
cmp ecx, 1
jbe 0x1003e858
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1003e7b0
cmp ecx, 2
jbe 0x1003e858
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x1003e858
mov esi, dword [esp + 0xc]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1003e750
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jb 0x1003e7db
cmp eax, 0x3ffffffe
jg 0x1003e7db
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.1003e5d0
add esp, 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
dec ecx
and ecx, ebx
lea ebp, [edx + ecx*4]
mov ecx, dword [eax + 0xc]
lea edx, [edi + 0x11]
push edx
push 4
push 0
push eax
mov dword [esp + 0x24], ecx
call fcn.10052330
add esp, 0x10
mov esi, eax
test ebp, ebp
jne 0x1003e810
mov ebp, dword [esp + 0x14]
add ebp, 0x3c
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x34]
mov eax, dword [esp + 0x18]
and cl, 3
mov byte [esi + 5], cl
mov byte [esi + 4], 4
mov edx, dword [ebp]
push edi
push eax
lea ecx, [esi + 0x10]
mov dword [esi], edx
mov dword [ebp], esi
push ecx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov byte [esi + 6], 0
call fcn.100b3c60
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [esi + edi + 0x10], 0
inc dword [eax + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0xc]
mov al, byte [ebp + 5]
mov cl, byte [edx + 0x34]
xor al, 3
xor cl, 3
test al, cl
jne 0x1003e86e
mov byte [ebp + 5], al
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x1004b790
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
push edi
lea ecx, [esp + 0x18]
mov edi, 0x200
mov dword [esp + 8], ecx
mov ecx, edi
lea esi, [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
call fcn.100389e0
push ebx
push edi
push 1
push eax
call fcn.100b84b8
add dword [esp + 0x20], eax
add esp, 0x10
cmp eax, edi
jb 0x1004b81a
lea ebx, [ebx]
cmp edi, 0x3fffffff
ja 0x1004b7fa
add edi, edi
mov ecx, edi
lea esi, [esp + 8]
call fcn.100389e0
push ebx
push edi
push 1
push eax
call fcn.100b84b8
add dword [esp + 0x20], eax
add esp, 0x10
cmp eax, edi
jae 0x1004b7f0
lea edi, [esp + 8]
call fcn.10038a80
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.100b2738
add esp, 0x218
ret

Function at 0x1004b840
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 8], ecx
mov ecx, edi
lea esi, [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x200
call fcn.100389e0
push ebx
push edi
push 1
push eax
call fcn.100b84b8
mov esi, eax
add dword [esp + 0x20], esi
add esp, 0x10
lea edi, [esp + 8]
call fcn.10038a80
mov ecx, dword [esp + 0x21c]
xor edx, edx
cmp edx, esi
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.100b2738
add esp, 0x218
ret
Function at 0x1004bd90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov ecx, dword [esi + 0x10]
sub esp, 0x38
push ebx
mov ebx, eax
mov eax, dword [esi + 8]
sub eax, dword [ecx]
push edi
sub eax, 8
sar eax, 3
sub eax, ebx
mov edi, 1
je 0x1004bea7
jmp 0x1004bdc4
mov eax, dword [esp + 0x28]
dec eax
mov ecx, ebx
mov edx, esi
mov dword [esp + 0x28], eax
call fcn.10035f90
cmp eax, 3
jne 0x1004beb6
test edi, edi
je 0x1004be95
mov ecx, dword [esi + 0x10]
test ebx, ebx
jle 0x1004bdf6
mov edx, dword [ecx]
lea eax, [edx + ebx*8]
cmp eax, dword [esi + 8]
jae 0x1004be30
jmp 0x1004be35
cmp ebx, 0xfff0b9d8
jle 0x1004be06
mov eax, dword [esi + 8]
lea eax, [eax + ebx*8]
jmp 0x1004be35
jne 0x1004be10
mov eax, dword [esi + 0xc]
add eax, 0x28
jmp 0x1004be35
mov ecx, dword [ecx]
mov eax, 0xfff0b9d8
sub eax, ebx
cmp dword [ecx + 4], 0x7ff7a516
je 0x1004be30
mov ecx, dword [ecx]
movzx edx, byte [ecx + 6]
cmp eax, edx
lea eax, [ecx + eax*8 + 8]
jle 0x1004be35
mov eax, 0x10287b30
mov ecx, dword [eax + 4]
mov edx, ecx
and edx, 0x7fffff00
cmp edx, 0x7ff7a500
jne 0x1004be78
or ecx, 0x70
cmp ecx, 0x7ff7a574
jne 0x1004beb2
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
push ecx
add eax, 0x10
lea edi, [esp + 0x34]
call fcn.1003fdf0
add esp, 4
test eax, eax
je 0x1004beb2
fld qword [esp + 0x30]
lea eax, [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [eax]
mov edx, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str._.14g
push edx
call fcn.100f27dd
add esp, 0x10
test eax, eax
jg 0x1004bee5
xor edi, edi
inc ebx
cmp dword [esp + 0x28], 0
jne 0x1004bdc0
test edi, edi
je 0x1004befc
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
fldz
jmp 0x1004be7a
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
call fcn.10036530
add esp, 0xc
test eax, eax
je 0x1004beec
test edi, edi
je 0x1004be95
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
push ecx
push edi
push 1
push eax
call fcn.100b521a
add esp, 0x10
cmp eax, edi
jne 0x1004be95
mov edi, 1
jmp 0x1004be97
mov edx, dword [str.string]
push edx
mov edi, ebx
mov eax, esi
call fcn.100383b0
call fcn.100bb870
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [ecx + 4], 0x7ff7a500
mov edi, 8
add dword [esi + 8], edi
push eax
mov dword [esp + 0x30], eax
call fcn.100f32f7
add esp, 4
push eax
push esi
call fcn.10036810
fild dword [esp + 0x34]
mov edx, dword [esi + 8]
add esp, 8
fstp qword [edx]
add dword [esi + 8], edi
lea eax, [edi - 5]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006412f
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x10108972
call fcn.100b2747
mov esi, ecx
xor edi, edi
inc edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov byte [esi + 0x10], 1
cmp dword [ebp + 0x1c], ebx
je 0x10064313
cmp dword [ebp + 0x38], ebx
je 0x10064313
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x10064167
lea eax, [ebp + 0xc]
lea ecx, [esi + 8]
push eax
call fcn.1001a810
cmp dword [ebp + 0x3c], 0x10
mov eax, dword [ebp + 0x28]
jae 0x1006417c
lea eax, [ebp + 0x28]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.1001a810
lea eax, [ebp - 0x10]
push str.KingUser.zip
push eax
call fcn.10077921
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.101015b0
add esp, 0x10
push dword [edi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.10002f20
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10031050
test eax, eax
jne 0x10064201
mov byte [esi + 0x10], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10005330
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005330
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10005330
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.10003900
push ebx
push 1
jmp 0x10064322
lea eax, [ebp - 0x1c]
push str.DownloadKingUser.zip
push eax
call fcn.10077921
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10003630
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10005330
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100642ad
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.101015b0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10003630
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10005330
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.10031050
test eax, eax
jne 0x100642ad
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x1028bd68
push eax
call fcn.10077921
add esp, 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.100035f0
mov byte [ebp - 4], 4
call fcn.1007738e
add esp, 0xc
jmp 0x100641ca
push dword [esi + 8]
lea ecx, [ebp - 0x20]
call fcn.10002f20
push 0x78
mov byte [ebp - 4], 8
call fcn.100b2134
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x100642da
push 4
mov ecx, eax
call fcn.100014a0
jmp 0x100642dc
xor eax, eax
push dword [ebp - 0x10]
mov dword [esi + 4], eax
push dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, eax
mov byte [ebp - 4], 8
call dword [edx + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push ebx
push ebx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10005330
jmp 0x100641cd
push ebx
push edi
lea ecx, [ebp + 8]
mov byte [esi + 0x10], bl
call fcn.10003900
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.10003900
call fcn.100b281f
ret 0x38
Function at 0x10064502
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push 0
push 0x15e
push 0x247
mov dword [esi + 0x58c], ecx
add ecx, 0x28
mov dword [esi + 0x588], eax
add eax, 0x3c
push ecx
push eax
push dword [esi + 4]
mov dword [esi + 0x590], eax
mov dword [esi + 0x594], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret 8

Function at 0x1006455e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x5a0]
cmp esi, 1
jne 0x10064588
call fcn.10067ca5
mov ecx, dword [eax + 0x5bc]
pop esi
jmp 0x1006dc9b
test esi, esi
jne 0x10064599
call fcn.10067ca5
mov ecx, eax
pop esi
jmp 0x100671ab
pop esi
ret
push 2
mov byte [ecx + 0x5cc], 1
call fcn.1006703f
ret
push 0x10
mov eax, 0x101094f6
call fcn.100b277a
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x74]
push 0x1028bd68
mov byte [esi + 0x80], bl
call fcn.10003b50
mov ecx, esi
call fcn.1006c01e
mov al, byte [esi + 0x254]
mov dword [ebp - 4], ebx
cmp al, bl
jne 0x1006dce6
mov ecx, esi
call fcn.1006d1e2
mov ecx, esi
call fcn.1006c27c
call fcn.100b281f
ret
cmp al, 1
jne 0x1006dd32
call fcn.10067ca5
push ebx
push 0xa2c
lea ecx, [eax + 0x50]
call fcn.10063e56
call fcn.10067ca5
push ebx
push 0xbb8
lea ecx, [eax + 0x50]
call fcn.10063e56
call fcn.10067ca5
push 1
push 0xa2d
lea ecx, [eax + 0x50]
call fcn.10063e56
push 0x7d0
mov ecx, esi
call fcn.1006bfe1
jmp 0x1006dce0
cmp al, 2
jne 0x1006dce0
call fcn.10067ca5
push ebx
push 0xa2c
lea ecx, [eax + 0x50]
call fcn.10063e56
call fcn.10067ca5
push ebx
push 0xbb8
lea ecx, [eax + 0x50]
call fcn.10063e56
call fcn.10067ca5
push 1
push 0xa2d
lea ecx, [eax + 0x50]
call fcn.10063e56
mov ecx, esi
mov dword [esi + 0x84], 0x7d0
call fcn.1006d9ca
jmp 0x1006dce0

Function at 0x1006459b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.10067ca5
mov ecx, dword [eax + 0x5bc]
call fcn.1006a5f4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x10064bb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10064c06
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x10064bff
cmp dword [ebp + 8], 0x1b
jne 0x10064beb
push 0
push 2
jmp 0x10064bf5
cmp dword [ebp + 8], 0xd
jne 0x10064bff
push 0
push 1
push 0x111
push dword [esi + 4]
call edi
and dword [esi + 0x584], 0
cmp dword [esi + 4], 0
je 0x10064c27
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x100
push dword [esi + 0x30]
call edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10066151
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x4d0]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [edi], ebx
je 0x10066176
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x4c0]
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x10066255
push eax
call fcn.1005d556
mov edi, eax
pop ecx
test edi, edi
je 0x1006620c
push 2
push 0
push edi
mov ecx, esi
call fcn.10065c3e
mov eax, dword [esi + 0x4c0]
cmp eax, dword [esi + 0x4bc]
je 0x100661ba
cmp dword [edi + 0xac], 0
je 0x1006620c
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.1005e5ce
mov eax, dword [edi + 0xa0]
xor ecx, ecx
cmp eax, ecx
je 0x100661fb
cmp word [eax], cx
je 0x100661fb
push 1
push ecx
push ecx
push eax
push 0x1011401c
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1006620c
mov eax, dword [edi + 0x14]
cmp eax, ecx
je 0x1006620c
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
and dword [esi + 0x4c0], 0
cmp dword [ebp - 4], 0
je 0x10066255
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push 0x4e
push eax
call ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
movzx ecx, word [ebp + 0x10]
movzx edx, word [ebp + 0xc]
shl ecx, 0x10
or ecx, edx
push ecx
push dword [ebp + 8]
push 0x202
push eax
call ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1006627e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov dword [ebp - 4], ecx
xor edi, edi
call esi
mov bl, 0x80
test bl, al
jne 0x100662a5
push 0xa1
call esi
test bl, al
je 0x100662a8
push 4
pop edi
push 0x11
call esi
test bl, al
jne 0x100662b8
push 0x11
call esi
test bl, al
je 0x100662bb
or edi, 8
push 1
call esi
test bl, al
jne 0x100662cb
push 1
call esi
test bl, al
je 0x100662ce
or edi, 1
push 2
call esi
test bl, al
jne 0x100662de
push 2
call esi
test bl, al
je 0x100662e1
or edi, 2
push 4
call esi
test bl, al
jne 0x100662f1
push 0x10
call esi
test bl, al
je 0x100662f4
or edi, 0x10
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
push edi
call fcn.10066151
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0xc
Function at 0x10066f67
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xfffffc18
push esi
mov esi, ecx
cmp eax, 7
ja case.default.0x10066f60
jmp dword [eax*4 + 0x1006701f]
push 0x3ef
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x5d0]
mov ecx, esi
call fcn.10066856
jmp case.default.0x10066f60
lea ecx, [esi + 0x590]
mov eax, dword [ecx]
call dword [eax]
jmp case.default.0x10066f60
call fcn.100fe520
jmp case.default.0x10066f60
push 0x3ea
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x5bc]
call fcn.1006d9ca
jmp case.default.0x10066f60
call fcn.10066e84
mov ecx, eax
call fcn.101051b0
jmp case.default.0x10066f60
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
add esi, 0x5bc
mov ecx, dword [esi]
call fcn.10068310
test al, al
jne case.default.0x10066f60
mov ecx, dword [esi]
jmp 0x10066fb9
push 0x3ed
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x5bc]
call fcn.1006c06c
call fcn.10104610
mov ecx, eax
call fcn.101044d0
xor eax, eax
inc eax
pop esi
ret 4
Function at 0x1006737a
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xc
mov eax, 0x10108bd6
call fcn.100b2747
mov dword [ebp - 0x14], ecx
push 0
lea esi, [ecx + 4]
push 0x80000
push 0
mov ecx, esi
call fcn.10064487
push dword [esi]
mov ecx, 0x102aff38
call fcn.10075577
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 4
and eax, 0x3ff
pop ecx
cmp cx, ax
jne 0x100673c2
push 0x101140ec
jmp 0x100673c7
push 0x101140d4
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x64
push 0x10000000
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [esi]
call ebx
push 0x65
push 0x10000000
call edi
push eax
xor edi, edi
push edi
push 0x80
push dword [esi]
call ebx
push 0x324
call fcn.100b2134
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10067424
mov ecx, eax
call fcn.1006d679
jmp 0x10067426
xor eax, eax
mov ebx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x5bc], eax
lea eax, [ebx + 0x588]
push eax
call fcn.100d89e0
pop ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0x64
push 0x3e9
push dword [esi]
call edi
lea eax, [ebp - 0x10]
push 0x101140b0
push eax
call fcn.1007780c
pop ecx
pop ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006747f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x102b0134]
lea eax, [ebx + 0x5b4]
push eax
call fcn.1008180d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x101140a4
call fcn.100043e0
call fcn.100823c0
add esp, 0x1c
xor ebx, ebx
push ebx
push 0x1e
push 0x3ee
push dword [esi]
call edi
push ebx
push 0x1f4
push 0x3ea
push dword [esi]
call edi
push ebx
push 0x32
push 0x3eb
push dword [esi]
call edi
push 0x24
call fcn.100b2134
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov esi, 0x320
cmp eax, ebx
je 0x100674f8
push 1
push esi
mov ecx, eax
call fcn.10063d9f
jmp 0x100674fa
xor eax, eax
push eax
mov byte [ebp - 4], 1
call fcn.10066ec4
mov ecx, eax
call fcn.1005d047
push 0x30
call fcn.100b2134
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov edi, 0xc8
cmp eax, ebx
je 0x10067561
push 0x28
call fcn.100b2134
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x10067545
push 0x64
push 0x50
push edi
push esi
mov ecx, eax
call fcn.10066d6d
jmp 0x10067547
xor eax, eax
fld qword [str.333333]
push ecx
push ecx
mov ecx, dword [ebp - 0x14]
fstp qword [esp]
push eax
mov byte [ebp - 4], 3
call fcn.10063d30
jmp 0x10067563
xor eax, eax
push eax
mov byte [ebp - 4], 1
call fcn.10066ec4
mov ecx, eax
call fcn.1005d047
push 0x24
call fcn.100b2134
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10067599
push 0xff
push 0x14
push edi
push esi
mov ecx, eax
call fcn.10063cd8
jmp 0x1006759b
xor eax, eax
push eax
mov byte [ebp - 4], 1
call fcn.10066ec4
mov ecx, eax
call fcn.1005d047
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10005330
xor eax, eax
inc eax
call fcn.100b281f
ret 8