joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f9f00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb7000]
push edi
jmp 0x4f9f1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f9f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9f10
mov eax, 1
add ebx, ebx
jne 0x4f9f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f9f44
jne 0x4f9f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9f63
dec eax
add ebx, ebx
jne 0x4f9f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f9f28
add ebx, ebx
jne 0x4f9f5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f9fb5
xor ecx, ecx
sub eax, 3
jb 0x4f9f7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f9fea
sar eax, 1
mov ebp, eax
jmp 0x4f9f86
add ebx, ebx
jne 0x4f9f86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9f54
inc ecx
add ebx, ebx
jne 0x4f9f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9f54
add ebx, ebx
jne 0x4f9fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f9f96
jne 0x4f9fb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f9f96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f9fd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f9fc6
jmp 0x4f9f16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f9fd4
add edi, ecx
jmp 0x4f9f16
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f9ff2
cmp byte [edi], 0x13
jne 0x4f9ff2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f9ff7
lea edi, [esi + 0xf5000]
mov eax, dword [edi]
or eax, eax
je 0x4fa06f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x142658]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1427ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fa024
mov ecx, edi
jns 0x4fa053
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1427b0]
or eax, eax
je 0x4fa069
mov dword [ebx], eax
add ebx, 4
jmp 0x4fa041
call dword [esi + 0x1427c0]
mov ebp, dword [esi + 0x1427b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4fa0a3
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401a78
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
test edi, edi
je 0x401b3a
cmp word [ebp + 0xc], bx
jne 0x401b32
cmp dword [edi + 4], ebx
jle 0x401ab2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
call fcn.004019b3
inc dword [eax + 0x198]
inc dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
cmp eax, 0x3e8
jbe 0x401ae9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi]
mov dword [esi + 0x10], eax
call fcn.004019b3
mov ecx, eax
call fcn.00401e38
push dword [esi]
call fcn.004019b3
mov ecx, eax
call fcn.00401e57
mov dword [esi], ebx
mov al, byte [esi + 4]
cmp al, byte [edi + 1]
je 0x401b01
push edi
mov ecx, esi
call fcn.00401bf6
mov cl, byte [edi + 1]
mov byte [esi + 4], cl
jmp 0x401b25
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp eax, 0x3a98
jbe 0x401b16
cmp dword [edi + 4], ebx
jg 0x401b1d
cmp eax, 0x4268
jbe 0x401b3a
push edi
mov ecx, esi
call fcn.00401bf6
mov bl, al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
jmp 0x401b3a
push edi
call fcn.00401eb4
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x401db9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x401e0d
push 0x100
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x401e0d
lea eax, [ebp - 0x104]
mov byte [ebp - 0xe5], 0
push eax
lea eax, [esi + 0x208]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444460
leave
ret 4
Function at 0x4043af
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4044e7
push 4
mov ecx, str.OpusApp
lea eax, [ebp - 0x204]
pop ebx
mov dx, word [eax]
xor esi, esi
cmp dx, word [ecx]
jne 0x404417
test dx, dx
je 0x404413
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404417
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x4043f1
mov eax, esi
jmp 0x40441c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4044e7
push 0xff
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4044e7
mov ecx, str.Word
lea eax, [ebp - 0x204]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40446e
test dx, dx
je 0x40446a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40446e
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x40444a
mov eax, esi
jmp 0x404473
sbb eax, eax
or eax, 1
test eax, eax
je 0x4044e3
mov ecx, str.Microsoft_Word
lea eax, [ebp - 0x204]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4044a4
test dx, dx
je 0x4044a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4044a4
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x404482
jmp 0x4044a9
sbb esi, esi
or esi, 1
test esi, esi
je 0x4044e3
push 6
lea eax, [ebp - 0x204]
push str.Word__
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x4044e3
push 0x10
lea ecx, [ebp - 0x204]
push str.Microsoft_Word__
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4044e7
mov al, 1
jmp 0x4044e9
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x40468a
Capabilities:
Get graphical window text

