joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4780f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
push edi
mov edi, eax
movzx eax, word [esi]
cmp eax, 0x41
je 0x478101
cmp eax, 0x61
jne 0x47815b
cmp word [esi + 2], 0
jne 0x47815b
mov eax, dword [esp + 0x10]
cmp word [eax], 0
jne 0x47815b
cmp word [ebx], 0
jne 0x47815b
cmp word [edi], 0
jne 0x47815b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
test ebp, ebp
je 0x47815b
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xea], 0
jne 0x478142
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47815b
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x478156
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebp
pop edi
pop ebp
ret
mov eax, dword [esp + 0x14]
test al, al
jne 0x47818f
cmp word [esi], 0
jne 0x47818f
mov edx, dword [esp + 0x10]
cmp word [edx], 0
jne 0x47818f
cmp word [ebx], 0
jne 0x47818f
cmp word [edi], 0
jne 0x47818f
mov eax, dword [esp + 0xc]
call fcn.00478950
test eax, eax
jne 0x4781b4
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x1c]
push ebx
mov ecx, edi
mov edi, dword [esp + 0x24]
push eax
mov edx, esi
call fcn.00478750
add esp, 0x18
jmp 0x478188
pop edi
pop ebp
jmp fcn.00478220
Function at 0x478220
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x47822f
pop edi
add esp, 0x10
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push esi
push 0
push edi
call ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, dword [0x4ca5c0]
je 0x47825a
mov esi, edi
call fcn.004792e0
test al, al
jne 0x4783f2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x478274
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp edi, esi
jne 0x478282
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x10
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x478296
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4c85ca], 0
jne 0x4782b0
push esi
call fcn.004781c0
add esp, 4
test eax, eax
jne 0x4783f4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x47830d
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x47830d
cmp dword [0x4ca5c0], ebx
je 0x4782f4
call fcn.004792e0
test al, al
jne 0x4782f4
mov eax, dword [0x4ca5c0]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x47830d
cmp ebx, ebp
je 0x47830d
push 1
push ebp
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
jmp 0x478320
push edi
call ebx
push 1
push 0xa
mov dword [0x4c48b4], 0
call fcn.00401360
add esp, 8
mov dword [0x4c48b4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x478353
mov ebp, edi
jmp 0x478364
cmp ebp, esi
je 0x478368
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x478368
test ebp, ebp
jne 0x4783a9
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x478320
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040f350
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040f350
push esi
call fcn.004781c0
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x4783c4
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4ca5c0]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x4783dd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x4783f2
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
Function at 0x4784f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x478500
mov eax, esi
call fcn.00454570
jmp 0x47850d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x478568
je 0x478568
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401360
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x478565
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x478565
push 1
push 0x8000012f
call fcn.00401360
add esp, 8
push esi
call ebx
test eax, eax
jne 0x478544
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x478750
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00499300
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x47877c
cmp ecx, 0x61
jne 0x4787d1
cmp word [edx + 2], bx
jne 0x4787d1
cmp word [edi], bx
jne 0x4787d1
cmp word [eax], bx
jne 0x4787d1
cmp word [esi], bx
jne 0x4787d1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x4787b2
cmp byte [ebp + 0xea], bl
jne 0x4787b2
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4787b2
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x4787c5
cmp esi, ebx
je 0x4787c5
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x4787f6
cmp word [edi], bx
jne 0x4787f6
cmp word [eax], bx
jne 0x4787f6
cmp word [esi], bx
jne 0x4787f6
mov eax, ebp
call fcn.00478950
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4ac2b4
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00479420
test eax, eax
je 0x478907
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x478913
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x4788df
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478907
cmp byte [ebp + 0xea], bl
jne 0x4788d8
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4788d8
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x478907
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x4788f8
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00479880
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00479940
test eax, eax
jne 0x478923
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x4789c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x47893d
cmp eax, ebx
je 0x47893d
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x479880
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x47993e
mov eax, dword [esi]
test eax, eax
je 0x47993e
push edi
test al, 1
jne 0x4798aa
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4798c6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4798c6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x4798e1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x47991f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x47991f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.00450020
add esp, 4
test eax, eax
jne 0x47991f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x47993e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x47a180
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.00499300
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47a22d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x47a8c0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4ac2b4
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47a22d
mov ecx, dword [0x4c49ac]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47a22d
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x47a240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47a25c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4c49ac]
push eax
push esi
mov ecx, edi
call fcn.0047a700
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x47a293
test eax, eax
jne 0x47a297
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.0047a350
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x47a316
test esi, esi
je 0x47a316
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401360
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x47a2f5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x47a2f5
push 1
push 0x8000012f
call fcn.00401360
add esp, 8
push esi
call edi
test eax, eax
jne 0x47a2d0
mov edx, dword [0x4c49ac]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47a30e
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x47a330
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.0047a350
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.0047a4d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x47a4d0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00499300
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x47a650
xor cl, cl
mov eax, edi
call fcn.0047a670
test eax, eax
jne 0x47a505
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c49ac]
push eax
push ebp
mov ecx, edi
call fcn.0047a700
test eax, eax
je 0x47a528
xor eax, eax
mov dword [0x4ca5b8], eax
jmp 0x47a52d
mov eax, dword [0x4ca5b8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4ac2b4
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x47a573
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47a57b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4ca5b4]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x47a7d0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x47a628
lea ecx, [esp + 0x10]
push ecx
push 0x479230
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x47a5e5
mov edx, dword [esp + 0x1848]
call fcn.00479e10
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00478220
mov edx, dword [esp + 0x1848]
call fcn.00479e10
mov edx, dword [0x4c49ac]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47a650
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4ca5b8]
cmp eax, ebx
je 0x47a650
cmp eax, 1
setg al
mov dword [0x4ca5b8], ebx
cmp al, bl
je 0x47a650
mov edx, ebp
call fcn.00479e10
push ebx
mov ecx, edi
call fcn.0047a4d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x4943d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3d70]
jne 0x4943e0
repz ret
jmp fcn.00498d2f

