joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b01e
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 1
push 0x73
push 0x1001f5c
lea ecx, [ebp - 0x40]
call fcn.0101a2c6
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0x1004590
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
stosd dword es:[edi], eax
cmp dword [ebp + 8], esi
je 0x100b107
mov ecx, dword [ebp + 8]
call fcn.0102176f
mov edx, dword [0x102531c]
push 0x7c
pop eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x40], esi
mov word [ebp - 0x3c], ax
call fcn.01021f9a
push 0x7f
mov dword [ebp - 0x40], eax
cmp eax, esi
pop eax
jl 0x100b111
push dword [ebp - 0x10]
mov word [ebp - 0x3c], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100b126
test al, 0x10
jne 0x100b1d5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100b11a
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x8e
mov word [ebp - 0x3a], ax
mov eax, dword [0x1025318]
cmp eax, 0x1025318
je 0x100b1e0
test dword [eax + 0x1c], 0x2000000
je 0x100b1e0
push dword [ebp - 0x40]
push dword [ebp - 0x10]
push 0x1001f38
push 0x1001cb0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090f1
jmp 0x100b1e0
push 0x7c
mov dword [ebp - 0x40], 0x80070057
pop eax
mov word [ebp - 0x3a], ax
jmp 0x100b1e0
mov eax, 0x8e
mov dword [ebp - 0x40], esi
mov word [ebp - 0x3c], ax
push esi
lea eax, [ebp - 4]
push eax
push 1
push dword [0x1025320]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x100b14b
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x99
jmp 0x100b111
mov eax, 0x99
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100b1d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100b187
xor eax, eax
cmp eax, esi
jle 0x100b195
and eax, 0xffff
or eax, 0x80070000
mov ecx, eax
cmp ecx, esi
mov dword [ebp - 0x40], ecx
mov eax, 0xa6
jge 0x100b1d1
mov word [ebp - 0x3a], ax
mov eax, dword [0x1025318]
cmp eax, 0x1025318
je 0x100b1e0
test dword [eax + 0x1c], 0x2000000
je 0x100b1e0
push ecx
push dword [ebp - 0x10]
push 0x1001f30
push 0x1001cb0
push 0xb
jmp 0x100b0f7
mov word [ebp - 0x3c], ax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.010218c8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x10]
call fcn.0102174b
lea ecx, [ebp - 0x40]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x100b209
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
xor edi, edi
inc edi
push edi
push 0x19e
push 0x1001f8c
lea ecx, [ebp - 0x3c]
call fcn.0101a2c6
xor esi, esi
mov eax, 0x1004590
push 0x38
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x78], esi
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov eax, 0x1a4
cmp edx, esi
jne 0x100b270
mov dword [ebp - 0x3c], 0x80070057
mov word [ebp - 0x36], ax
jmp 0x100b360
mov word [ebp - 0x38], ax
mov eax, 0x1a5
cmp dword [ebp + 0x14], esi
je 0x100b260
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x38], ax
call fcn.01021f9a
mov dword [ebp - 0x3c], eax
cmp eax, esi
mov eax, 0x1a7
jl 0x100b267
push dword [ebp + 0x14]
mov edx, 0x1001f88
lea ecx, [ebp - 0x18]
mov word [ebp - 0x38], ax
call fcn.010223e9
mov dword [ebp - 0x3c], eax
cmp eax, esi
mov eax, 0x1a9
jl 0x100b267
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], 0x2000540
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0xc], esi
je 0x100b2dd
mov dword [ebp - 0x6c], 0x1001f7c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100b360
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100b30e
and eax, 0xffff
or eax, 0x80070000
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x1025318]
cmp eax, 0x1025318
je 0x100b33b
test dword [eax + 0x1c], 0x200
je 0x100b33b
push ecx
push 0x1001cb0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp - 0x3c], 0x800704c7
jne 0x100b34e
mov dword [ebp - 0x3c], edi
mov eax, 0x1be
jmp 0x100b35c
cmp dword [ebp - 0x3c], esi
mov eax, 0x1c2
jl 0x100b267
mov word [ebp - 0x38], ax
cmp dword [ebp - 0x40], esi
je 0x100b371
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0xc]
call fcn.0102174b
lea ecx, [ebp - 0x18]
call fcn.0102174b
lea ecx, [ebp - 0x3c]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x100b399
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 1
push 0x1dc
push 0x1001fcc
lea ecx, [ebp - 0x30]
call fcn.0101a2c6
xor esi, esi
push 0x1001fa4
mov dword [ebp - 0xc], 0x1004590
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.0101e2db
mov dword [ebp - 0x30], eax
cmp eax, esi
mov eax, 0x1e1
jge 0x100b3e4
mov word [ebp - 0x2a], ax
jmp 0x100b475
mov word [ebp - 0x2c], ax
call fcn.01012793
test eax, eax
jne 0x100b418
push 1
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
mov ecx, eax
call fcn.0101df88
cmp eax, esi
mov dword [ebp - 0x30], eax
jge 0x100b40e
mov eax, 0x1e6
jmp 0x100b3db
mov dword [ebp - 0x30], esi
mov eax, 0x1e7
jmp 0x100b471
mov edx, dword [ebp + 8]
push 0x9c
lea ecx, [ebp - 0xc]
call fcn.0102242e
mov dword [ebp - 0x30], eax
cmp eax, esi
mov eax, 0x1ea
jl 0x100b3db
push 0x2001a
push 0x27
push esi
push dword [ebp - 0xc]
mov word [ebp - 0x2c], ax
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
cmp eax, 0x45b
jne 0x100b453
xor eax, eax
cmp eax, esi
jle 0x100b461
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x30], eax
cmp eax, esi
mov eax, 0x1f8
jl 0x100b3db
mov word [ebp - 0x2c], ax
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0xc]
call fcn.0102174b
lea ecx, [ebp - 0x30]
call fcn.0101a59c
mov eax, esi
pop esi
leave
ret 4
Function at 0x100bf68
Capabilities:
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 1
push 0x57e
push 0x100205c
lea ecx, [ebp - 0x4c]
call fcn.0101a2c6
mov esi, dword [ebp + 8]
xor ebx, ebx
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
rep stosd dword es:[edi], eax
lea eax, [esi + 0x70]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x100bfb0
lea ecx, [esi + 0x6c]
push ecx
push eax
call fcn.0101e78e
cmp dword [esi + 0x84], ebx
je 0x100c00f
lea eax, [ebp - 4]
push eax
push 0x10035d0
push 1
push ebx
push 0x10035c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c], eax
cmp eax, ebx
mov eax, 0x593
jge 0x100bfe6
mov word [ebp - 0x46], ax
mov edi, ebx
jmp 0x100c0e3
push dword [esi + 0x84]
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 4]
mov dword [esi + 0x84], ebx
cmp eax, ebx
je 0x100c00f
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x100c028
cmp eax, 0xffffffff
jne 0x100c037
call fcn.0101df25
mov dword [ebp - 0x4c], eax
mov eax, 0x59c
jmp 0x100bfdb
push 0xa4
push 0x1002048
mov ecx, 0x59c
push eax
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x48], cx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
je 0x100c05f
cmp edi, 0xffffffff
jne 0x100c096
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1025318]
cmp ecx, 0x1025318
je 0x100c08f
test dword [ecx + 0x1c], 0x4000000
je 0x100c08f
push eax
push 0x1001cb0
push 0x11
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010090c5
mov eax, 0x5a4
jmp 0x100c0dc
lea eax, [ebp - 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x100c0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1025318]
cmp ecx, 0x1025318
je 0x100c0d7
test dword [ecx + 0x1c], 0x4000000
je 0x100c0d7
push eax
push 0x1001cb0
push 0x12
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010090c5
mov eax, 0x5ad
mov word [ebp - 0x48], ax
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x4c]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100c0f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebx
je 0x100c108
cmp edi, 0xffffffff
je 0x100c108
push edi
call esi
cmp dword [ebp - 8], ebx
je 0x100c118
cmp dword [ebp - 8], 0xffffffff
je 0x100c118
push dword [ebp - 8]
call esi
lea ecx, [ebp - 0x4c]
call fcn.0101a59c
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100cdb1
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x10253c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0x9e5
push 0x100229c
lea ecx, [ebp - 0x128]
call fcn.0101a2c6
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x168]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0xec], ebx
lea edi, [ebp - 0xe8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov eax, 0x1004590
push 0x1a
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf8], eax
mov eax, 0x1002230
pop ecx
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1a
pop ecx
mov esi, eax
lea edi, [ebp - 0xdc]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x16c], 0x44
call fcn.01021f9a
mov dword [ebp - 0x128], eax
cmp eax, ebx
mov eax, 0x9f0
jge 0x100ce7e
mov word [ebp - 0x122], ax
jmp 0x100cefa
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf8]
mov word [ebp - 0x124], ax
call fcn.01021f9a
mov dword [ebp - 0x128], eax
cmp eax, ebx
mov eax, 0x9f1
jl 0x100ce75
mov word [ebp - 0x124], ax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x16c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xf8]
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100cee8
call fcn.0101df25
mov dword [ebp - 0x128], eax
mov eax, 0x9fc
jmp 0x100ce75
mov eax, 0x9fc
mov dword [ebp - 0x128], ebx
mov word [ebp - 0x124], ax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xe8], ebx
je 0x100cf16
push dword [ebp - 0xe8]
call esi
mov dword [ebp - 0xe8], ebx
cmp dword [ebp - 0xec], ebx
je 0x100cf2c
push dword [ebp - 0xec]
call esi
mov dword [ebp - 0xec], ebx
mov esi, dword [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.0102174b
lea ecx, [ebp - 0x104]
call fcn.0102174b
lea ecx, [ebp - 0x128]
call fcn.0101a59c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01019b35
leave
ret
Function at 0x100deb2
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 1
push 0x684
push 0x10023ac
lea ecx, [ebp - 0x28]
call fcn.0101a2c6
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, 0x68b
cmp esi, edi
jne 0x100def1
mov dword [ebp - 0x28], 0x80070057
mov word [ebp - 0x22], ax
jmp 0x100dfd4
push ebx
push esi
push 0x1014959
push edi
push 0x74
push dword [esi + 4]
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], ax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ebx, eax
cmp ebx, edi
jne 0x100df27
call fcn.0101df25
mov dword [ebp - 0x28], eax
mov eax, 0x68e
mov word [ebp - 0x22], ax
jmp 0x100dfc2
push 5
mov eax, 0x68e
push ebx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], ax
mov dword [esi + 0xd8], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x100de73
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x100df7c
push esi
call fcn.0100ddf6
call fcn.0101df25
mov dword [ebp - 0x28], eax
mov eax, 0x69a
mov word [ebp - 0x22], ax
jmp 0x100dfb4
mov ecx, 0x69a
push eax
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], cx
call fcn.0101e1b8
mov dword [ebp - 0x28], eax
cmp eax, edi
mov eax, 0x69c
jl 0x100df76
mov word [ebp - 0x24], ax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x28], eax
cmp eax, edi
mov eax, 0x69e
jl 0x100df76
mov word [ebp - 0x24], ax
cmp dword [ebp + 8], edi
je 0x100dfc2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
je 0x100dfd3
push ebx
mov dword [esi + 0xd8], edi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop ebx
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x1015a7a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 1
push 0x18be
push 0x1002f50
lea ecx, [ebp - 0x28]
call fcn.0101a2c6
xor edi, edi
mov eax, 0x18c3
cmp dword [ebp + 0xc], edi
jne 0x1015ab4
mov dword [ebp - 0x28], 0x80070057
mov word [ebp - 0x22], ax
jmp 0x1015bbf
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
mov ebx, dword [ebp + 8]
push 0x429
push ebx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], ax
call esi
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x1015ae6
call fcn.0101df25
mov dword [ebp - 0x28], eax
mov eax, 0x18c6
jmp 0x1015bb4
push 0x42b
mov eax, 0x18c6
push ebx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], ax
call esi
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1015b13
call fcn.0101df25
mov dword [ebp - 0x28], eax
mov eax, 0x18c9
jmp 0x1015bb4
mov eax, 0x18c9
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
cmp dword [eax + 0x14], edi
je 0x1015b4a
push 1
push 5
mov edi, 0x43e
push edi
push ebx
call fcn.0101fbc8
push 5
push edi
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 5
jmp 0x1015b5e
push edi
push 0x43e
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x43f
push ebx
call esi
push eax
call edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01011970
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, 0x18d7
jl 0x1015bb4
push dword [ebp + 0xc]
mov word [ebp - 0x24], ax
push dword [ebp - 4]
call fcn.01011970
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, 0x18d8
jl 0x1015bb4
push dword [ebp + 0xc]
mov word [ebp - 0x24], ax
push ebx
call fcn.0101543e
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, 0x18da
jge 0x1015bba
mov word [ebp - 0x22], ax
jmp 0x1015bbe
mov word [ebp - 0x24], ax
pop ebx
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x1017904
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 1
push 0x1380
push 0x100307c
lea ecx, [ebp - 0x40]
call fcn.0101a2c6
mov esi, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x1c], 0x1004590
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov eax, 0x1389
cmp esi, edi
jne 0x1017956
mov dword [ebp - 0x40], 0x80070057
mov word [ebp - 0x3a], ax
jmp 0x1017abe
mov word [ebp - 0x3c], ax
cmp dword [esi + 0xa0], edi
jne 0x1017970
mov dword [ebp - 0x40], 0x81000203
mov eax, 0x138c
jmp 0x101794d
mov eax, 0x138e
mov word [ebp - 0x3c], ax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
cmp ecx, eax
jb 0x10179c2
mov edx, dword [ebp - 8]
ja 0x10179a6
cmp edx, dword [ebp - 0x10]
jb 0x10179c0
sub edx, dword [ebp - 0x10]
sbb ecx, eax
cmp ecx, 0x2f25
jb 0x10179c0
ja 0x10179bd
cmp edx, 0xf0c90000
jbe 0x10179c0
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [esi + 0x14], edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x1017a05
push 0x446
push dword [ebp + 8]
call edi
test eax, eax
jne 0x10179f3
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x139b
jmp 0x101794d
and dword [ebp - 0x40], 0
push 0
mov ecx, 0x139b
push eax
mov word [ebp - 0x3c], cx
call esi
push 0x405
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1017a25
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x13a0
jmp 0x101794d
and dword [ebp - 0x40], 0
neg ebx
sbb ebx, ebx
and ebx, 5
push ebx
mov ecx, 0x13a0
push eax
mov word [ebp - 0x3c], cx
call esi
push 0x8f
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1017a5d
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x13a4
jmp 0x101794d
and dword [ebp - 0x40], 0
push ebx
mov ecx, 0x13a4
push eax
mov word [ebp - 0x3c], cx
call esi
push 0x404
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1017a8e
call fcn.0101df25
mov dword [ebp - 0x40], eax
mov eax, 0x13a8
jmp 0x101794d
and dword [ebp - 0x40], 0
push ebx
mov ecx, 0x13a8
push eax
mov word [ebp - 0x3c], cx
call esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101114c
mov dword [ebp - 0x40], eax
test eax, eax
mov eax, 0x13ab
jl 0x101794d
mov word [ebp - 0x3c], ax
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x1c]
call fcn.0102174b
lea ecx, [ebp - 0x40]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10191ca
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 1
push 0xf4a
push 0x1003148
lea ecx, [ebp - 0x2c]
call fcn.0101a2c6
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x10191fa
mov dword [eax], esi
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
je 0x1019203
mov dword [ebx], esi
mov edi, dword [ebp + 0xc]
cmp edi, esi
jne 0x101921f
mov eax, 0xf53
mov dword [ebp - 0x2c], 0x80070057
mov word [ebp - 0x26], ax
jmp 0x1019375
mov ecx, 0xf53
cmp eax, esi
mov word [ebp - 0x28], cx
lea eax, [ecx + 1]
je 0x101920f
mov word [ebp - 0x28], ax
inc eax
cmp ebx, esi
je 0x101920f
push 0x3ec
push dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x28], ax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, esi
jne 0x1019260
call fcn.0101df25
mov dword [ebp - 0x2c], eax
mov eax, 0xf58
jmp 0x1019216
mov ecx, 0xf58
mov word [ebp - 0x28], cx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x2c], esi
call fcn.010105c2
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov eax, 0xf5a
jl 0x1019216
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 8]
cmp eax, esi
jne 0x10192c0
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
mov dword [edi + 0x90], esi
call fcn.0100ef19
cmp eax, esi
mov dword [ebp - 0x2c], eax
jge 0x10192af
mov eax, 0xf5f
jmp 0x1019216
mov eax, 0xf60
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x28], ax
jmp 0x1019375
mov dword [edi + 0x90], eax
cmp dword [eax + 0x3c], 2
jne 0x10192f7
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call fcn.01018f22
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov eax, 0xf67
jl 0x1019216
mov word [ebp - 0x28], ax
cmp dword [ebx], esi
je 0x101931a
add eax, 4
jmp 0x10192b4
lea ecx, [ebp - 4]
push ecx
push esi
add eax, 0x20
push eax
push edi
call fcn.010184cf
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov eax, 0xf70
jl 0x1019216
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 4]
and eax, 0x3fc
neg eax
sbb eax, eax
neg eax
push 0x11
mov dword [edi + 0xac], eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
mov ecx, 0x8000
inc ebx
test cx, ax
je 0x1019349
mov dword [edi + 0xac], ebx
cmp dword [edi + 0xac], esi
je 0x1019389
push 0x7a
push esi
push dword [ebp + 8]
call fcn.0100ef19
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov eax, 0xf7c
jl 0x1019216
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0101a59c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push 0x67
push esi
push dword [ebp + 8]
call fcn.0100ef19
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov eax, 0xf81
jmp 0x1019366
Function at 0x1019b0f
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x10232a0
call fcn.01019c7c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x102588c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10198c6
cmp eax, esi
jne 0x10198b9
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10198c9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10198a0
xor esi, esi
inc esi
mov eax, dword [0x1025888]
cmp eax, esi
jne 0x10198dc
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x101990b
mov eax, dword [0x1025888]
test eax, eax
jne 0x1019905
mov dword [0x1025888], esi
push 0x1001430
push 0x1001424
call fcn.01019805
pop ecx
pop ecx
test eax, eax
je 0x101990b
jmp 0x1019a33
mov dword [0x10254ec], esi
mov eax, dword [0x1025888]
cmp eax, esi
jne 0x101992f
push 0x1001420
push 0x1001408
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1025888], 2
test ebx, ebx
jne 0x101993b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1025898], 0
je 0x101995f
push 0x1025898
call fcn.01019df9
pop ecx
test eax, eax
je 0x101995f
push 0
push 2
push 0
call dword [0x1025898]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x10199bb
test al, al
je 0x1019979
cmp dword [ebp - 0x1c], 0
jne 0x10199bb
mov al, byte [esi]
test al, al
je 0x1019989
cmp al, 0x20
ja 0x1019989
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1019979
test byte [ebp - 0x3c], 1
je 0x1019995
movzx eax, word [ebp - 0x38]
jmp 0x1019998
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x10254e8], eax
cmp dword [0x10254dc], 0
jne 0x1019a0f
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10199ca
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10199dd
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1019966
cmp dword [0x10254ec], 0
jne 0x1019a1e
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10254e8]
jmp 0x1019a3f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01019cc1
ret
call fcn.01019f46
jmp 0x1019866