joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020b4f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
call fcn.1001e73a
mov esi, eax
test esi, esi
je 0x10020bc5
lea eax, [ebp - 0x18]
mov word [ebp - 7], 0x7478
push eax
push esi
mov dword [ebp - 0xe], 0x6f436572
mov dword [ebp - 0x16], 0x41747079
mov word [ebp - 0xa], 0x746e
mov word [ebp - 5], 0x41
mov word [ebp - 0x18], 0x7243
mov byte [ebp - 8], 0x65
mov word [ebp - 0x11], 0x7571
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0x12], 0x63
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10020bbe
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
push esi
call fcn.1001ea1e
pop ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020bcd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x14]
mov word [ebp - 0x11], 0x4664
push eax
or esi, 0xffffffff
mov word [ebp - 5], 0x57
mov dword [ebp - 0xa], 0x6d756c6f
mov word [ebp - 0x14], 0x6946
mov dword [ebp - 0xf], 0x74737269
mov byte [ebp - 6], 0x65
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0xb], 0x56
call fcn.10020af2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10020c21
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10020c28
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xf], 0x4c64616f
xor ebx, ebx
mov dword [ebp - 8], 0x41797261
push eax
mov byte [ebp - 4], bl
mov word [ebp - 0xb], 0x6269
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 9], 0x72
call fcn.10020af2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10020c6b
push dword [ebp + 8]
call eax
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40100a
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x4031ca
push 0x14
mov eax, 0x432583
call fcn.00406c92
mov ebx, ecx
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x40333f
cmp dword [ebp - 0x10], 0
je 0x40333f
xor edi, edi
inc edi
cmp dword [ebp - 0x10], edi
jne 0x403237
push dword [esi]
lea ecx, [ebp - 0x14]
call fcn.004011ef
push dword [ebp - 0x14]
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00401244
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
je 0x40333a
call fcn.0040101e
mov eax, edi
jmp 0x403341
cmp dword [ebp - 0x10], 3
jl 0x40333f
push 0x437584
push dword [esi]
call fcn.0041bbc3
test eax, eax
pop ecx
pop ecx
jne 0x40333f
push dword [esi + 4]
lea ecx, [ebp - 0x1c]
call fcn.004011ef
push dword [esi + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.004011ef
push 0x437560
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004011ef
push 3
pop edi
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
jbe 0x4032ab
push dword [esi + edi*4]
lea ecx, [ebp + 8]
call fcn.004011f4
push 0x437580
lea ecx, [ebp + 8]
call fcn.004013a2
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x40328d
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040105f
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.0040105f
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004012a8
push 0x43f84c
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00401253
xor eax, eax
test esi, esi
setne al
mov byte [ebp - 4], 5
lea eax, [eax + eax - 1]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str._sint2_d
push eax
call fcn.00401122
mov esi, dword [ebp - 0x14]
add esp, 0x10
push esi
mov ecx, ebx
call fcn.00401244
lea ecx, [esi - 0x10]
call fcn.0040101e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040101e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040101e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040101e
xor eax, eax
call fcn.00406d6a
ret 4
Function at 0x401159
Capabilities:
Create process on windows

Disassembly:
jmp 0x403bfe
push 0x58
mov eax, 0x4325b8
call fcn.00406c92
push 0x43f84c
lea ecx, [ebp - 0x10]
call fcn.00401253
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor esi, esi
push str.__s___s
push eax
mov dword [ebp - 4], esi
call fcn.00401122
push 0x44
pop edi
push edi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00407250
push 0x10
lea eax, [ebp - 0x20]
push esi
push eax
mov dword [ebp - 0x64], edi
call fcn.00407250
mov ebx, dword [ebp - 0x10]
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403c98
cmp dword [ebp + 0x10], esi
je 0x403c7d
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp + 0x14], esi
mov dword [ebp - 0x1c], esi
je 0x403c98
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x20]
lea ecx, [ebx - 0x10]
call fcn.0040101e
mov eax, esi
call fcn.00406d6a
ret
Function at 0x4052f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43e1e4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040514f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00407250
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40533f
cmp dword [ebp - 0x1c], 5
jb 0x405357
jmp 0x405353
cmp dword [ebp - 0x10], 1
jne 0x405357
cmp dword [ebp - 0x1c], 4
ja 0x405353
jne 0x405357
cmp dword [ebp - 0x18], 0
jbe 0x405357
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x437da8
call fcn.00404f0c
test eax, eax
jge 0x405378
mov byte [0x43f7a4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00406c83
add ebp, 0x78
leave
ret

Function at 0x406c83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e1e4]
jne 0x406c8d
repz ret
jmp fcn.0040dd5c
Function at 0x4113d8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x43ed78]
je 0x4113f3
inc edi
cmp edi, 0x17
jb 0x4113e4
cmp edi, 0x17
jae 0x411573
push ebp
push 3
call fcn.00422717
cmp eax, 1
pop ecx
je 0x41153f
push 3
call fcn.00422717
test eax, eax
pop ecx
jne 0x411427
cmp dword [0x43e1f0], 1
je 0x41153f
cmp ebx, 0xfc
je 0x411572
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43fdb8
push ebp
call fcn.0040ab01
add esp, 0xc
test eax, eax
je 0x41145d
push esi
push esi
push esi
push esi
push esi
call fcn.0040825f
add esp, 0x14
push 0x104
mov esi, 0x43fdd1
push esi
push 0
mov byte [0x43fed5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4114a1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040ab01
add esp, 0xc
test eax, eax
je 0x4114a1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040825f
add esp, 0x14
push esi
call fcn.00406240
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4114e6
push esi
call fcn.00406240
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4400cc
push 0x43866c
sub ecx, eax
push ecx
push eax
call fcn.0041e526
add esp, 0x14
test eax, eax
je 0x4114e6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040825f
add esp, 0x14
jmp 0x4114e8
xor esi, esi
push 0x438668
push ebx
push ebp
call fcn.0041e465
add esp, 0xc
test eax, eax
je 0x411508
push esi
push esi
push esi
push esi
push esi
call fcn.0040825f
add esp, 0x14
push dword [edi*8 + 0x43ed7c]
push ebx
push ebp
call fcn.0041e465
add esp, 0xc
test eax, eax
je 0x41152a
push esi
push esi
push esi
push esi
push esi
call fcn.0040825f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0042255a
add esp, 0xc
jmp 0x411572
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x411572
cmp ebp, 0xffffffff
je 0x411572
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x43ed7c]
push dword [esi]
call fcn.00406240
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42255a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d6e5
xor ebx, ebx
cmp dword [0x440258], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x422630
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x422710
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x422710
push eax
call fcn.0040d677
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x440258], eax
call esi
push eax
call fcn.0040d677
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44025c], eax
call esi
push eax
call fcn.0040d677
mov dword [0x440260], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00411043
test eax, eax
pop ecx
pop ecx
je 0x4225fe
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040825f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x422630
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040d677
cmp eax, ebx
pop ecx
mov dword [0x440268], eax
je 0x422630
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d677
pop ecx
mov dword [0x440264], eax
mov eax, dword [0x440264]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4226b5
cmp dword [0x440268], ecx
je 0x4226b5
push eax
call fcn.0040d6ee
push dword [0x440268]
mov esi, eax
call fcn.0040d6ee
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4226b5
cmp edi, ebx
je 0x4226b5
call esi
cmp eax, ebx
je 0x422682
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422682
test byte [ebp - 0x18], 1
jne 0x4226b5
lea eax, [ebp - 0x10]
push eax
call fcn.004110f2
test eax, eax
pop ecx
je 0x42269d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040825f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4226ac
or dword [ebp + 0x10], 0x200000
jmp 0x4226f0
or dword [ebp + 0x10], 0x40000
jmp 0x4226f0
mov eax, dword [0x44025c]
cmp eax, dword [ebp - 8]
je 0x4226f0
push eax
call fcn.0040d6ee
cmp eax, ebx
pop ecx
je 0x4226f0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4226f0
mov eax, dword [0x440260]
cmp eax, dword [ebp - 8]
je 0x4226f0
push eax
call fcn.0040d6ee
cmp eax, ebx
pop ecx
je 0x4226f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440258]
call fcn.0040d6ee
cmp eax, ebx
pop ecx
je 0x422710
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422712
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6a77df
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
xchg dh, al
sub esp, 0x19
lea eax, [ecx*4]
jmp 0x6a7660
jmp 0x6a7676
sub esp, 0xbc
mov ebp, esp
stc
jp 0x6a768e
xchg dh, al
sub esp, 0x19
lea eax, [ecx*4]
lea esp, [esp + 1]
jmp fcn.006a7664
mov ebp, dword [esp]
jmp 0x6a76fa