Disassembly:
push 0xa14
mov eax, 0x4465e3
call fcn.004444dc
mov esi, dword [ebp + 8]
xor bl, bl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa1c], esi
call fcn.0040421b
cmp dword [eax + 4], 1
ja 0x4047de
push esi
call fcn.0040455d
pop ecx
test al, al
je 0x4047de
mov esi, 0x400
lea eax, [ebp - 0xa18]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x618]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
xor esi, esi
push 0x1ff
lea eax, [ebp - 0x618]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x404712
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x4046ed
cmp word [ebp - 0x618], 0
je 0x4047de
push 0x1ff
lea eax, [ebp - 0xa18]
push eax
push dword [ebp - 0xa1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4047de
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00404ec4
pop ecx
pop ecx
lea ecx, [ebp - 0x618]
cmp ecx, eax
jne 0x4047de
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x44c270
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4047de
mov esi, 0x493920
mov bl, 1
mov dword [ebp - 0xa20], esi
cmp dword [0x493938], eax
je 0x4047ba
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa1c], bl
and dword [ebp - 4], 0
mov dword [0x49391c], edi
or dword [ebp - 4], 0xffffffff
cmp dword [0x493938], 0
je 0x4047de
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.00444486
ret
Function at 0x4047e6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x404]
push 0x1ff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x404a05
lea eax, [ebp - 0x404]
push 0x44c108
push eax
call fcn.00404ec4
pop ecx
pop ecx
lea ecx, [ebp - 0x404]
cmp eax, ecx
jbe 0x404a05
movzx edx, word [eax - 2]
lea esi, [eax + 0x1c]
movzx ebx, word [esi]
mov dword [ebp - 0x818], 0x28
mov ecx, ebx
cmp word [ebp - 0x818], dx
jne 0x404881
mov dword [ebp - 0x818], 0x29
cmp word [ebp - 0x818], cx
je 0x40489c
mov dword [ebp - 0x818], 0x5b
cmp word [ebp - 0x818], dx
jne 0x4048a4
push 0x5d
pop edx
cmp dx, cx
jne 0x4048a4
lea esi, [eax + 0x1e]
movzx eax, word [esi]
jmp 0x4048a6
mov eax, ebx
test ax, ax
je 0x404981
push 0xd
push str.___Microsoft
push esi
xor ebx, ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4048cc
push 3
add esi, 0x1a
pop ebx
push 7
pop eax
sub eax, ebx
push eax
lea eax, [ebx*2 + str.___Word]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4048f7
push str.winword.exe
push str.OpusApp
jmp 0x4049a6
push 8
pop eax
sub eax, ebx
push eax
lea eax, [ebx*2 + str.___Excel]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40493c
push str.excel.exe
push str.XLMAIN
push dword [ebp - 0x408]
push edi
call fcn.00404d93
add esp, 0x10
test al, al
je 0x404a05
push 4
pop eax
jmp 0x4049bc
push 0xd
pop eax
sub eax, ebx
push eax
lea eax, [ebx*2 + 0x44c1d8]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x404a05
push str.powerpnt.exe
push str.PPTFrameClass
push dword [ebp - 0x408]
push edi
call fcn.00404d93
add esp, 0x10
test al, al
je 0x404a05
push 2
jmp 0x404936
push 0x12
lea eax, [ebp - 0x404]
push str.Microsoft_Excel__
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x404a05
push str.excel.exe
push str.XLMAIN
push dword [ebp - 0x408]
push edi
call fcn.00404d93
add esp, 0x10
test al, al
je 0x404a05
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x81c]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x810], ecx
lea ecx, [ebp - 0x80c]
push 0x1ff
push ecx
mov dword [ebp - 0x814], edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x814]
push ecx
mov ecx, 0x49393c
call fcn.00403df3
mov al, 1
jmp 0x404a07
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x404faf
Capabilities:
Get common file path
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.zWinRes.dll
mov edi, ecx
call fcn.0043cabf
mov dword [edi], eax
mov dword [esp], str.reslib.dll
call fcn.0043cabf
cmp dword [edi], 0
pop ecx
mov dword [edi + 4], eax
je 0x405139
test eax, eax
je 0x405139
push ebx
lea ebx, [edi + 8]
push ebx
push str.ReslibStartupEx
push eax
call fcn.00404f02
add esp, 0xc
test al, al
je 0x405138
lea eax, [edi + 0xc]
push eax
push str.ReslibShutdown
push dword [edi + 4]
call fcn.00404f02
add esp, 0xc
test al, al
je 0x405138
lea eax, [edi + 0x10]
push eax
push str.LoadStringFromRes
push dword [edi + 4]
call fcn.00404f02
add esp, 0xc
test al, al
je 0x405138
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, 0x409
call fcn.0043dfaa
mov ecx, eax
call fcn.0043e113
cmp dword [eax + 0x14], 8
jb 0x405075
mov eax, dword [eax]
xor ecx, ecx
cmp word [eax], cx
je 0x405094
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x4050bc
lea eax, [ebp - 0x20c]
push eax
push ecx
push ecx
push 0x1a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4050bc
push 0x44c3a8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x20c], 0
je 0x40510d
push str.data
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Zoom.us.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea ecx, [ebp - 0x20c]
movzx eax, ax
push ecx
push eax
push str.com.zoom.client.langid
push str.ZoomChat
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push esi
mov esi, dword [ebx]
mov ecx, esi
push dword [edi]
call dword [0x44b788]
call esi
pop ecx
pop ecx
test al, al
jne 0x405137
mov esi, dword [ebx]
mov ecx, esi
push 0x409
push dword [edi]
call dword [0x44b788]
call esi
pop ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00444460
leave
ret

