joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b9b1
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c4
call fcn.004905e0
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx], 0
je 0x46ba3a
lea eax, [ebp - 4]
mov dword [ebp - 0x10c4], 0x19c
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c4]
push eax
mov dword [ebp - 0xc], 0x1018
call dword [0x4b0320]
test eax, eax
jne 0x46ba3a
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x46ba92
jle 0x46ba3a
lea edi, [ebp - 0x10c0]
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0xa0
push eax
push dword [edi]
call dword [0x4b0318]
test eax, eax
jne 0x46ba3a
cmp dword [ebp - 0xa8], 0x2000
je 0x46ba41
inc esi
add edi, 0x19c
cmp esi, dword [ebp - 4]
jl 0x46ba05
xor al, al
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0xa0]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 0x20
pop ecx
jb 0x46ba5a
and byte [ebp - 0x81], 0
lea eax, [ebp - 0xa0]
push str.isdn
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x46ba75
mov byte [ebx + 8], 1
lea eax, [ebp - 0xa0]
push str.moden
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x46bab8
mov byte [ebx + 8], 2
jmp 0x46bab8
lea eax, [ebp - 8]
push esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x46ba3a
test byte [ebp - 8], 2
je 0x46baae
mov byte [ebx + 8], 3
test byte [ebp - 8], 1
je 0x46bab8
mov byte [ebx + 8], 1
mov al, 1
jmp 0x46ba3c
Function at 0x46e340
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
mov ebx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
stosb byte es:[edi], al
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc0]
push 0x40
push ecx
push ebx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x46e3a2
cmp dword [ebp - 0x14], 0x40
je 0x46e3b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x2c]
push 0x4a7ea8
push edx
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll__CxxThrowException
cmp word [ebp - 0xc0], 0x5a4d
sete al
test al, al
jne 0x46e3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x4a7ea8
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1b8]
push 0xf8
add eax, ebx
push edx
push eax
push esi
call edi
test eax, eax
je 0x46e409
cmp dword [ebp - 0x14], 0xf8
je 0x46e420
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push 0x4a7ea8
push ecx
mov dword [ebp - 0x30], eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x1b8], 0x4550
jne 0x46e442
cmp word [ebp - 0x1b4], 0x14c
jne 0x46e442
cmp word [ebp - 0x1a0], 0x10b
je 0x46e459
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1c]
push 0x4a7ea8
push edx
mov dword [ebp - 0x1c], eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], 0
lea ebx, [eax + ebx + 0xf8]
mov eax, dword [ebp - 0x1b2]
and eax, 0xffff
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], eax
jae 0x46e51f
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x58]
push ecx
push 0x28
push edx
push ebx
push esi
call edi
test eax, eax
je 0x46e49c
cmp dword [ebp - 0x14], 0x28
je 0x46e4b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x4a7ea8
push eax
call sub.MSVCRT.dll__CxxThrowException
add ebx, 0x28
mov ecx, 0xa
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x58]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x46e51f
mov eax, dword [ebp - 0x34]
and eax, 0x20000020
cmp eax, 0x20000020
jne 0x46e504
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
add eax, edx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
jmp 0x46e47b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475afb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 4]
push dword [ebp + 8]
mov ebx, ecx
push eax
call fcn.00478c69
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 4]
je 0x475b37
cmp byte [eax + 0x1c], 0
jne 0x475b25
xor al, al
jmp 0x475bc7
cmp byte [ebx + 0x20], 0
jne 0x475b37
push eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.00478981
cmp byte [ebx + 0x20], 0
push esi
push edi
lea esi, [ebp + 0x10]
jne 0x475b85
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x38]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.004788e3
jmp 0x475bc3
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebx + 0x10]
push eax
call fcn.0048455f
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 0x18
Function at 0x4828d3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 4]
push dword [ebp + 8]
mov ebx, ecx
push eax
call fcn.004854c5
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 4]
je 0x48290f
cmp byte [eax + 0x1c], 0
jne 0x4828fd
xor al, al
jmp 0x48299f
cmp byte [ebx + 0x20], 0
jne 0x48290f
push eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004851dd
cmp byte [ebx + 0x20], 0
push esi
push edi
lea esi, [ebp + 0x10]
jne 0x48295d
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x38]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.0048513f
jmp 0x48299b
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebx + 0x10]
push eax
call fcn.0048455f
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 0x18
Function at 0x482d07
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 4]
push dword [ebp + 8]
mov ebx, ecx
push eax
call fcn.00485bce
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 4]
je 0x482d43
cmp byte [eax + 0x1c], 0
jne 0x482d31
xor al, al
jmp 0x482dd3
cmp byte [ebx + 0x20], 0
jne 0x482d43
push eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004858e6
cmp byte [ebx + 0x20], 0
push esi
push edi
lea esi, [ebp + 0x10]
jne 0x482d91
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x38]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.00485848
jmp 0x482dcf
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebx + 0x10]
push eax
call fcn.0048455f
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 0x18
Function at 0x4830f6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 4]
push dword [ebp + 8]
mov ebx, ecx
push eax
call fcn.00486296
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 4]
je 0x483132
cmp byte [eax + 0x1c], 0
jne 0x483120
xor al, al
jmp 0x4831c2
cmp byte [ebx + 0x20], 0
jne 0x483132
push eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.00485fae
cmp byte [ebx + 0x20], 0
push esi
push edi
lea esi, [ebp + 0x10]
jne 0x483180
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x38]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.00485f10
jmp 0x4831be
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebx + 0x10]
push eax
call fcn.0048455f
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 0x18