Function at 0x6aeb56
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x6afdd2
jmp 0x694177
jmp 0x69429e
mov dl, al
mov al, byte [esp]
mov dx, bx
rdtsc
rdtsc
rdtsc
jmp 0x6afdb3
mov ax, 0x38c0
lea eax, [esp + edi]
xchg ah, al
mov ah, byte [esp]
push edx
xchg dh, al
jmp 0x6afd76
setne al
pop eax
jmp 0x6d357a
pop edx
mov eax, 0xf2d61299
bswap eax
mov ax, 0x8ae5
mov eax, esp
mov eax, dword [esp]
jmp 0x6afd9d
push eax
mov ax, di
jmp 0x6afd8c
movzx ecx, byte [ecx + 2]
sub esp, 0x13
add esp, 3
jmp 0x6d36bd
movzx eax, byte [ecx]
not dh
mov dh, byte [esp]
movzx edx, byte [ecx + 1]
jmp 0x6d3564
push 0x3f
call fcn.006d35e7
wait
adc dword [ecx + 0x1bd313e0], eax
xchg edx, eax
add byte [edi - 0x6e], ah
xchg ebx, eax
or ah, byte [ebp - 0x740b8e73]
enter 0x1c8b, 0x24
lea esi, [ecx - 0xc]
mov ecx, eax
mov ebx, dword [esp]
bt bx, cx
jmp 0x6d3588
push esi
mov dx, si
shl eax, 8
or eax, ecx
jmp 0x6d359e
lea esp, [esp + 0x10]
push ebx
neg bh
btr dx, bp
jmp 0x6d35b9
shl eax, 8
or eax, edx
mov edx, dword [esp]
dec edx
jmp 0x6d3628