Function at 0x4970c0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3d70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00491592
and dword [ebp - 0x14], 0
cmp dword [0x4c6bfc], 0
mov dword [ebp - 0x18], eax
jne 0x497173
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49721b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a0fe8
push ebx
call edi
test eax, eax
je 0x49721b
mov esi, dword [fcn.0048d820]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c6bfc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c6c00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c6c04], eax
call edi
push eax
call esi
mov dword [0x4c6c0c], eax
test eax, eax
je 0x497173
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c6c08], eax
mov eax, dword [0x4c6c08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048d824]
cmp eax, ecx
je 0x4971cc
cmp dword [0x4c6c0c], ecx
je 0x4971cc
push eax
call esi
push dword [0x4c6c0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4971cc
test ebx, ebx
je 0x4971cc
call edi
test eax, eax
je 0x4971c3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4971c3
test byte [ebp - 8], 1
jne 0x4971cc
or dword [ebp + 0x10], 0x200000
jmp 0x4971ff
mov eax, dword [0x4c6c00]
cmp eax, dword [ebp - 0x18]
je 0x4971ff
push eax
call esi
test eax, eax
je 0x4971ff
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4971ff
mov eax, dword [0x4c6c04]
cmp eax, dword [ebp - 0x18]
je 0x4971ff
push eax
call esi
test eax, eax
je 0x4971ff
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c6bfc]
call esi
test eax, eax
je 0x49721b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49721d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004943d6
leave
ret

