joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x404d14
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x404cd7
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x404ce7
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
inc edi
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx - 1], al
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x404cb7
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404cd7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x404cd7
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x404cbf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00404dc1
jmp 0x404cae
Function at 0x41eb05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
push ebx
call fcn.0040c4cd
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push 0x49dc54
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x474b17
xor al, al
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push 0x49dc44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b91
mov eax, dword [ebp - 4]
push esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042010a
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00404bce
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push 0x49dc44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b88
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 4], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00407e53
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00404fd2
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x41eb37

Function at 0x41f1c4
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c10c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.004235c3
pop ecx
push eax
call fcn.004233f5
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040d2c0
test al, al
jne 0x474ba1
lea ecx, [ebp - 0x18]
call fcn.0040a6d4
mov ecx, edi
call fcn.004084a6
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0041f26b
push dword [ebp - 0x18]
push 0x4aec3c
push esi
call fcn.004237bc
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x474bc1
lea ecx, [ebp - 0x18]
call fcn.00405cd3
mov edi, dword [ebp - 8]
push esi
call fcn.00423981
pop ecx
cmp ebx, 0xffffffff
je 0x474bd8
push ebx
push esi
call fcn.004235c3
pop ecx
push eax
call fcn.004233f5
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push esi
mov ecx, edi
call fcn.0044be8a
push eax
push 1
call fcn.0044be47
push eax
call fcn.0042373e
add esp, 0x10
mov edi, eax
jmp 0x41f244
mov ecx, edi
call fcn.004084a6
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41f239
push 0x4000
jmp 0x41f255
Function at 0x41f78e
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 0x47437b
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x474390
push edi
push 0x4b3654
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4743a4
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 0x47447f
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 0x47445b
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 0x474460
push 4
jmp 0x47445d
push 3
pop ebx
jmp 0x474463
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 0x474482
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x41f7ac
Function at 0x4346d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4badc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00428b9c
mov dword [ebp - 0x14], eax
cmp dword [0x4c1048], edi
jne 0x4347c1
push 0x800
push edi
push 0x49ba38
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43474e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4348a1
push 0x49ba38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4348a1
push 0x49ba50
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4348a1
push eax
call ebx
push 0x49ba5c
push esi
mov dword [0x4c1048], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49ba6c
push esi
mov dword [0x4c104c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49ba80
push esi
mov dword [0x4c1050], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c1058], eax
test eax, eax
je 0x4347be
push 0x49ba9c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c1054], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4347e6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4347d9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4347fb
push 4
pop eax
jmp 0x4348a3
cmp dword [ebp - 0x14], edi
je 0x4347fb
push dword [0x4c1048]
call dword [0x4ba004]
push 3
jmp 0x4347e0
mov eax, dword [0x4c1054]
mov ebx, dword [0x4ba004]
cmp eax, esi
je 0x434859
cmp dword [0x4c1058], esi
je 0x434859
push eax
call ebx
push dword [0x4c1058]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x434859
test eax, eax
je 0x434859
call ecx
test eax, eax
je 0x43484e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43484e
test byte [ebp - 8], 1
jne 0x434859
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x434889
mov eax, dword [0x4c104c]
cmp eax, esi
je 0x434886
push eax
call ebx
test eax, eax
je 0x434886
call eax
mov edi, eax
test edi, edi
je 0x434886
mov eax, dword [0x4c1050]
cmp eax, esi
je 0x434886
push eax
call ebx
test eax, eax
je 0x434886
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c1048]
call ebx
test eax, eax
je 0x4348a1
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4348a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b4bf
leave
ret
Function at 0x43aee5
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call fcn.0040d3d2
lea ecx, [ebp - 0x20]
call fcn.0040d3d2
lea ecx, [ebp - 0x40]
call fcn.0040d3d2
push 0x4b28ec
lea ecx, [ebp - 0x30]
call fcn.00407e53
push esi
lea ecx, [ebp - 0x30]
call fcn.004039e8
push 0x4b2910
lea ecx, [ebp - 0x30]
call fcn.004039e8
lea ecx, [ebp - 0x20]
call fcn.0040c4cd
test edi, edi
je 0x43af68
push 0x5c
pop eax
cmp word [edi], ax
je 0x43af68
cmp word [edi + 2], ax
je 0x43af68
push 0x4b2920
lea ecx, [ebp - 0x20]
call fcn.00407e53
push edi
lea ecx, [ebp - 0x20]
call fcn.004039e8
cmp dword [ebp + 0xc], ebx
je 0x43afb9
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00421970
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
call fcn.0040c935
push 0x4b2928
lea ecx, [ebp - 0x40]
call fcn.004039e8
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x43b045
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x43b045
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x43b040
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43b03b
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.00405cd3
lea ecx, [ebp - 0x20]
call fcn.00405cd3
lea ecx, [ebp - 0x30]
call fcn.00405cd3
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x43b7ef
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
xor ebx, ebx
push ebx
push dword [eax]
mov edi, ecx
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43b846
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43b849
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x43b849
push esi
push dword [esi]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43b849
xor ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x4476db
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov edi, ecx
push eax
push edi
mov ebx, edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x447700
xor al, al
jmp 0x4478a8
push esi
call fcn.0042010a
pop ecx
push eax
mov dword [ebp - 4], eax
push esi
xor eax, eax
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov esi, dword [ebp + 8]
push esi
call fcn.004218fb
xor ecx, ecx
push 2
add eax, 0x1a
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042010a
mov edi, eax
push 0x49dc88
push edi
call fcn.00421943
push 0x49dc88
push esi
call fcn.00422203
add esp, 0x18
test eax, eax
je 0x4477ec
push 0x4b3704
push edi
call fcn.00421914
push 0x49dc88
push esi
call fcn.00422633
add esp, 0x10
test eax, eax
jne 0x4477e3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b3724
push dword [ebp - 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4477bf
mov eax, dword [ebp - 0x10]
push 0
mov esi, dword [eax]
push esi
push 4
lea ecx, [edi + 0x20]
pop edx
call fcn.0040ca32
push 0
shr esi, 0x10
push esi
push 4
lea ecx, [edi + 0x28]
pop edx
call fcn.0040ca32
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x4477cc
push 0x4b3758
push edi
call fcn.00421914
pop ecx
pop ecx
push 0x49dc88
push edi
call fcn.00421914
push esi
push edi
call fcn.00421914
add esp, 0x10
jmp 0x4477ec
push esi
push edi
call fcn.00421914
pop ecx
pop ecx
push 0x4b376c
push esi
call fcn.00421bc7
pop ecx
pop ecx
test eax, eax
jne 0x447827
push 8
lea eax, [edi + 0x20]
push eax
push ebx
call fcn.00422c1d
push dword [ebp - 4]
xor eax, eax
mov word [ebx + 0x10], ax
call fcn.0042017e
push edi
call fcn.0042017e
add esp, 0x14
mov al, 1
jmp 0x4478a8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x447895
push 0x49dc88
push esi
call fcn.00422203
pop ecx
pop ecx
test eax, eax
jne 0x447877
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
movzx eax, dx
shr ecx, 0x10
push ecx
push eax
shr edx, 0x10
push edx
push 0x4b3794
push ebx
call fcn.0042234b
add esp, 0x18
jmp 0x447891
push 0x200
push dword [ebp - 8]
push ebx
call fcn.00422c1d
add esp, 0xc
xor eax, eax
mov word [ebx + 0x400], ax
mov byte [ebp - 0xc], 1
push dword [ebp - 4]
call fcn.0042017e
push edi
call fcn.0042017e
mov al, byte [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4478ee
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4479b1
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4479b1
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x44794e
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x447945
cmp esi, ecx
jle 0x447961
push 0x4b37c0
push edi
call fcn.00421943
pop ecx
pop ecx
jmp 0x4479a9
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.0041faa0
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00423220
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00448553
mov esi, eax
push esi
push edi
call fcn.00421943
push esi
call fcn.0042017e
add esp, 0x14
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x4479be
push 0x49dbf0
push edi
call fcn.00421943
pop ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x447c0c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447c1f
test al, 0x10
je 0x447c1f
mov al, 1
ret
xor al, al
ret

Function at 0x447c45
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c34d9], 0
test edi, edi
je 0x447c97
mov byte [0x4c34da], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x448097
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.00422e57
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x447cc2
push 0xffffffffffffffff
push esi
mov byte [0x4c34da], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4c34d9], 1
jne 0x447cd0
or eax, 0xffffffff
jmp 0x447cd2
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4482d0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push 0x4b3878
lea ecx, [ebp - 0x10]
mov esi, edx
call fcn.00446937
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043bec3
test al, al
jne 0x4482fa
xor esi, esi
jmp 0x448347
cmp ebx, 0x20
je 0x448339
cmp ebx, 0x40
je 0x448335
test bl, 0xb
jne 0x448314
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x448345
xor ecx, ecx
test bl, 0x14
je 0x44831c
inc ecx
xor eax, eax
test bl, 2
je 0x448324
inc eax
push esi
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x448345
xor eax, eax
jmp 0x44833c
xor eax, eax
inc eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0043b8b0
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x448355
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
test esi, esi
js 0x4483d3
jne 0x448368
push 0
jmp 0x4483cd
cmp esi, 0xf
jae 0x4483cc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4483cc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild qword [ebp - 0x28]
fstp qword [ebp - 0x20]
fdiv qword [ebp - 0x20]
fmul qword [0x4b2760]
call fcn.00471e16
cmp eax, esi
jb 0x448385
jmp 0x4483d3
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
leave
ret