Function at 0x73f7cf
Capabilities:
Parse pe header

Disassembly:
mov ebx, eax
mov edi, dword [esp + 0x10]
mov bh, byte [esp]
shr bx, 8
rcl ebx, 0x19
rol bh, cl
jmp 0x73f7ac
cmc
mov esi, dword [esp + 0xc]
xchg bh, bl
bsr ebx, ecx
mov di, dx
neg edi
jmp 0x73f779
neg bx
lea ebx, [esp + ecx]
mov ebx, dword [esp + 0x18]
lea esp, [esp + 0x1c]
popfd
jmp 0x73f7ed
jmp 0x73f79b
lea esp, [esp + 4]
call fcn.0073f7d1

Function at 0x73f7d1
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
lea esp, [esp + 2]
push eax
jmp 0x73f820
mov dword [esp], esi
push word [esp]
mov dword [esp + 4], esi
pushfd
pushfd
mov byte [esp + 1], bh
mov dword [esp], ebx
push dword [esp + 2]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0073f7f6
lea esp, [esp + 2]
mov dword [esp], ebp
push esp
push dx
mov byte [esp + 1], bh
jmp 0x73f808
Function at 0x73f7f6
Capabilities:
Parse pe header

Disassembly:
call fcn.0073f033
dec di
cmp bx, 0xad62
lea esp, [esp + 0xd]
mov dword [esp], esi
jmp 0x73f495
lea esp, [esp + 1]
push word [esp + 5]
lea edi, [edx + esi]
lea esi, [0xbd09ab4a]
mov dword [esp + 7], esi
xor edi, 0x35a7bfd1
jmp 0x73f437
mov esi, eax
bswap edi
bswap ebx
inc ebx
mov si, ax
add esi, edi
jmp 0x73f47d
mov si, 0xd709
shl edi, cl
mov si, di
mov bl, 0x37
mov ebx, dword [esp]
xchg si, bx
jmp 0x73f4ab
bsr edi, ebx
xchg dword [esp], edi
mov dword [esp], esi
xchg dword [esp], edi
pop edi
lea edi, [ebx*4]
jmp 0x73f46b
clc
mov bl, byte [esp]
mov bl, 0xc
mov bl, byte [esp]
xchg si, di
mov bh, byte [esp]
jmp 0x73f519
lea esp, [esp + 4]
mov bh, byte [esp + 1]
rol si, 6
mov edi, esp
push word [esp + 6]
bsf bx, di
jmp 0x73f44d
not di
mov edi, dword [esp]
not esi
call fcn.0073f4bc
pop di
xchg dword [esp + 6], esi
bswap esi
mov byte [esp + 9], ah
lea esp, [esp + 1]
jmp 0x73f5a3
mov byte [esp + 3], dh
bswap edi
pop word [esp]
mov word [esp + 1], bx
jmp 0x73f581
pop di
pop word [esp]
xchg byte [esp + 6], bh
lea esp, [esp + 1]
bsf bx, cx
lea edi, [edi*4]
jmp 0x73f54c
mov esi, 0x6b716573
mov bh, 0x36
push word [esp + 1]
not bh
pushal
pop di
jmp 0x73f5d1
xchg byte [esp + 8], bh
xchg word [esp + 3], di
bsr bx, sp
neg bh
or bx, 0xcadd
ror esi, cl
jmp 0x73f566
dec edi
sub esp, 0x1e
call fcn.0073f5fd
fcom dword [edi - 0x39]
mov byte [0xc846b051], al
pop esi
cmp eax, ecx
in eax, 0x87
pop esp
and al, 0x1b
xchg dword [esp + 0x1b], ebx
pop ebx
lea esi, [ebx - 0x38af]
mov bl, byte [esp + 0xe]
xchg esi, ebx
sbb bx, dx
jmp 0x73f5bb
clc
xchg word [esp + 1], si
xchg word [esp + 6], si
pushfd
xchg bh, bl
mov di, si
jmp 0x73f4d3
push word [esp + 3]
push dword [esp]
mov di, sp
bswap ebx
rol bl, cl
neg bl
jmp 0x73f623
stc
mov edi, dword [esp + 2]
xchg dword [esp + 2], ebx
mov ebx, dword [esp + 2]
xchg dword [esp + 3], ebx
mov di, 0xf9c9
jmp 0x73f6a3
jmp 0x73f84e
push word [esp + 2]
jmp 0x73f88b
mov byte [esp], al
lea esp, [esp + 2]
lea esp, [esp + 2]
push ebx
call fcn.0073f7f8
xchg byte [eax], bl
mov gs, ecx
sbb byte [edi - 0x731a8a0b], bl
jg 0x73f814
in al, 0x17
jle 0x73f8b8
lea edi, [edi*4]
shr bl, 0
not bh
mov dword [esp + 1], ebp
mov bx, word [esp + 7]
xchg ebx, edi
jmp 0x73f75f
mov byte [esp + 4], bh
mov byte [esp + 1], cl
call fcn.0073f9d3
lea esp, [esp + 0xc]
jmp 0x73f98e
and al, 0x24
mov esi, esp
xchg bh, bl
ror bh, 5
jmp 0x73f86f
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x73f02e
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x73f8e5

