joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b3f
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.00430650
push ebx
push esi
mov esi, edx
xor ebx, ebx
lea edx, [ebp - 0x640]
mov byte [ebp - 1], bl
call fcn.004031b8
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.004031b8
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x640]
call fcn.00447b9f
lea ecx, [ebp - 0x640]
mov byte [ebp - 3], al
call fcn.00447c0c
mov esi, 0x4b37ac
test al, al
je 0x446ba4
lea eax, [ebp - 0x640]
push esi
push eax
call fcn.00421914
pop ecx
pop ecx
lea ecx, [ebp - 0x850]
call fcn.00447c0c
test al, al
je 0x446bc2
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.00421914
pop ecx
pop ecx
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0xca8]
push eax
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.0042297d
add esp, 0x14
lea eax, [ebp - 0xaa0]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x446d5d
cmp al, 1
jne 0x446d5d
test byte [ebp - 0xaa0], 0x10
jne 0x446d2f
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea edx, [ebp - 0xca8]
lea ecx, [ebp - 0xa74]
call fcn.00447334
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00421943
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00421914
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00421914
add esp, 0x18
lea ecx, [ebp - 0x430]
call fcn.0041dd84
test al, al
je 0x446cc2
cmp byte [ebp + 8], bl
je 0x446d52
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x430]
push eax
je 0x446ce3
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x430]
jne 0x446d18
cmp byte [ebp - 3], bl
jne 0x446cf6
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x446d27
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x446d60
jmp 0x446d2b
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x446d52
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x446d27
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x446d52
mov byte [ebp - 1], 1
lea eax, [ebp - 0xaa0]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x446c0e
mov al, bl
mov byte [ebp - 2], al
jmp 0x446c0e
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x446d69
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x446d6d
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov edx, ecx
push ebx
push esi
push 0x104
lea ecx, [ebp - 0x20c]
call fcn.00403b1e
lea eax, [ebp - 0x20c]
push eax
call fcn.004218fb
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x446db3
cmp word [ebp + eax*2 - 0x20e], bx
jne 0x446db3
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x446e40
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x446de7
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x446dec
mov al, 1
jmp 0x446e46
cmp eax, 3
jne 0x446e44
lea ecx, [ebp - 0x20c]
call fcn.00403bcf
mov esi, eax
push ebx
push esi
call fcn.00423174
pop ecx
pop ecx
test eax, eax
jne 0x446e0f
push esi
call fcn.0042017e
pop ecx
jmp 0x446e44
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.00446d6d
push esi
mov bl, al
call fcn.0042017e
pop ecx
test bl, bl
je 0x446e3c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x446e46
test al, 0x10
jne 0x446de3
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x446e4a
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x678
push ebx
xor ebx, ebx
push esi
lea edx, [esp + 0x18]
mov byte [esp + 0xf], bl
call fcn.004031b8
lea ecx, [esp + 0x18]
call fcn.00447c0c
test al, al
je 0x446e85
lea eax, [esp + 0x18]
push 0x4b37ac
push eax
call fcn.00421914
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042297d
add esp, 0x14
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x446f38
cmp al, 1
jne 0x446f38
test byte [esp + 0x228], 0x10
jne 0x446f19
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00421943
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00421914
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00421914
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x446f3c
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x446ec1
mov al, bl
mov byte [esp + 0xe], al
jmp 0x446ec1
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446f5b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 2
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x234], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov esi, dword [ebp + 8]
mov ecx, ebx
mov byte [esi], 0
call fcn.004479c2
mov ebx, eax
jmp 0x44701c
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp eax, 1
jne 0x447021
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042297d
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00421914
push dword [ebp - 8]
lea eax, [ebp - 0x438]
push eax
call fcn.00421bc7
add esp, 0x24
test eax, eax
jne 0x447006
mov eax, dword [ebp - 0x22c]
jmp 0x447014
test ebx, ebx
je 0x44701c
mov eax, dword [ebp - 0x22c]
cmp ebx, eax
jne 0x44701c
mov ecx, dword [ebp - 4]
mov byte [esi], 1
mov dword [ecx], eax
cmp byte [esi], 0
je 0x446fa4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x44702f
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
mov ebx, edx
push eax
push ecx
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edx, eax
mov dword [ebp - 8], edx
cmp edx, 0xffffffff
jne 0x447060
xor al, al
jmp 0x4470a9
push 0xa
pop ecx
xor eax, eax
push esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x44705c
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4470ae
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c236c]
sub esp, 0x1c
cmp byte [eax + 0x25], 0
jne 0x4470c6
mov eax, 0x80004005
leave
ret
push ebx
push esi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447129
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
test esi, esi
jne 0x447130
mov eax, 0x80004005
jmp 0x447138
xor eax, eax
cmp byte [ebp - 0x14], al
setne al
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 str.0.0.0.0
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 0x447e6f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.004031b8
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.004031b8
lea ecx, [ebp - 0x438]
call fcn.00447c0c
test al, al
jne 0x447ea9
xor al, al
jmp 0x448049
lea ecx, [ebp - 0x22c]
call fcn.00447c0c
xor esi, esi
test al, al
je 0x447f7b
cmp byte [ebp + 8], 0
je 0x447ea2
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x447f1a
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422203
pop ecx
pop ecx
test eax, eax
je 0x447f13
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
setne al
jmp 0x448049
mov al, 1
jmp 0x448049
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.0042297d
lea eax, [ebp - 0x22c]
push 0x49dc88
push eax
call fcn.00421914
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00421914
add esp, 0x24
cmp word [ebp - 0x63c], si
je 0x447f7b
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00421914
pop ecx
pop ecx
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.00447b9f
test al, al
je 0x447fc0
push 1
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.004469f9
pop ecx
test al, al
je 0x447ea2
mov dl, 1
lea ecx, [ebp - 0x438]
call fcn.00448245
test al, al
jmp 0x447f0b
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422203
pop ecx
pop ecx
test eax, eax
je 0x447ea2
lea eax, [ebp - 0x438]
push eax
call fcn.004218fb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004218fb
pop ecx
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], esi
mov dword [ebp - 6], esi
mov dword [ebp - 0xe], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
leave
ret