Function at 0x4484f4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x44854f
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x44bf19
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4bf7e0]
jne 0x44bf2b
call fcn.0044bfb8
mov eax, dword [0x4c34f0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c34f0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x44bf6e
fadd qword [0x4b6568]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4b6538]
leave
ret

Function at 0x44bf7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4c34f8], ecx
mov edx, esi
mov ecx, 0x4c34f8
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
add ecx, 4
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx], eax
inc edx
cmp ecx, 0x4c3eb4
jl 0x44bf8d
mov dword [0x4bf7e0], esi
mov dword [0x4c34e4], esi
pop esi
ret

Function at 0x44bfb8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c34e4], 0
push ebx
push esi
push edi
mov esi, 0x4c34f8
jne 0x44bfd8
push 0
call fcn.004240da
pop ecx
mov ecx, eax
call fcn.0044bf7c
mov dword [0x4bf7e0], 0x270
mov dword [0x4c34f0], esi
mov edi, 0xe3
mov ebx, 0x9908b0df
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x44bff2
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x44c023
mov ecx, dword [0x4c34f8]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
xor eax, dword [esi]
and edx, ebx
shr eax, 1
xor eax, dword [esi - 0x38c]
pop edi
xor eax, edx
mov dword [esi], eax
pop esi
pop ebx
ret

Function at 0x44c4d4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x44c4f9
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041faa0
add esp, 0xc
jmp 0x44c50c
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004244ae
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4b3970
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
mov byte [ebp - 4], 0
call fcn.00424560
pop ecx
neg eax
pop ecx
sbb eax, eax
neg eax
pop esi
leave
ret 4