Function at 0x73f7f8
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], esp
call fcn.0073f801
outsb dx, byte [esi]

Function at 0x73f9d3
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov word [esp + 3], cx
pushfd
lea esp, [esp + 2]
mov dword [esp + 0xc], edi
jmp 0x73f898
Function at 0x1001492
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1001918
call fcn.01001624
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100124d
cmp eax, esi
jne 0x1001240
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001250
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001227
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x1001263
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001292
mov eax, dword [0x100236c]
test eax, eax
jne 0x100128c
mov dword [0x100236c], esi
push 0x100109c
push 0x1001090
call fcn.01001189
pop ecx
pop ecx
test eax, eax
je 0x1001292
jmp 0x10013b6
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x10012b6
push 0x100108c
push 0x1001084
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x20], ebx
jne 0x10012c3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x10012e4
push 0x1002374
call fcn.01001599
pop ecx
test eax, eax
je 0x10012e4
push ebx
push 2
push ebx
call dword [0x1002374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10013b6
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100134e
cmp cx, bx
je 0x1001309
cmp dword [ebp - 0x1c], ebx
jne 0x100134e
movzx ecx, word [eax]
cmp cx, bx
je 0x100131e
cmp cx, 0x20
ja 0x100131e
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1001309
test byte [ebp - 0x40], 1
je 0x100132a
movzx ecx, word [ebp - 0x3c]
jmp 0x100132d
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x1001393
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100135f
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10012f3
cmp dword [0x1002034], ebx
jne 0x10013a1
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
jmp 0x10013c2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01001669
ret
call fcn.01001771
jmp 0x10011ea
Function at 0x1002baa
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x105a080]
push ebx
mov ebx, dword [0x105a084]
push edi
xor edi, edi
sub ebx, eax
je 0x1002c33
mov ecx, dword [0x105a044]
push esi
push dword [ebp + 8]
lea esi, [ecx + eax]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002c32
lea eax, [ebx + 7]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x1002c2c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
push dword [0x105a030]
call dword [sym.imp.USER32.dll_SetClipboardData]
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1002c40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
test byte [0x105a040], 8
mov dword [ebp - 4], edi
je 0x1002c63
and dword [0x105a040], 0xfffffff7
inc dword [0x105a07c]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002d58
push dword [0x105a030]
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x1002d52
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, edi
je 0x1002d48
mov ecx, dword [esi]
mov eax, dword [0x105a048]
add ecx, eax
cmp ecx, dword [0x105a04c]
mov dword [ebp - 4], 1
jle 0x1002ce0
push 2
push ecx
push dword [0x105a044]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, edi
je 0x1002d60
mov dword [0x105a044], eax
mov ecx, dword [esi]
mov eax, dword [0x105a048]
add ecx, eax
mov dword [0x105a04c], ecx
mov ecx, dword [0x105a080]
cmp ecx, dword [0x105a084]
je 0x1002cfd
push 8
push dword [ebp + 8]
call fcn.01002ac1
mov eax, dword [0x105a048]
mov ecx, dword [0x105a07c]
mov edx, dword [0x105a044]
push ebx
mov ebx, dword [esi]
sub eax, ecx
push eax
lea edi, [edx + ecx]
lea eax, [ebx + edi]
push edi
push eax
call dword [sym.imp.msvcrt.dll_memmove]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
add esi, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 0xc
push dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [0x105a048], ebx
add dword [0x105a07c], ebx
call fcn.01002838
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
pop edi
leave
ret 4
push edi
push 0x10
push 0x70
push 0x76
push dword [ebp + 8]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x18
mov dword [ebp - 4], edi
jmp 0x1002d48
Function at 0x1003857
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
xor ebx, ebx
test ax, ax
push 0x10
setl bl
call esi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
test ax, ax
setl cl
cmp edi, 0x26
mov dword [ebp - 4], ecx
mov ecx, dword [0x105a07c]
ja 0x100396b
je 0x1003953
cmp edi, 0x21
jb 0x1003a0c
cmp edi, 0x22
jbe 0x1003920
cmp edi, 0x23
je 0x10038ec
cmp edi, 0x24
je 0x10038c7
cmp edi, 0x25
jne 0x1003a0c
and dword [0x105a040], 0xffffffef
dec ecx
jmp 0x100395e
test ebx, ebx
je 0x10038cf
xor ecx, ecx
jmp 0x10038e0
test byte [0x105a040], 0x10
je 0x10038dd
sub ecx, 8
jmp 0x10038e0
and ecx, 0xfffffff8
and dword [0x105a040], 0xffffffef
jmp 0x1003a00
test ebx, ebx
jne 0x10039de
test byte [0x105a040], 0x10
jne 0x1003a0c
mov eax, dword [0x105a048]
and ecx, 0xfffffff8
add ecx, 8
cmp ecx, eax
jg 0x10039fe
or dword [0x105a040], 0x10
jmp 0x1003a00
mov eax, dword [0x105a06c]
neg eax
lea esi, [ecx + eax*8]
xor eax, eax
cmp edi, 0x21
setne al
push 0
inc eax
inc eax
push eax
push 0
push dword [ebp + 8]
call fcn.01002e5a
cmp edi, 0x21
mov eax, dword [0x105a06c]
lea ecx, [esi + eax*8]
je 0x100395e
jmp 0x10039f5
test ebx, ebx
jne 0x1003a0c
sub ecx, 8
test ecx, ecx
jl 0x1003a0c
jmp 0x1003a00
sub edi, 0x27
je 0x10039ed
dec edi
je 0x10039be
sub edi, 5
je 0x100399d
dec edi
jne 0x1003a0c
test ebx, ebx
jne 0x1003a0c
cmp dword [ebp - 4], ebx
je 0x1003991
push ebx
push 0x18
jmp 0x10039ab
push 0x2e
push dword [ebp + 8]
call fcn.01002ac1
jmp 0x1003a0c
xor eax, eax
cmp dword [ebp - 4], eax
je 0x10039b5
cmp ebx, eax
jne 0x1003a0c
push eax
push 0x16
push dword [ebp + 8]
call fcn.01002f34
jmp 0x1003a0c
cmp ebx, eax
je 0x1003a0c
push eax
push 3
jmp 0x10039ab
test ebx, ebx
jne 0x1003a0c
add ecx, 8
mov eax, ecx
push 8
cdq
pop esi
idiv esi
cmp eax, dword [0x105a068]
jle 0x10039f5
test byte [0x105a040], 0x10
je 0x1003a0c
and dword [0x105a040], 0xffffffef
mov ecx, dword [0x105a048]
jmp 0x1003a00
and dword [0x105a040], 0xffffffef
inc ecx
mov eax, dword [0x105a048]
cmp ecx, eax
jle 0x1003a00
mov ecx, eax
push dword [ebp - 4]
push ecx
push dword [ebp + 8]
call fcn.0100359b
pop edi
pop esi
pop ebx
leave
ret 0x14