Function at 0x448245
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
mov bl, dl
lea edx, [ebp - 0x22c]
call fcn.004031b8
lea ecx, [ebp - 0x22c]
call fcn.00447c0c
test al, al
je 0x4482cd
lea eax, [ebp - 0x22c]
push eax
test bl, bl
jne 0x448283
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x4482cd
call fcn.004218fb
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
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 str.SeShutdownPrivilege
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 0x449e65
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
test al, 0x10
je 0x449e9f
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x449edc
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop esi
leave
ret 0x10
test dword [ebp + 8], eax
je 0x449ec5
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x449e99
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x449f13
or eax, 0xffffffff
jmp 0x449e99
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x449eea
cmp eax, 0xffffffff
je 0x449eea
push 1
mov edx, esi
mov ecx, eax
call fcn.00449d25
pop ecx
jmp 0x449e97
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x4b38f4
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x449e95
test eax, eax
je 0x449e95
mov ecx, dword [esi]
push 1
lea edx, [ebp + 0x10]
call fcn.00449d25
pop ecx
mov ecx, esi
call fcn.00449cce
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x449e97

Function at 0x449f31
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
test al, 0x10
je 0x449f6a
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x449fa5
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop esi
leave
ret 0x10
test al, 1
je 0x449f8f
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x449f64
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x449fdc
or eax, 0xffffffff
jmp 0x449f64
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x449fb3
cmp eax, 0xffffffff
je 0x449fb3
push 1
mov edx, esi
mov ecx, eax
call fcn.00449d25
pop ecx
jmp 0x449f62
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push SysAllocStringLen
push 0x4b38f4
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x449f60
test eax, eax
je 0x449f60
mov ecx, dword [esi]
push 1
lea edx, [ebp + 0x10]
call fcn.00449d25
pop ecx
mov ecx, esi
call fcn.00449cce
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x449f62
Function at 0x44a1b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
push 0x1f5
lea esi, [ebx + 0x34]
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 0xffff
call fcn.0042010a
mov edi, eax
mov eax, 0xffff
push eax
mov dword [ebp - 8], edi
mov dword [ebx + 0x10], eax
call fcn.0042010a
pop ecx
pop ecx
push 0
mov dword [ebx + 8], eax
lea eax, [ebp - 4]
push eax
push 0xffff
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44a2c1
cmp dword [ebp - 4], 0
jbe 0x44a2be
lea esi, [ebx + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp dword [ebx + 0x10], eax
jae 0x44a283
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 4]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
jns 0x44a24b
fadd qword [0x4b6568]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x4b2750]
call fcn.00471e16
push eax
mov dword [ebx + 0x10], eax
call fcn.0042010a
push dword [ebx + 0xc]
mov dword [ebx + 8], eax
push edi
push dword [ebx + 8]
call fcn.0041faa0
push edi
call fcn.0042017e
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esp, 0x14
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 8]
push ecx
push edi
push eax
call fcn.0041faa0
mov eax, dword [ebp - 4]
add dword [ebx + 0xc], eax
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
lea eax, [ebp - 4]
push eax
push 0xffff
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44a213
mov esi, dword [ebp - 0xc]
push edi
call fcn.0042017e
pop ecx
mov edi, 0x1f6
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a37f
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x44a3a3
call fcn.0044a1a9
test al, al
je 0x44a3a3
mov ecx, dword [esi + 8]
call fcn.00449bd1
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0044a2f6
cmp dword [esi + 0x24], 0
jne 0x44a3d0
mov ecx, esi
call fcn.0044a0ac
test al, al
je 0x44a3d0
call fcn.0044a0a2
test al, al
jne 0x44a3d0
mov ecx, dword [esi + 0x10]
call fcn.00449bd1
mov dword [esi + 0x24], eax
mov ecx, eax
pop esi
jmp fcn.0044a2f6
pop esi
ret

Function at 0x44a3d2
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x44a3e1
call fcn.0044a31d
mov ecx, dword [esi + 0x24]
pop esi
test ecx, ecx
jne fcn.0044a31d
ret

Function at 0x44bed4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4bf7e0]
jne 0x44bee1
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
shr eax, 1
ret