Function at 0x48709b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x49897b
call fcn.004903f0
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
push ebx
mov dword [ebp - 0x10], esi
mov byte [esi], al
call fcn.0046f607
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov al, byte [ebp + 0xb]
lea edi, [esi + 0xc]
push ebx
push ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov byte [edi], al
call fcn.0046f607
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov al, byte [ebp + 0xb]
lea edi, [esi + 0x18]
push ebx
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [edi], al
call fcn.0046f607
mov ecx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], ebx
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov word [esi + 0x2c], 3
mov dword [esi + 0x30], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x48a404
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 4]
push dword [ebp + 8]
mov ebx, ecx
push eax
call fcn.0048bd1d
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 4]
je 0x48a440
cmp byte [eax + 0x1c], 0
jne 0x48a42e
xor al, al
jmp 0x48a4d0
cmp byte [ebx + 0x20], 0
jne 0x48a440
push eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.0048ba35
cmp byte [ebx + 0x20], 0
push esi
push edi
lea esi, [ebp + 0x10]
jne 0x48a48e
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x38]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.0048b997
jmp 0x48a4cc
lea edi, [ebp - 0x20]
mov al, byte [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push 6
lea esi, [ebp - 0x20]
mov eax, dword [eax]
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebx + 0x10]
push eax
call fcn.0048455f
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 0x18
Function at 0x403b4c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00431b90
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004077c7
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00403778
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43d4ad
mov eax, dword [0x4c62e0]
test eax, eax
je 0x403c97
xor edi, edi
mov esi, 0x4c7290
inc edi
cmp eax, edi
je 0x43d4c7
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c62e0
push 0x4c62f8
mov ecx, esi
call fcn.004073e5
test al, al
je 0x403ca0
mov al, byte [0x4c7290]
mov byte [0x4c62e4], al
mov al, byte [0x4c7291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c62f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c62d0
call fcn.00407d2c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c62e0]
push 0x4c62f8
call fcn.00410a8d
test eax, eax
jne 0x43d4e6
cmp byte [ebp - 5], 1
je 0x43d505
call fcn.00403a58
call fcn.004039e7
cmp byte [0x4c62e4], 0
jne 0x403c55
mov ecx, 0x4c6890
call fcn.004043db
push edi
mov ecx, 0x4c6310
call fcn.00410b30
cmp byte [0x4c62e4], 0
jne 0x403c73
mov ecx, 0x4c6890
call fcn.004044cb
mov ecx, esi
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00405a64
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c627c], 0xffffffff
jmp 0x403c7a
mov dword [0x4c627c], edi
jmp 0x403c7a
push 0x10
push 0x4b93f0
push 0x4b93f4
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c87
push 0xffffffffffffffff
push dword [0x4c62e8]
mov ecx, esi
push edi
call fcn.00407373
mov al, byte [0x4c6284]
mov byte [0x4c7292], al
jmp 0x403c16
mov ecx, esi
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c627c], edi
jmp 0x403c87
call fcn.00464c03
test al, al
jne 0x403c38
cmp byte [ebp - 7], al
jne 0x403c38
lea ecx, [ebp - 0x2c]
call fcn.00404864
push 0x4b5d40
lea ecx, [ebp - 0x1c]
call fcn.00407f41
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43d55f
mov edi, 0x4b9424
push edi
call fcn.00407e0b
push 0x4c62f8
lea ecx, [ebp - 0x1c]
call fcn.00407c8e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407e0b
push 1
jmp 0x43d568
push dword [ebp + 8]
call fcn.00407e0b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b9428
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00405a64
jmp 0x403c73
Function at 0x404a35
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43da81
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43da96
push edi
push 0x4ba194
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43daaa
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db85
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db61
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43db66
push 4
jmp 0x43db63
push 3
pop ebx
jmp 0x43db69
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43db88
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x404a53
Function at 0x42023b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0x455d4d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov edi, edx
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
mov ecx, esi
call fcn.00407b20
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x455d54
cmp ax, cx
je 0x455d54
cmp ax, dx
je 0x455d54
cmp ax, word [ebp - 8]
je 0x455d54
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00407b20
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x455dcf
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00407b76
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00420352
test al, al
je 0x42034e
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a4cf0]
call fcn.0042313d
pop ecx
pop ecx
test eax, eax
je 0x42031a
inc esi
cmp esi, 0x63
jl 0x4202ff
cmp esi, 0x63
je 0x455d86
cmp byte [esi + 0x4a4c88], 0
jne 0x42034e
movzx eax, byte [esi + 0x4a4c20]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00405a64
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x420335
lea ecx, [ebp - 0x20]
call fcn.00405a64
xor al, al
jmp 0x420345
cmp ax, word [ebp - 0xc]
jne 0x455d5f
mov eax, dword [ebp + 0x10]
jmp 0x455d7e
cmp ax, cx
jne 0x455d69
mov eax, dword [ebp + 0x14]
jmp 0x455d7e
cmp ax, dx
jne 0x455d73
mov eax, dword [ebp + 0x18]
jmp 0x455d7e
push 0x23
pop ecx
cmp ax, cx
jne 0x455d80
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x420287
push 0
lea ecx, [ebp - 0x20]
call fcn.00407b52
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x455d45
test eax, 0x200
je 0x455dae
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x455dba
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420335
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420335
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x455d4d
test eax, 0x200
je 0x455dee
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x455dfa
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x42033d
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x42033d