Function at 0x408975
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.0040898e
push ebx
pop esi
xor dword [eax], edx
inc eax
cmp eax, edi
jne fcn.00408975
ret
Function at 0x4020d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x409008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x488], eax
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x488], edi
shr edi, 4
lea ebx, [edi + 1]
shl ebx, 4
mov dword [ebp - 0x494], ebx
lea eax, [ebx + 1]
push eax
mov dword [ebp - 0x490], eax
call fcn.00403406
mov ecx, eax
lea eax, [ebx + 1]
push eax
push 0
push ecx
mov dword [ebp - 0x48c], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x40215a
mov esi, dword [esi]
mov edx, dword [ebp - 0x48c]
mov ecx, edx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x402164
mov ecx, dword [ebp - 0x488]
mov eax, 0x10
and ecx, 0xf
sub eax, ecx
test eax, eax
jle 0x4021ab
shl edi, 4
add edi, ecx
mov ecx, eax
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
add edi, edx
mov edx, dword [ebp - 0x48c]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx + edx], 0
mov ebx, dword [ebp - 0x490]
push ebx
call fcn.00403406
push ebx
mov edi, eax
push 0
push edi
mov dword [ebp - 0x488], edi
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x480], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0x484]
mov dword [ebp - 4], 0
call fcn.00401690
mov bl, byte [ebp - 0x480]
test bl, bl
je 0x4022ce
mov eax, dword [ebp - 0x494]
test eax, eax
je 0x4022ce
mov ecx, dword [ebp - 0xb8]
xor edx, edx
div ecx
test edx, edx
jne 0x4022ce
mov esi, dword [ebp - 0x48c]
mov dword [ebp - 0x490], edx
test eax, eax
je 0x4022c8
nop dword [eax + eax]
lea edx, [ebp - 0x90]
test bl, bl
je 0x402272
xor eax, eax
test ecx, ecx
jle 0x402272
mov cl, byte [eax + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, dword [ebp - 0xb8]
jl 0x402260
push edi
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x484]
call fcn.004013e0
push dword [ebp - 0xb8]
lea eax, [ebp - 0x90]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xb8]
xor edx, edx
mov eax, dword [ebp - 0x494]
add esp, 0xc
div ecx
mov ebx, dword [ebp - 0x490]
add esi, ecx
inc ebx
add edi, ecx
mov dword [ebp - 0x490], ebx
cmp ebx, eax
jae 0x4022c8
mov bl, byte [ebp - 0x480]
jmp 0x402250
mov edi, dword [ebp - 0x488]
push dword [ebp - 0x494]
mov ecx, dword [ebp - 0x498]
mov edx, edi
call fcn.00401a70
push dword [ebp - 0x48c]
call fcn.00403401
push edi
call fcn.00403401
mov eax, dword [ebp - 0x498]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402ef4
mov esp, ebp
pop ebp
ret
Function at 0x4024a0
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x407b78
push 0x4033de
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x409008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x20], 0
mov eax, dword fs:[0x30]
mov al, byte ds:[eax + 2]
mov byte [ebp - 0x19], al
mov eax, dword fs:[0x30]
mov eax, dword ds:[eax + 0x68]
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x19], 0
jne 0x402534
cmp dword [ebp - 0x20], 0x70
je 0x402534
mov dword [ebp - 4], 0
call fcn.00404000
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x41a086
Capabilities:
Authenticate hmac

Disassembly:
mov dword [edx + 0x67], esi
mov edx, 0xcee41f71
mov ch, 0xe6
retf 0x4775
cmpsb byte [esi], byte es:[edi]
shr byte [esi + 0x15], 0x27
pop esp
mov word [ebx - 0x24], gs
clc
out 0x36, eax
fimul word [ebp + 0x56]
xor dword [edi - 0x28], esi
cmp esi, ebx
or eax, 0x63947af3
js 0x41a071
and byte [0x43c296c0], dl
cmp eax, dword [ecx]
push cs
test byte [esi + 0x79af0cba], bl
and byte [edi - 0xc313762], 0xf8

Function at 0x41c17a
Capabilities:
Encode data using xor

