joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411105
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4b5898]
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
mov ebx, ecx
push edi
mov dword [ebp - 0x820], ebx
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 0x411344
lea eax, [ebp - 0x404]
mov ecx, ebx
push eax
call fcn.0041089c
shl eax, 7
add eax, str.Protected_View
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00411871
pop ecx
pop ecx
lea ecx, [ebp - 0x404]
cmp eax, ecx
jbe 0x411344
movzx ecx, word [eax - 2]
lea esi, [eax + 0x80]
movzx ebx, word [esi - 2]
mov dword [ebp - 0x818], 0x28
mov eax, ebx
cmp word [ebp - 0x818], cx
jne 0x4111be
mov dword [ebp - 0x818], 0x29
cmp word [ebp - 0x818], ax
je 0x4111d9
mov dword [ebp - 0x818], 0x5b
cmp word [ebp - 0x818], cx
jne 0x4111de
push 0x5d
pop ecx
cmp cx, ax
jne 0x4111de
movzx eax, word [esi]
jmp 0x4111e1
add esi, 0xfffffffe
test ax, ax
je 0x4112bc
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 0x411207
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 0x411232
push str.winword.exe
push str.OpusApp
jmp 0x4112e1
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 0x411277
push str.excel.exe
push str.XLMAIN
push dword [ebp - 0x408]
push edi
call fcn.0041174a
add esp, 0x10
test al, al
je 0x411344
push 4
pop eax
jmp 0x4112f7
push 0xd
pop eax
sub eax, ebx
push eax
lea eax, [ebx*2 + str.___PowerPoint]
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 0x411344
push str.powerpnt.exe
push str.PPTFrameClass
push dword [ebp - 0x408]
push edi
call fcn.0041174a
add esp, 0x10
test al, al
je 0x411344
push 2
jmp 0x411271
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 0x411344
push str.excel.exe
push str.XLMAIN
push dword [ebp - 0x408]
push edi
call fcn.0041174a
add esp, 0x10
test al, al
je 0x411344
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, dword [ebp - 0x820]
add ecx, 0x18
call fcn.0040fb5b
mov al, 1
jmp 0x411346
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004619c0
leave
ret 4
Function at 0x411486
Capabilities:
Get graphical window text

Disassembly:
push 0xa1c
mov eax, 0x464022
call fcn.00461a33
mov esi, ecx
mov dword [ebp - 0xa20], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0xa24], eax
lea eax, [ebp - 0x618]
push 0
push eax
mov dword [ebp - 0xa1c], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x618]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x618]
mov ecx, esi
push eax
call fcn.004110b0
test al, al
je 0x4116c5
mov esi, 0x400
lea eax, [ebp - 0xa18]
push esi
push 0
push eax
xor bl, bl
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0xa1c]
add esp, 0x18
xor edi, edi
push 0x1ff
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x411543
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x41151e
cmp word [ebp - 0x410], 0
mov esi, dword [ebp - 0xa20]
je 0x4116c3
push 0x1ff
lea eax, [ebp - 0xa18]
push eax
push dword [ebp - 0xa24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4116c3
cmp dword [ebp + 0xc], 1
jne 0x411645
lea eax, [ebp - 0xa18]
mov ecx, esi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00410014
test al, al
je 0x411619
push str.PodiumParent
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4115ca
push str.screenClass
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4116c3
call fcn.00410799
lea edi, [esi + 0x24]
mov dword [ebp - 0xa28], edi
cmp dword [eax + 4], 1
seta bl
cmp dword [edi + 0x18], 0
je 0x4115ec
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa24], 1
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xa1c]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18], 0
je 0x4116c3
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4116c3
push dword [ebp - 0xa1c]
mov ecx, esi
call fcn.00410d18
test al, al
je 0x4116c3
lea eax, [ebp - 0xa18]
mov ecx, esi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041010e
jmp 0x4116b9
cmp dword [ebp + 0xc], 3
jne 0x411676
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.0041010e
test al, al
je 0x4116c3
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00410014
jmp 0x4116a5
cmp dword [ebp + 0xc], 2
jne 0x4116c1
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.00410014
test al, al
je 0x4116c3
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0041010e
test al, al
jne 0x4116bd
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0040ff60
test al, al
je 0x4116c3
mov bl, 1
jmp 0x4116c3
xor bl, bl
mov al, bl
call fcn.004619e2
ret 0xc
Function at 0x4131cf
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 [0x4b5898]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.zWinRes.dll
mov edi, ecx
call fcn.004586c0
mov dword [edi], eax
mov dword [esp], str.reslib.dll
call fcn.004586c0
cmp dword [edi], 0
pop ecx
mov dword [edi + 4], eax
je 0x413359
test eax, eax
je 0x413359
push ebx
lea ebx, [edi + 8]
push ebx
push str.ReslibStartupEx
push eax
call fcn.00413122
add esp, 0xc
test al, al
je 0x413358
lea eax, [edi + 0xc]
push eax
push str.ReslibShutdown
push dword [edi + 4]
call fcn.00413122
add esp, 0xc
test al, al
je 0x413358
lea eax, [edi + 0x10]
push eax
push str.LoadStringFromRes
push dword [edi + 4]
call fcn.00413122
add esp, 0xc
test al, al
je 0x413358
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.00459ac8
mov ecx, eax
call fcn.00459c9e
cmp dword [eax + 0x14], 8
jb 0x413295
mov eax, dword [eax]
xor ecx, ecx
cmp word [eax], cx
je 0x4132b4
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 0x4132dc
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 0x4132dc
push 0x4a85c4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x20c], 0
je 0x41332d
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 [0x46a894]
call esi
pop ecx
pop ecx
test al, al
jne 0x413357
mov esi, dword [ebx]
mov ecx, esi
push 0x409
push dword [edi]
call dword [0x46a894]
call esi
pop ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004619c0
leave
ret

