joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004fd50
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10668ff3]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10669090
call fcn.1004e570
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10057420
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007d340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10057444
jmp 0x100574b3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10057458
jmp 0x100574b3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10057484
jmp 0x100574b3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x100574a5
jmp 0x100574b3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x10057720
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007d340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10057744
jmp 0x100577b3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10057758
jmp 0x100577b3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10057784
jmp 0x100577b3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x100577a5
jmp 0x100577b3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret

Function at 0x1005b500
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10668ff0]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10669090
call fcn.1004e570
add esp, 8
mov esp, ebp
pop ebp
ret 4
Function at 0x10076a30
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007d340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10066df6
mov dword [ebp - 0x14], eax
cmp dword [0x1066a1dc], esi
jne 0x10076b23
push 0x800
push esi
push 0x10007a1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10076ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10076c03
push esi
push esi
push 0x10007a1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10076c03
push 0x10007a34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10076c03
push eax
call ebx
push 0x10007a40
push edi
mov dword [0x1066a1dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a50
push edi
mov dword [0x1066a1e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a64
push edi
mov dword [0x1066a1e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066a1ec], eax
test eax, eax
je 0x10076b20
push 0x10007a80
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066a1e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10076b48
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10076b3b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10076b5d
push 4
pop eax
jmp 0x10076c05
cmp dword [ebp - 0x14], esi
je 0x10076b5d
push dword [0x1066a1dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10076b42
mov eax, dword [0x1066a1e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10076bbb
cmp dword [0x1066a1ec], edi
je 0x10076bbb
push eax
call ebx
push dword [0x1066a1ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10076bbb
test eax, eax
je 0x10076bbb
call ecx
test eax, eax
je 0x10076bb0
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 0x10076bb0
test byte [ebp - 8], 1
jne 0x10076bbb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10076beb
mov eax, dword [0x1066a1e0]
cmp eax, edi
je 0x10076be8
push eax
call ebx
test eax, eax
je 0x10076be8
call eax
mov esi, eax
test esi, esi
je 0x10076be8
mov eax, dword [0x1066a1e4]
cmp eax, edi
je 0x10076be8
push eax
call ebx
test eax, eax
je 0x10076be8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066a1dc]
call ebx
test eax, eax
je 0x10076c03
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10076c05
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4027e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 0xc
mov dword [esp], 0x5464c0
call fcn.0051b0ac
mov dword [esp], 0x402610
call fcn.00530438
mov dword [esp], 0x5464c1
call fcn.0051c870
mov dword [esp], 0x402630
call fcn.00530438
mov dword [0x547848], 0xffffffff
mov dword [0x5464c8], 0x1571
mov ecx, 0x1571
mov eax, 0xfffffd91
nop word cs:[eax + eax]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
lea ecx, [eax + ecx + 0x270]
mov dword [eax*4 + 0x546e88], ecx
inc eax
jne 0x402840
mov dword [0x5464c4], 0x270
cmp byte [0x547860], 0
jne 0x40289b
mov dword [0x54785c], 0x4046a0
mov dword [esp], 0x4027d0
call fcn.00530438
mov dword [0x547864], 0
mov dword [0x547860], 1
mov dword [0x54784c], 0x54785c
mov dword [esp], 0x402650
call fcn.00530438
add esp, 0xc
ret
Function at 0x40516c
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], edi
call fcn.004048e0
mov dword [esp], edi
call fcn.0051c3d0
mov esi, eax
mov eax, dword [ebp + 4]
shl eax, 4
add eax, 0x10
mov dword [esp], eax
call fcn.0051c3d0
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00404c10
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x4052c9
mov ebp, dword [esp + 0x44]
xor ebx, ebx
nop dword [eax + eax]
lea eax, [ebp + ebx]
lea ecx, [esi + ebx]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00404dac
movzx eax, byte [esp + 0x18]
xor byte [esi + ebx], al
movzx eax, byte [esp + 0x19]
xor byte [esi + ebx + 1], al
movzx eax, byte [esp + 0x1a]
xor byte [esi + ebx + 2], al
movzx eax, byte [esp + 0x1b]
xor byte [esi + ebx + 3], al
movzx eax, byte [esp + 0x1c]
xor byte [esi + ebx + 4], al
movzx eax, byte [esp + 0x1d]
xor byte [esi + ebx + 5], al
movzx eax, byte [esp + 0x1e]
xor byte [esi + ebx + 6], al
movzx eax, byte [esp + 0x1f]
xor byte [esi + ebx + 7], al
movzx eax, byte [esp + 0x20]
xor byte [esi + ebx + 8], al
movzx eax, byte [esp + 0x21]
xor byte [esi + ebx + 9], al
movzx eax, byte [esp + 0x22]
xor byte [esi + ebx + 0xa], al
movzx eax, byte [esp + 0x23]
xor byte [esi + ebx + 0xb], al
movzx eax, byte [esp + 0x24]
xor byte [esi + ebx + 0xc], al
movzx eax, byte [esp + 0x25]
xor byte [esi + ebx + 0xd], al
movzx eax, byte [esp + 0x26]
xor byte [esi + ebx + 0xe], al
movzx eax, byte [esp + 0x27]
xor byte [esi + ebx + 0xf], al
mov eax, dword [ebp + ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + ebx]
mov ecx, dword [ebp + ebx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
add ebx, 0x10
cmp ebx, edi
jb 0x4051ec
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4052d9
mov dword [esp], eax
call fcn.0051a4b8
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40532c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, byte [eax]
mov cl, byte [ecx + 0x53a593]
mov byte [eax], cl
movzx ecx, byte [eax + 1]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 1], cl
movzx ecx, byte [eax + 2]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 2], cl
movzx ecx, byte [eax + 3]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 3], cl
movzx ecx, byte [eax + 4]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 4], cl
movzx ecx, byte [eax + 5]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 5], cl
movzx ecx, byte [eax + 6]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 6], cl
movzx ecx, byte [eax + 7]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 7], cl
movzx ecx, byte [eax + 8]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 8], cl
movzx ecx, byte [eax + 9]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 9], cl
movzx ecx, byte [eax + 0xa]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xa], cl
movzx ecx, byte [eax + 0xb]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xb], cl
movzx ecx, byte [eax + 0xc]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xc], cl
movzx ecx, byte [eax + 0xd]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xd], cl
movzx ecx, byte [eax + 0xe]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xe], cl
movzx ecx, byte [eax + 0xf]
mov cl, byte [ecx + 0x53a593]
mov byte [eax + 0xf], cl
ret
Function at 0x41c7d8
Capabilities:
Get file attributes

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 0xf
ja 0x41c7ea
add eax, 4
jmp 0x41c7ed
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetFileAttributesA
sub esp, 4
test al, 0x10
sete al
add esp, 0xc
ret
Function at 0x41ca90
Capabilities:
Get file size