Disassembly:
mov fs, word [edx]
pop edx
mov eax, 0x87a10aba
mov esp, 0xa8775916
sbb al, 0xef
lds esi, [ebx + edx]
xor al, 0x13
shr byte [ebx - 0x6c], 0xa
sti
sub byte [ebx + 0x33], bh
sar byte [ebx - 0x7e], 0xad
dec esi
stc
invalid
jcxz 0x41c197
jecxz 0x41c12d
xchg edx, eax
jno 0x41c13e
test al, 0x19
xor dword [edx + edx*2], esi
fidivr word [ebp + 0x22]
je 0x41c19b
fadd st(0)
mov word [ebx + 0x4e88608a], es
push edx
jecxz 0x41c1d1
inc ecx
push esp
or dword [ecx], esi
fcom st(5)
invalid
invalid
Function at 0x42480b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44863b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x46a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0041327d
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.0041327d
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call fcn.0041327d
mov al, byte [edi + 0x48]
lea ecx, [esi + 0x4c]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
lea eax, [edi + 0x4c]
push eax
call fcn.0041327d
lea ebx, [edi + 0x64]
lea eax, [esi + 0x64]
cmp eax, ebx
je 0x42489d
mov ecx, eax
call fcn.00413345
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x6c], eax
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
lea ebx, [edi + 0x70]
lea eax, [esi + 0x70]
cmp eax, ebx
je 0x4248c9
mov ecx, eax
call fcn.00413310
mov eax, dword [ebx]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov al, byte [edi + 0x7c]
lea ecx, [esi + 0x80]
mov byte [esi + 0x7c], al
lea eax, [edi + 0x80]
push eax
call fcn.0041327d
lea eax, [edi + 0x98]
push eax
lea ecx, [esi + 0x98]
call fcn.0041327d
lea eax, [edi + 0xb0]
push eax
lea ecx, [esi + 0xb0]
call fcn.0041327d
mov al, byte [edi + 0xc8]
lea ecx, [esi + 0xcc]
mov byte [esi + 0xc8], al
lea eax, [edi + 0xcc]
push eax
call fcn.0041327d
lea eax, [edi + 0xe4]
push eax
lea ecx, [esi + 0xe4]
call fcn.0041327d
lea eax, [edi + 0xfc]
push eax
lea ecx, [esi + 0xfc]
call fcn.0041327d
mov eax, dword [edi + 0x118]
lea ecx, [esi + 0x120]
mov dword [esi + 0x118], eax
mov eax, dword [edi + 0x11c]
mov dword [esi + 0x11c], eax
lea eax, [edi + 0x120]
push eax
call fcn.0041327d
lea ebx, [esi + 0x138]
lea eax, [edi + 0x138]
cmp ebx, eax
je 0x4249a2
mov ecx, ebx
call fcn.0041349b
mov ecx, dword [ebx]
lea edx, [edi + 0x138]
mov eax, dword [edx]
mov dword [ebx], eax
mov dword [edx], ecx
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 4]
mov dword [ebx + 4], eax
mov dword [edx + 4], ecx
mov al, byte [edi + 0x140]
lea ecx, [esi + 0x148]
mov byte [esi + 0x140], al
mov al, byte [edi + 0x141]
mov byte [esi + 0x141], al
mov al, byte [edi + 0x142]
mov byte [esi + 0x142], al
mov al, byte [edi + 0x143]
mov byte [esi + 0x143], al
mov al, byte [edi + 0x144]
mov byte [esi + 0x144], al
mov al, byte [edi + 0x145]
mov byte [esi + 0x145], al
lea eax, [edi + 0x148]
push eax
call fcn.0041327d
mov al, byte [edi + 0x160]
lea ecx, [esi + 0x164]
mov byte [esi + 0x160], al
lea eax, [edi + 0x164]
push eax
call fcn.0041327d
lea eax, [edi + 0x17c]
push eax
lea ecx, [esi + 0x17c]
call fcn.00426add
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4