Function at 0x4134a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4134f5
cmp dword [ebp + 0xc], 0
jle 0x4134f5
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4134f5
push str.ZoomdataZoom.us.ini
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 0x14
neg eax
sbb al, al
inc al
jmp 0x4134f7
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004619c0
leave
ret
Function at 0x413626
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4136b7
cmp dword [ebp + 0xc], 0
jle 0x4136b7
xor edi, edi
push edi
push 0x1a
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4136b7
push 0x4a85c4
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.logs
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push str.zoomtest
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4136b7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x4136b9
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004619c0
leave
ret

Function at 0x416b56
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x416bb6
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x416bb5
cmp eax, 0x29
jne 0x416bba
cmp dword [esi + 0x10], 0
jne 0x416bb5
test dword [esi + 0x50], edx
je 0x416cb5
cmp eax, 0x5d
jne 0x416b90
test dword [esi + 0x50], edx
je 0x416ca9
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004163fb
mov ecx, esi
call fcn.00418a6c
mov ecx, esi
call fcn.00418aab
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x416b64
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x416bcb
push 5
lea ecx, [esi + 0x24]
call fcn.00418a12
jmp 0x416b9d
cmp eax, 0x5c
jne 0x416c1a
mov ecx, esi
call fcn.00418a6c
test byte [esi + 0x50], 0x80
je 0x416c11
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x416bf9
push 4
lea ecx, [esi + 0x24]
call fcn.00418a12
mov ecx, esi
call fcn.00418a6c
jmp 0x416bab
cmp eax, 0x42
jne 0x416c11
push 4
lea ecx, [esi + 0x24]
call fcn.00418a12
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x416bf0
mov ecx, esi
call fcn.00416cbf
jmp 0x416ba4
cmp eax, 0x5b
jne 0x416c3d
mov ecx, esi
call fcn.00418a6c
mov ecx, esi
call fcn.004172a0
push 4
push 0x5d
mov ecx, esi
call fcn.00418145
jmp 0x416ba4
cmp eax, 0x28
jne 0x416c6a
mov ecx, esi
call fcn.00418a6c
mov ecx, esi
call fcn.0041903f
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00418145
test bl, bl
je 0x416bab
jmp 0x416ba4
cmp eax, 0x5e
jne 0x416c76
push 2
jmp 0x416be8
cmp eax, 0x24
jne 0x416c82
push 3
jmp 0x416be8
cmp eax, 0x2a
je 0x416cad
cmp eax, 0x2b
je 0x416cad
cmp eax, 0x3f
je 0x416cad
cmp eax, 0x7b
je 0x416cad
cmp eax, 0x7d
jne 0x416b82
test dword [esi + 0x50], edx
je 0x416cb1
jmp 0x416b90
push 4
jmp 0x416cb7
push 0xa
jmp 0x416cb7
push 6
jmp 0x416cb7
push 5
mov ecx, esi
call fcn.004180fe
int3
Function at 0x422dec
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.004573a1
pop ecx
pop ecx
cmp eax, 0x3e
jl 0x422e4a
mov eax, dword [esi + 0x13c]
cmp dword [eax], 2
je 0x422e4a
cmp dword [eax], 3
je 0x422e4a
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 0x422e45
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
call dword [0x46a894]
call dword [ebp + 8]
test eax, eax
je 0x422e45
inc esi
cmp esi, 0x7d0
jb 0x422e18
mov al, 1
pop edi
jmp 0x422e5d
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 0x42425a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b5898]
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 0x4242ea
push ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4242ea
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 0x4242ea
mov al, 1
jmp 0x4242ec
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004619c0
leave
ret 8