Function at 0x40cf16
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
call fcn.0043babd
pop ecx
pop ecx
cmp eax, 0x3e
jl 0x40cf74
mov eax, dword [esi + 0x12c]
cmp dword [eax], 2
je 0x40cf74
cmp dword [eax], 3
je 0x40cf74
push edi
mov edi, ebx
mov esi, ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x40cf6f
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
call dword [0x44b788]
call dword [ebp + 8]
test eax, eax
je 0x40cf6f
inc esi
cmp esi, 0x7d0
jb 0x40cf42
mov al, 1
pop edi
jmp 0x40cf87
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumWindows]
dec eax
neg eax
sbb al, al
inc al
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40dd9d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x208
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x414]
mov ebx, 0x104
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40de2d
push ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40de2d
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VCRUNTIME140.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jne 0x40de2d
mov al, 1
jmp 0x40de2f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret 8

Function at 0x415032
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
jne 0x415168
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x415164
push str.Magnification.dll
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x28], eax
test eax, eax
je 0x415164
push str.MagInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagUninitialize
push dword [esi + 0x28]
mov dword [esi + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetColorEffect
push dword [esi + 0x28]
mov dword [esi + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowSource
push dword [esi + 0x28]
mov dword [esi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowTransform
push dword [esi + 0x28]
mov dword [esi + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowFilterList
push dword [esi + 0x28]
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetImageScalingCallback
push dword [esi + 0x28]
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x78], edi
je 0x41515d
cmp dword [esi + 0x7c], edi
je 0x41515d
cmp dword [esi + 0x84], edi
je 0x41515d
cmp dword [esi + 0x8c], edi
je 0x41515d
cmp dword [esi + 0x88], edi
je 0x41515d
test eax, eax
jne 0x415168
mov ecx, esi
call fcn.00414cb4
xor al, al
jmp 0x41516a
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x418a3d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x9c], eax
lea edi, [ebp - 0x58]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
xor eax, eax
push 0
stosd dword es:[edi], eax
push 0x8000000
push 3
push 0
stosd dword es:[edi], eax
push 1
push SysReAllocString
push ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x98], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call fcn.00418e1d
push 1
push 0
push 1
push 0
mov esi, eax
push 1
push ebx
mov ecx, esi
call fcn.00440a35
push dword [ebp - 0x98]
mov ecx, esi
mov bl, al
call fcn.004400b1
test bl, bl
je 0x418bcd
test al, al
jne 0x418bcd
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 4
push 1
push ebx
push ebx
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x418b37
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xd0], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0xcc], ecx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x418bbd
push 0x3c
lea eax, [ebp - 0x94]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x9c]
add esp, 0xc
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x90], 0x440
push eax
mov dword [ebp - 0x88], 0x453a50
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x84], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x418bbd
cmp dword [ebp - 0x74], 0x20
jle 0x418bbd
mov esi, dword [ebp - 0xa0]
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
inc ebx
push eax
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp - 0xa4]
and dword [eax], 0
cmp edi, 0xffffffff
je 0x418bc9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x418bdb
cmp edi, 0xffffffff
je 0x418bd9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret 0x14
Function at 0x418d63
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, eax
test edi, edi
je 0x418dd6
mov cl, byte [esi + 0x10]
mov ebx, dword [ebx + 0x190]
mov dl, cl
or cl, 0x80
and dl, 0x7f
movzx ecx, cl
and bl, 1
mov ebx, dword [ebp - 4]
movzx eax, dl
cmove ecx, eax
mov byte [esi + 0x10], cl
mov cl, byte [esi + 0x11]
mov edx, dword [ebx + 0x190]
mov al, cl
and al, 0x7f
or cl, 0x80
and dl, 2
movzx eax, al
movzx ecx, cl
cmove ecx, eax
mov al, byte [esi + 0x12]
mov byte [esi + 0x11], cl
test byte [ebx + 0x190], 4
je 0x418dd1
or al, 0x80
jmp 0x418dd3
and al, 0x7f
mov byte [esi + 0x12], al
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x418ddf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
call fcn.00418e06
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx ecx, ax
xor edx, edx
movzx eax, cl
test cx, cx
cmovg edx, eax
movzx eax, dx
pop ebp
ret 4
Function at 0x41a594
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
mov eax, dword [esi + 0x190]
shr eax, 2
test al, 1
je 0x41a5d1
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x41a618
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push 0x12
push 0x20
call fcn.00419389
mov ecx, dword [ebp + 8]
mov bl, al
mov byte [ecx], 1
jmp 0x41a618
push edi
mov edi, 0xa4
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x41a5f4
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push edi
push 0x21
call fcn.00419389
mov bl, al
mov edi, 0xa5
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x41a617
xor eax, eax
mov ecx, esi
push eax
push eax
push 1
push eax
push edi
push 0x21
call fcn.00419389
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x41ccb3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x493d04]
cmp eax, dword [ebp + 0xc]
jb 0x41cd32
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0041cb52
mov bl, al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test bl, bl
jne 0x41cd1d
sub eax, dword [0x493d08]
cmp eax, 0x7d0
jb 0x41cd22
mov eax, dword [0x49230c]
mov ecx, esi
sub eax, dword [esi + 0xc4]
mov dword [ebp - 8], eax
mov eax, dword [0x492310]
sub eax, dword [esi + 0xc8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.0041e54f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x493d08], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x493d04], eax
mov al, bl
pop ebx
jmp 0x41cd34
xor al, al
pop esi
leave
ret 8
Function at 0x42103a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x204]
push esi
push edi
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x421131
xor eax, eax
mov esi, 0x453ee8
mov edi, eax
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42111c
cmp word [esi], ax
je 0x421144
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42111c
xor ecx, ecx
cmp word [esi + 0x80], cx
je 0x421144
push 0x104
lea eax, [ebp - 0x40c]
push eax
push ebx
call fcn.0043c2a8
add esp, 0xc
test al, al
je 0x42111c
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x40c]
push eax
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x421144
mov eax, 0xc0
add edi, eax
add esi, eax
cmp edi, 0x780
jb 0x421077
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret 4
mov al, 1
jmp 0x421133