joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4351a0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x48], ebx
push edi
jle 0x4351e0
lea esp, [esp]
mov eax, dword [esi + 0x54]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4351da
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4351da
mov ecx, dword [edi + 4]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
inc ebx
cmp ebx, dword [esi + 0x48]
jl 0x4351b0
mov ebx, dword [esi + 0x48]
test ebx, ebx
je 0x43527d
jmp 0x4351f0
mov edx, dword [esi + 0x54]
mov edi, dword [edx + ebx*4 - 4]
mov eax, dword [edi + 0x10]
dec ebx
test eax, eax
je 0x435222
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435218
mov eax, dword [edi + 0x10]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0044c4f0
mov eax, dword [esi + 0x48]
lea ecx, [ebx + 1]
add esp, 4
cmp ecx, eax
jge 0x435270
mov edx, dword [esi + 0x54]
sub eax, ebx
dec eax
imul eax, dword [esi + 0x44]
lea ecx, [edx + ebx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004c9f70
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x54]
push ecx
lea ecx, [eax + edx*4 - 4]
push 0
push ecx
call fcn.004c9b50
add esp, 0x18
add dword [esi + 0x48], 0xffffffff
mov ebx, dword [esi + 0x48]
jne 0x4351f0
pop edi
pop esi
pop ebx
ret
Function at 0x439eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 3], 0
je 0x439ef8
cmp dword [esi + 0x38], 0
jne 0x439ef2
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x439ef2
push 1
push str.StartPipeInstance:CreateEvent_failed_with_0x_08X
push esi
mov ecx, edi
call fcn.004397b0
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x38]
mov dword [esi + 0x4c], eax
push ebx
lea ebx, [esi + 0xc]
mov dword [esi + 0x174], edi
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push 0
push esi
push 0x439880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 8]
pop ebx
test eax, eax
jne 0x439f49
push 1
push str.StartPipeInstance:CreateThread_failed__code0x_08X
push esi
mov ecx, edi
call fcn.004397b0
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov edi, dword [edi + 8]
test edi, edi
je 0x439f58
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x439f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 3], 0
je 0x439f81
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov dword [esi + 0x54], 6
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [edi + 3], 0
je 0x439fa2
lea eax, [esi + 0x3c]
jmp 0x439fa4
xor eax, eax
push eax
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 3], 0
mov ecx, dword [ebp + 8]
je 0x43a010
cmp eax, 0x6d
je 0x439ffe
test ebx, ebx
je 0x439fdd
test ecx, ecx
jne 0x43a010
lea ecx, [ebp + 8]
push ecx
push esi
mov ecx, edi
call fcn.004398d0
cmp eax, 1
jne 0x439ff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
jmp 0x43a01b
cmp eax, 2
jne 0x43a005
mov dword [esi + 0x34], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
jne 0x43a01b
cmp eax, 0xea
jne 0x43a005
cmp ecx, 4
jb 0x43a005
cmp byte [edi + 1], 0
jne 0x43a005
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
cmp eax, ecx
ja 0x43a06a
push ecx
mov ecx, esi
call fcn.00439b20
test eax, eax
je 0x43a005
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x8c]
push ecx
push eax
call fcn.004c9f70
mov edx, dword [ebp + 8]
add esp, 0xc
pop edi
mov dword [esi + 0x15c], edx
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7fffffff
jae 0x43a005
push eax
mov ecx, esi
call fcn.00439b20
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x43a005
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push ebx
call fcn.004c9f70
mov ecx, dword [ebp + 8]
lea eax, [ebx + ecx]
mov ebx, dword [ebp - 8]
sub ebx, ecx
add esp, 0xc
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x43a155
lea esp, [esp]
cmp byte [edi + 3], 0
je 0x43a0c0
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [edi + 3], 0
je 0x43a0d3
lea eax, [esi + 0x3c]
jmp 0x43a0d5
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 4]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 3], 0
mov ecx, dword [ebp + 8]
je 0x43a12e
cmp eax, 0x6d
je 0x439ffe
cmp dword [ebp - 8], 0
je 0x43a10e
test ecx, ecx
jne 0x43a12e
lea eax, [ebp + 8]
push eax
push esi
mov ecx, edi
call fcn.004398d0
cmp eax, 1
jne 0x43a005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
jmp 0x43a13b
cmp dword [ebp - 8], 0
jne 0x43a13b
cmp eax, 0xea
jne 0x43a14a
add dword [ebp - 4], ecx
sub ebx, ecx
test ebx, ebx
jg 0x43a0b0
jmp 0x43a152
test ebx, ebx
jg 0x43a005
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x15c], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43a170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x34], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x43a18e
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [edi + 3], 0
je 0x43a19e
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x54], 7
mov dword [esi + 0x18], edx
test edx, edx
je 0x43a1c2
test ecx, ecx
jne 0x43a1c2
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
jmp 0x43a1f1
cmp byte [edi + 3], 0
je 0x43a1cd
lea eax, [esi + 0x3c]
jmp 0x43a1cf
xor eax, eax
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push ebx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 4]
cmp byte [ecx + 3], 0
je 0x43a26e
test edi, edi
jne 0x43a23f
cmp eax, 0x3e5
jne 0x43a260
test edx, edx
je 0x43a215
pop ebx
lea eax, [edi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ebx
push esi
call fcn.004398d0
test eax, eax
jne 0x43a22b
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
xor ecx, ecx
cmp eax, 1
setne cl
pop ebx
pop edi
pop esi
inc ecx
mov eax, ecx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 4]
push 0
push ebx
lea edx, [esi + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
neg eax
pop ebx
sbb eax, eax
pop edi
add eax, 2
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop ebx
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ecx + 1], 0
jne 0x43a220
neg edi
sbb edi, edi
add edi, 2
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43b9c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43ba1b
movzx eax, word [edi]
test ax, ax
je 0x43ba1b
cmp ax, 0x46
jne 0x43ba20
movzx eax, word [edi + 2]
cmp ax, 0x30
jb 0x43ba20
cmp ax, 0x39
ja 0x43ba20
movzx eax, word [edi + 4]
test ax, ax
je 0x43b9fe
cmp ax, 0x30
jb 0x43ba20
cmp ax, 0x39
ja 0x43ba20
push 0xa
lea eax, [ebp + 8]
push eax
push edi
call fcn.004c9eb4
lea ecx, [eax - 1]
add esp, 0xc
cmp ecx, 0x17
ja 0x43ba1b
add eax, 0x6f
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
cmp dword [0x510428], 0
push ebx
push esi
mov esi, 0x510428
je 0x43ba48
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edx, dword [esi]
push edx
push edi
call ebx
test eax, eax
je 0x43baae
add esi, 8
cmp dword [esi], 0
jne 0x43ba36
cmp word [edi + 2], 0
jne 0x43bab6
movzx eax, word [edi]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
test al, al
je 0x43bab6
mov ecx, dword [ebp + 0x10]
movzx esi, al
test ecx, ecx
je 0x43ba95
mov edx, eax
shr edx, 8
test dl, 1
je 0x43ba75
or dword [ecx], 0x10
test dl, 2
je 0x43ba85
mov eax, dword [ecx]
test al, 4
jne 0x43ba85
or eax, 8
mov dword [ecx], eax
test dl, 4
je 0x43ba95
mov eax, dword [ecx]
test al, 1
jne 0x43ba95
or eax, 2
mov dword [ecx], eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43baa7
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esi + 4]
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
xor eax, eax
pop edi
pop ebp
ret
Function at 0x442410
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
test esi, esi
je 0x442570
cmp word [esi], 0
je 0x442570
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0xa005
push eax
call ebx
mov edi, eax
push str.WorkerW
mov ecx, edi
call fcn.00442370
add esp, 4
test al, al
je 0x442491
push 0xa005
push edi
call ebx
mov edi, eax
push 0x4f2c80
mov ecx, edi
call fcn.00442370
add esp, 4
test al, al
je 0x442491
push str.ToolbarWindow32
push edi
call fcn.004423b0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x44249c
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
cmp word [esi], 0
mov dword [ebp - 0xc], 0
je 0x442564
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
movzx eax, word [esi]
xor ecx, ecx
cmp ax, 0x79
sete cl
movzx edx, ax
push 0
push edx
lea ecx, [ecx*4 + 0x100]
mov edi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, word [esi]
shl eax, 0x10
or eax, 1
cmp cx, 0x79
jne 0x442511
mov esi, dword [ebp + 8]
push 0x50005
push 0
push 0x201
push esi
call ebx
push 0x50005
push 0
push 0x202
push esi
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 8]
jmp 0x44252e
push eax
movzx eax, cx
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
call ebx
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x44255a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x44255a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
inc eax
cmp word [edx + eax*2], 0
lea esi, [edx + eax*2]
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], eax
jne 0x4424b3
mov al, byte [ebp - 1]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x442fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [0x530010], ebx
je 0x442fe2
cmp dword [0x530018], ebx
je 0x442fe2
mov bl, 1
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push str.GdiPlus.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x530010], eax
cmp eax, ebx
je 0x44316c
cmp eax, 0xffffffff
je 0x44316c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GdiplusStartup
push eax
call esi
mov dword [0x53001c], eax
cmp eax, ebx
je 0x44316b
mov eax, dword [0x530010]
push str.GdiplusShutdown
push eax
call esi
mov dword [0x530020], eax
cmp eax, ebx
je 0x44316b
mov ecx, dword [0x530010]
push str.GdipCreateBitmapFromFile
push ecx
call esi
mov dword [0x530024], eax
cmp eax, ebx
je 0x44316b
mov edx, dword [0x530010]
push str.GdipDisposeImage
push edx
call esi
mov dword [0x530028], eax
cmp eax, ebx
je 0x44316b
mov eax, dword [0x530010]
push str.GdipGetImageWidth
push eax
call esi
mov dword [0x53002c], eax
cmp eax, ebx
je 0x44316b
mov ecx, dword [0x530010]
push str.GdipGetImageHeight
push ecx
call esi
mov dword [0x530030], eax
cmp eax, ebx
je 0x44316b
mov edx, dword [0x530010]
push str.GdipCreateHBITMAPFromBitmap
push edx
call esi
mov dword [0x530034], eax
cmp eax, ebx
je 0x44316b
mov eax, dword [0x530010]
push str.GdipGetImagePixelFormat
push eax
call esi
mov dword [0x530038], eax
cmp eax, ebx
je 0x44316b
mov ecx, dword [0x530010]
push str.GdipLoadImageFromStream
push ecx
call esi
mov dword [0x53003c], eax
cmp eax, ebx
je 0x44316b
mov edx, dword [0x530010]
push str.GdipSaveImageToFile
push edx
call esi
mov dword [0x530040], eax
cmp eax, ebx
je 0x44316b
mov eax, dword [0x530010]
push str.GdipGetImageEncodersSize
push eax
call esi
mov dword [0x530044], eax
cmp eax, ebx
je 0x44316b
mov ecx, dword [0x530010]
push str.GdipGetImageEncoders
push ecx
call esi
mov dword [0x530048], eax
cmp eax, ebx
je 0x44316b
mov edx, dword [0x530010]
push str.GdipCreateBitmapFromHBITMAP
push edx
call esi
mov dword [0x53004c], eax
cmp eax, ebx
je 0x44316b
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x530014
call dword [0x53001c]
test eax, eax
jne 0x44316b
mov dword [0x530018], 1
mov bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x443776
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x443753
cmp dword [edi + 0x20], esi
jne 0x443753
add edi, 0x24
cmp dword [edi], 0x3a
jb 0x443753
push esi
lea ecx, [ebp - 0x10]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443753
cmp dword [ebp - 0x10], 2
jne 0x443753
mov ax, word [ebp - 4]
cmp al, 0x42
jne 0x443753
cmp ah, 0x4d
jne 0x443753
mov eax, dword [edi]
push eax
mov dword [ebp - 0xc], 1
call fcn.0044c4d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4436f2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 2
lea ecx, [ebp - 4]
push ecx
push esi
call fcn.004c9f70
mov edx, dword [edi]
add esp, 0xc
push 0
push edi
sub edx, 2
push edx
lea eax, [esi + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443753
add dword [edi], 2
cmp byte [esi], 0x42
jne 0x443748
cmp byte [esi + 1], 0x4d
jne 0x443748
mov eax, dword [esi + 0xa]
cmp eax, 0x36
jb 0x443748
cmp eax, 0x436
ja 0x443748
cmp dword [esi + 0xe], 0x28
jne 0x443748
cmp byte [esi + 0x1d], 0
jne 0x443748
cmp dword [esi + 0x1e], 0
je 0x443753
push esi
call fcn.0044c4f0
add esp, 4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x443776
cmp dword [ebp - 8], esi
je 0x443776
cmp dword [ebp - 0xc], esi
jne 0x443776
mov ecx, dword [ebp + 8]
push ecx
call fcn.004433c0
add esp, 4
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bf30
Capabilities:
Get number of processors
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 3
jne 0x44bf3f
pop ebp
jmp fcn.0044bb80
pop ebp
ret 8
Function at 0x44c3e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub eax, dword [esi + 8]
sub edi, dword [esi + 4]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp dword [esi + 4], 0
je 0x44c419
cmp edi, eax
jae 0x44c419
mov ecx, dword [0x52fe2c]
pop edi
pop esi
add ecx, 0xb0
pop ebx
jmp fcn.00437af0
cmp dword [esi + 8], 0
je 0x44c425
shr eax, 1
cmp ebx, eax
jb 0x44c44f
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x44c44f
push 0
push 0xffff8300
push 0xffff8300
mov ecx, esi
call fcn.0044bff0
pop edi
pop esi
pop ebx
ret

Function at 0x44cc70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
je 0x44cc8c
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor eax, eax
lea esp, [esp]
test eax, eax
jne 0x44cd08
push 0x110
push eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x11c], 0x11c
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x114], 1
call fcn.004c9b50
add esp, 0xc
push 3
push 1
push 3
push 2
push 0
push 0
call edi
push edx
push eax
call edi
push edx
push eax
push 3
lea ecx, [ebp - 0x11c]
push ecx
call ebx
test eax, eax
jne 0x44cd01
mov eax, 1
jmp 0x44cca0
push str.KernelBase.dll
jmp 0x44cd0d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x24], eax
test eax, eax
je 0x44cdcc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AddAccessAllowedAce
push eax
call edi
mov edx, dword [esi + 0x24]
push str.AddAccessDeniedAce
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x24]
push 0x4f4760
push eax
call edi
mov ecx, dword [esi + 0x24]
push str.GetLengthSid
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x24]
push str.InitializeAcl
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x24]
push str.InitializeSecurityDescriptor
push eax
call edi
mov ecx, dword [esi + 0x24]
push str.SetSecurityDescriptorDacl
push ecx
mov dword [esi + 0x3c], eax
call edi
cmp dword [esi + 0x28], 0
mov dword [esi + 0x40], eax
je 0x44cdb7
cmp dword [esi + 0x2c], 0
je 0x44cdb7
cmp dword [esi + 0x30], 0
je 0x44cdb7
cmp dword [esi + 0x34], 0
je 0x44cdb7
cmp dword [esi + 0x38], 0
je 0x44cdb7
cmp dword [esi + 0x3c], 0
je 0x44cdb7
test eax, eax
je 0x44cdb7
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
test eax, eax
je 0x44cdcc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x24], 0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44e410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
xor esi, esi
push esi
push str.Console
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x44e4d1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.FullScreen
push eax
mov dword [ebp - 0xc], 4
call esi
test eax, eax
je 0x44e474
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push 0x4e5ea4
push edx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44e4c5
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push str.FullScreen
push edx
mov dword [ebp - 0xc], 4
call esi
test eax, eax
je 0x44e4bd
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x14]
push eax
call edi
jmp 0x44e4cb
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
push edx
call edi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
pop esi
test eax, eax
jne 0x44e4e1
test ecx, ecx
je 0x44e51a
cmp dword [0x52fe5c], 6
jb 0x44e51a
test eax, eax
jne 0x44e4f0
mov eax, ecx
push eax
lea eax, [ebp - 0x414]
push str.Warning__nDangerous_values_detected_in_yours_registry_n_nPlease_check__HKEY_CURRENT_USERConsole__and__HKEY_CURRENT_USERConsoleConEmu__keys_n_n_FullScreen__recommended_value_is_dword:00000000_n_nCurrent_value_is_dword:_08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 1
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x414]
push 0x40
push ecx
call fcn.004262f0
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x450160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d86f6
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
test esi, esi
je 0x45022a
push str._xml_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x45031a
mov esi, dword [esi + 0x10]
test esi, esi
je 0x450201
cmp word [esi], di
je 0x450201
push eax
push 0x80
push 4
push eax
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4501d8
test eax, eax
je 0x4501d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x450237
push 0
push 0
push 0
push 0
push str.Failed_to_create_xml_file_
call fcn.004263e0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0xffffffffffffffff
push str.Invalid_xml_path_was_specified_
call fcn.004263e0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x52fe2c]
call fcn.00413850
mov esi, eax
test esi, esi
je 0x450264
cmp word [esi], 0
je 0x450264
test edi, edi
jne 0x45026c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45031a
test al, 0x10
jne 0x45031a
mov edi, 1
jmp 0x45026c
test edi, edi
je 0x45031a
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x34
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
call fcn.0044c4d0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4502aa
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0049c3c0
mov esi, eax
jmp 0x4502ac
xor esi, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0049c690
test al, al
jne 0x4502e3
cmp dword [ebp + 8], 0
jne 0x4502d2
mov ecx, dword [0x52fe2c]
call fcn.00413850
xor edx, edx
mov word [eax], dx
test esi, esi
je 0x45031a
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 1
mov ecx, esi
call edx
jmp 0x45031a
test edi, edi
je 0x450316
test esi, esi
jne 0x45033f
cmp dword [ebp + 8], esi
je 0x45031a
push esi
push esi
push esi
push 0xffffffffffffffff
push str.XML_storage_is_not_available__Check_IXMLDOMDocument_interface_
call fcn.004263e0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test esi, esi
jne 0x45033f
push 0x20
call fcn.0044c4d0
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x45033b
mov ecx, eax
call fcn.0049c0b0
jmp 0x45033d
xor eax, eax
mov esi, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4