Function at 0x4244a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x210]
mov ecx, dword [esi + 0x13c]
call fcn.0043b602
test al, al
jne 0x424501
push dword [ebp - 0x210]
mov ecx, dword [esi + 0x13c]
call fcn.0043b55f
test al, al
je 0x424541
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push str.SharePreviewWnd
push eax
call fcn.00456f48
pop ecx
pop ecx
test al, al
jne 0x424545
xor al, al
jmp 0x424547
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004619c0
leave
ret 4
Function at 0x42e9c9
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b5898]
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 0x42eb0b
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 0x42eb07
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 0x42eb07
push str.MagInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagUninitialize
push dword [esi + 0x28]
mov dword [esi + 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetColorEffect
push dword [esi + 0x28]
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowSource
push dword [esi + 0x28]
mov dword [esi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowTransform
push dword [esi + 0x28]
mov dword [esi + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetWindowFilterList
push dword [esi + 0x28]
mov dword [esi + 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MagSetImageScalingCallback
push dword [esi + 0x28]
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xe4], eax
cmp dword [esi + 0xcc], edi
je 0x42eb00
cmp dword [esi + 0xd0], edi
je 0x42eb00
cmp dword [esi + 0xd8], edi
je 0x42eb00
cmp dword [esi + 0xe0], edi
je 0x42eb00
cmp dword [esi + 0xdc], edi
je 0x42eb00
test eax, eax
jne 0x42eb0b
mov ecx, esi
call fcn.0042e427
xor al, al
jmp 0x42eb0d
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004619c0
leave
ret
Function at 0x43081b
Capabilities:
Get common file path

Disassembly:
push 0xafc
mov eax, 0x467192
call fcn.00461a9f
mov dword [ebp - 0xad8], ecx
mov dword [ebp - 0x220], ecx
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0xae4], esi
push 0x208
push ebx
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x430897
push 0x46ec7c
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0xae4], eax
mov eax, ebx
mov dword [ebp - 0xadc], ebx
test esi, esi
je 0x430a87
mov edi, ebx
mov dword [ebp - 0xae0], edi
mov dword [ebp - 4], ebx
push str.Direct3DCreate9
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4308d8
push 0x20
mov ecx, esi
call dword [0x46a894]
call esi
mov edi, eax
mov dword [ebp - 0xae0], edi
or dword [ebp - 4], 0xffffffff
jmp 0x430904
test edi, edi
je 0x430a75
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x46a894]
call esi
mov dword [ebp - 0xadc], eax
mov ecx, ebx
mov dword [ebp - 0xad8], ecx
mov eax, dword [ebp - 0x220]
add eax, 8
mov dword [ebp - 0xb00], eax
mov esi, dword [edi]
lea eax, [ebp - 0x66c]
push eax
push ebx
push ecx
push edi
mov ecx, dword [esi + 0x14]
call dword [0x46a894]
call dword [esi + 0x14]
mov esi, eax
mov dword [ebp - 0xafc], ebx
mov dword [ebp - 0xaec], ebx
mov dword [ebp - 0xae8], ebx
mov dword [ebp - 0xaec], ebx
mov dword [ebp - 0xae8], 0xf
mov byte [ebp - 0xafc], bl
lea ecx, [ebp - 0x26c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430984
sub ecx, edx
push ecx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0xafc]
call fcn.0040d2a0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0xafc]
push eax
lea ecx, [ebp - 0xad0]
call fcn.0042efdd
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xae8]
cmp eax, 0x10
jb 0x430a13
inc eax
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0xafc]
mov dword [ebp - 0xad4], ecx
cmp eax, 0x1000
jb 0x430a0a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xad4]
push eax
call fcn.00402710
pop ecx
pop ecx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xad4]
push eax
push ecx
call fcn.00461bf2
pop ecx
pop ecx
mov dword [ebp - 0xaec], ebx
mov dword [ebp - 0xae8], 0xf
mov byte [ebp - 0xafc], bl
lea eax, [ebp - 0xad0]
push eax
lea eax, [ebp - 0xb08]
push eax
mov ecx, dword [ebp - 0xb00]
call fcn.0042f1c2
inc dword [ebp - 0xad8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.0040cfb0
test esi, esi
mov ecx, dword [ebp - 0xad8]
je 0x430939
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x46a894]
call esi
push dword [ebp - 0xae4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xadc]
call fcn.004619f1
ret
Function at 0x431f9d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4b5898]
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.0043237d
push 1
push 0
push 1
push 0
mov esi, eax
push 1
push ebx
mov ecx, esi
call fcn.0045d5b4
push dword [ebp - 0x98]
mov ecx, esi
mov bl, al
call fcn.0045c91a
test bl, bl
je 0x43212c
test al, al
jne 0x43212c
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 ebx
push ebx
push ebx
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x432096
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xb4], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0xb0], ecx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x43211c
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], str.open
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x84], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43211c
cmp dword [ebp - 0x74], 0x20
jle 0x43211c
mov esi, dword [ebp - 0xa0]
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
inc ebx
push eax
mov dword [esi + 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0xa4]
and dword [eax], 0
cmp edi, 0xffffffff
je 0x432128
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x43213a
cmp edi, 0xffffffff
je 0x432138
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.004619c0
leave
ret 0x14
Function at 0x4322c3
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 0x432336
mov cl, byte [esi + 0x10]
mov ebx, dword [ebx + 0x174]
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 + 0x174]
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 + 0x174], 4
je 0x432331
or al, 0x80
jmp 0x432333
and al, 0x7f
mov byte [esi + 0x12], al
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43233f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
call fcn.00432366
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