Disassembly:
push edi
push esi
push eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 0xf
ja 0x41caa2
add eax, 4
jmp 0x41caa5
mov eax, dword [eax + 4]
sub esp, 4
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call sub.KERNEL32.DLL_CreateFileA
add esp, 4
mov esi, eax
cmp esi, 0xffffffff
je 0x41caf3
sub esp, 8
push 0
push esi
call sub.KERNEL32.DLL_GetFileSize
add esp, 8
mov edi, eax
sub esp, 0xc
push esi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
cmp edi, 0xffffffff
je 0x41caf3
mov eax, edi
add esp, 4
pop esi
pop edi
ret
add esp, 4
pop esi
pop edi
jmp sub.KERNEL32.DLL_GetLastError

Function at 0x41ef14
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x274]
mov dword [esp], edi
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
call fcn.00524727
mov dword [ebp - 0x20], 0xff
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.DLL_GetComputerNameW
sub esp, 8
mov esi, eax
mov dword [ebp - 0x58], 0x53474c
mov dword [ebp - 0x54], 0x53c590
mov dword [ebp - 0x50], ebp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x50], 0x41f0d2
lea eax, [ebp - 0x74]
call fcn.005353b5
test esi, esi
je 0x41efab
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
cmp word [ebp - 0x274], 0
je 0x41efe1
mov dword [esp], edi
call fcn.005243e8
jmp 0x41efe3
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov byte [ebx + 4], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x53c38a
call fcn.004056a0
jmp 0x41f0ba
xor eax, eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], edi
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0041cd04
cmp dword [ebp - 0x24], 7
mov ecx, dword [ebp - 0x28]
ja 0x41f00b
lea edx, [ebp - 0x38]
jmp 0x41f00e
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov byte [ebx + 4], 0
mov eax, ecx
and eax, 0x7fffffff
cmp eax, 0xf
je 0x41f074
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
lea eax, [ecx + ecx]
sar eax, 1
mov dword [ebp - 0x6c], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], 1
call fcn.004039a0
test al, al
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
je 0x41f074
lea eax, [ebx + 4]
cmp dword [ebx + 0x18], 0x10
jb 0x41f06a
mov eax, dword [eax]
mov dword [ebx + 0x14], 0
mov byte [eax], 0
lea eax, [edx + ecx*2]
mov dword [ebp - 0x6c], 2
mov cl, byte [ebp - 0x10]
mov byte [esp + 0xc], cl
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00426450
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
mov ebx, dword [ebp + 8]
jb 0x41f0ba
mov eax, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41f0b2
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
lea eax, [ebp - 0x74]
mov dword [esp], eax
call fcn.005353d6
mov eax, ebx
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436f54
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 8
call sub.KERNEL32.DLL_GetCurrentProcessId
sub esp, 4
push eax
push 0
push 0x100001
call sub.KERNEL32.DLL_OpenProcess
add esp, 4
mov esi, eax
sub esp, 8
push 0
push esi
call sub.KERNEL32.DLL_TerminateProcess
add esp, 8
sub esp, 0xc
push esi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x14
pop esi
ret
Function at 0x437b24
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xdc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x58], 0x53474c
mov dword [ebp - 0x54], 0x53d8b0
mov dword [ebp - 0x50], ebp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x50], 0x437d44
mov dword [ebp - 0x6c], 1
lea eax, [ebp - 0x74]
call fcn.005353b5
lea eax, [ebp - 0x28]
push eax
push 0x4385f0
push 0
push 0
call sub.USER32.DLL_EnumDisplayMonitors
mov ecx, dword [ebp + 0xc]
xor esi, esi
test ecx, ecx
js 0x437cf0
test eax, eax
je 0x437cf0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
sub edx, eax
sar edx, 2
xor esi, esi
cmp edx, ecx
jbe 0x437cf3
mov edx, dword [eax + ecx*4]
lea edi, [ebp - 0xdc]
xor eax, eax
mov ecx, 0x19
rep stosd dword es:[edi], eax
mov dword [ebp - 0xe0], 0x68
mov dword [ebp - 0x6c], 2
sub esp, 8
lea eax, [ebp - 0xe0]
push eax
push edx
call sub.USER32.DLL_GetMonitorInfoW
add esp, 8
test eax, eax
je 0x437ced
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd0]
sub eax, dword [ebp - 0xdc]
mov dword [ebp - 0x30], eax
sub ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x6c], 3
push 0
push 0
push 0
push str.DISPLAY
call sub.GDI32.DLL_CreateDCW
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x6c], 4
sub esp, 0xc
push dword [ebp - 0x14]
call sub.GDI32.DLL_CreateCompatibleDC
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x6c], 5
sub esp, 4
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call sub.GDI32.DLL_CreateCompatibleBitmap
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x6c], 6
sub esp, 8
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call sub.GDI32.DLL_SelectObject
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x6c], 7
sub esp, 0xc
push 0xcc0020
push ecx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push 0
push dword [ebp - 0x10]
call sub.GDI32.DLL_BitBlt
add esp, 0xc
mov dword [ebp - 0x6c], 8
sub esp, 8
push dword [ebp - 0x38]
push dword [ebp - 0x10]
call sub.GDI32.DLL_SelectObject
add esp, 8
mov dword [ebp - 0x6c], 9
sub esp, 0xc
push dword [ebp - 0x10]
call sub.GDI32.DLL_DeleteDC
add esp, 0xc
mov dword [ebp - 0x6c], 0xa
sub esp, 8
push dword [ebp - 0x14]
push 0
call sub.USER32.DLL_ReleaseDC
add esp, 8
jmp 0x437ced
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x437d28
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
cmp ecx, 0x1000
jb 0x437d07
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.0051a4c8
add esp, 0x10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
sub esp, 0xc
lea eax, [ebp - 0x74]
push eax
call fcn.005353d6
add esp, 0x10
mov eax, esi
add esp, 0xdc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441514
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x13dc
call fcn.00523e50
sub esp, 0x13dc
mov dword [ebp - 0x13c0], 0xf
mov dword [ebp - 0x13c4], 0
mov byte [ebp - 0x13d4], 0
lea eax, [ebp - 0x13d8]
mov dword [esp], eax
mov dword [esp + 4], 0x53e764
call fcn.00403830
mov dword [ebp - 0x34], 0x53474c
mov dword [ebp - 0x30], 0x53e854
mov dword [ebp - 0x2c], ebp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x2c], 0x441643
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x50]
call fcn.005353b5
call fcn.00522aec
mov ecx, dword [ebp - 0x13c0]
cmp ecx, 0x10
jb 0x4415af
mov eax, dword [ebp - 0x13d4]
inc ecx
cmp ecx, 0x1000
jb 0x4415a7
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x48], 0xffffffff
call fcn.00522aec
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x13d4], eax
mov ecx, 2
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [ecx + eax - 1]
mov dword [ebp + ecx*4 - 0x13d8], eax
inc ecx
cmp ecx, 0x271
jne 0x4415d4
mov dword [ebp - 0x13d8], 0x270
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x48], 0xffffffff
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
lea eax, [ebp - 0x13d8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.00441d70
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.005353d6
mov eax, esi
add esp, 0x13dc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4486dc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0044b340
test esi, esi
jne 0x448712
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0044b4d8
jmp 0x448730
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004485bc
mov edi, eax
test esi, esi
je 0x448730
cmp dword [ebx], 0
je 0x448730
dec esi
jmp 0x448719
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0044a50c
mov byte [esp], al
cmp byte [esp], 0
jne 0x44a1d5
test edi, edi
je 0x44a1d5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x44a115
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x44a0f0
cmp edi, 0xffffffff
je 0x44a0b1
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x44a0b1
mov byte [esp], 0
jmp 0x44a1d5
cmp dword [esi], 1
jg 0x44a0f0
cmp dword [esi], 0
jne 0x44a0e2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x44a0e2
call fcn.005383b4
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x44a1d5
lea eax, [esp + 0xc]
call fcn.00449ce4
dec ebp
test ebp, ebp
jg 0x44a096
cmp edi, 0xffffffff
je 0x44a115
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x44a113
mov byte [esp], 0
jmp 0x44a1d5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x44a05a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x44a115
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0044a250
mov edx, eax
mov ebx, dword [0x55bc10]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x44a179
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x44a177
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x44a179
xor edi, edi
cmp byte [esp], 0
je 0x44a19f
mov ebx, dword [esi]
test bl, 1
jne 0x44a1b5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x44a17f
mov byte [esp + 1], 1
jmp 0x44a1b5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x44a19f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x44a12c
cmp byte [esp], 0
je 0x44a1d5
call fcn.005383b4
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret