joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063d0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x20
push ebx
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0
push 8
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x406444
call esi
cmp eax, 0x3f0
jne 0x406433
lea ecx, [esp + 0x10]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x4064cd
test eax, eax
je 0x4064cd
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 2
push eax
call edi
test eax, eax
jne 0x4064cd
call esi
cmp eax, 0x7a
jne 0x4064cd
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00406b94
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push eax
test esi, esi
push esi
push 2
setne bl
push ecx
mov byte [esp + 0x38], bl
call edi
test eax, eax
je 0x4064c0
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x4064d6
test bl, bl
je 0x4064cd
push esi
call fcn.00406b89
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esi]
xor edi, edi
test eax, eax
push ebp
mov dword [esp + 0x1c], 0
jbe 0x406517
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea ebp, [esi + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push ecx
push edx
call ebx
test eax, eax
jne 0x40650b
mov eax, dword [esi]
inc edi
add ebp, 8
cmp edi, eax
jb 0x4064f0
jmp 0x406513
mov dword [esp + 0x1c], 1
mov bl, byte [esp + 0x28]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test bl, bl
pop ebp
je 0x406530
push esi
call fcn.00406b89
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x406540
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [0x410730]
sub esp, 0x34
cmp eax, ecx
jne 0x40655a
mov eax, dword [0x40f358]
cmp eax, 0xffffffff
jne 0x4065a0
lea eax, [esp]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x40659a
lea ecx, [esp]
push ecx
call fcn.00406bd7
add esp, 4
lea edx, [esp + 0x14]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x40659a
movsx eax, word [esp + 0x14]
mov dword [0x40f358], eax
mov ax, word [0x40f358]
add esp, 0x34
ret
Function at 0x4065b0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x14
lea eax, [esp]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4065ea
lea edx, [esp]
push edx
call fcn.00406c62
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov eax, 1
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x40ae4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40faa0
cmp edx, dword [eax]
je 0x40ae6f
add eax, 8
inc ecx
cmp eax, 0x40fb30
jl 0x40ae60
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40faa0]
jne 0x40af9d
mov eax, dword [0x410790]
cmp eax, 1
je 0x40af77
test eax, eax
jne 0x40aea0
cmp dword [0x40f424], 1
je 0x40af77
cmp edx, 0xfc
je 0x40af9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40aed7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040c020
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004078c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40af1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004078c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d6f8
push edi
call fcn.0040bd70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040c020
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c030
lea eax, [ebp - 0xa0]
push 0x40d6d8
push eax
call fcn.0040c030
push dword [esi + 0x40faa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c030
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c445
add esp, 0x2c
pop edi
jmp 0x40af9d
lea eax, [ebp + 8]
lea esi, [esi + 0x40faa4]
push 0
push eax
push dword [esi]
call fcn.004078c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4012df
Capabilities:
Access peb ldr_data
Get file system object information
Query or enumerate registry value

Disassembly:
jmp 0x401d30
push 0xffffffffffffffff
push 0x40ced6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0040131b
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xc]
mov dword [esp + 0x394], 0
push eax
push 0x20019
push 0
push str.SOFTWARETOP6RS_M2iHMISettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401e63
mov ecx, 0x40
lea edi, [esp + 0x25]
mov byte [esp + 0x24], al
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x18], 1
xor edi, edi
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.Library_Path
push ecx
call esi
test eax, eax
je 0x401de3
inc edi
cmp edi, 5
jl 0x401db7
jmp 0x401e63
lea edx, [esp + 0x24]
lea esi, [ebp + 0x68]
push edx
push 0x413628
push esi
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
add eax, 0xfffffff8
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [esp + 0x398], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x394], 0
call fcn.0040b3b0
push str.Bitmap
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov esi, dword [esi]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x128]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4200
lea edx, [esp + 0x230]
push 0x160
push edx
lea eax, [esp + 0x134]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 9
push 8
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Bitmap
call sub.MFC42.DLL_CString::CString_1
push 0xffff0000
mov ecx, ebp
call fcn.004012ee
mov ecx, dword [ebp + 0x20]
push eax
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x394], 0xffffffff
call fcn.0040b3b0
mov ecx, dword [esp + 0x38c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x38c
ret
Function at 0x4012ee
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4021e0
push 0xffffffffffffffff
push 0x40cf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffff0002
mov dword [esp + 0xc], 0x67
mov eax, dword [ecx - 8]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], edx
lea edx, [esp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x1100
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
mov esi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040b3b0
mov ecx, dword [esp + 0x38]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14
Function at 0x4013ca
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
jmp 0x40ad70
push 0xffffffffffffffff
push 0x40dfe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x410e04
push 0x413a5c
push 0x10
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12c
push eax
push eax
push eax
push 0xc
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov edx, dword [esi]
push 0xe7f7ff
mov ecx, esi
mov ebx, eax
call dword [edx + 0x34]
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x69
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], 0x82
mov ecx, dword [eax - 8]
lea edi, [esp + 0x18]
push 0x14
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x410380
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x415124
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x437d1e
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x437d62
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x437d4c
push 0x2f2f
push 1
call fcn.00437df0
pop ecx
pop ecx
jmp 0x437d5d
push 0x864
push 0
push 1
call fcn.004327bd
add esp, 0xc
jmp 0x437dec
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x437db6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x437d94
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x437db4
push 0
push 0x21c3
push 0x11f4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
jmp 0x437dec
push 0x6c1
push 0x4538
push 0x6e46
push 0x4dc2
push 0
push 0x1678
push 0x1ce2
push 0x20ea
push 0x3740
push 0
push 1
call fcn.00433c83
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x43bff0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43c023
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push dword [ebp - 8]
call fcn.0043de1e
add esp, 0xc
jmp 0x43c0e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43c0aa
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43c09e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x43c09c
push 0x108a
push 0x1d14
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CreateCaret]
jmp 0x43c0a8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x43c0e1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x38]
push 0x66c5
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
push 0
push dword [ebp - 0x44]
push 0
call fcn.00435e9c
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x440fe1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x441006
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 1
push dword [ebp - 8]
push 1
call fcn.00441074
add esp, 0xc
jmp 0x441070
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x441032
push 0x4408
push 1
call fcn.0043bfbe
pop ecx
pop ecx
jmp 0x441070
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x441061
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x441070
push 0x13b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret
Function at 0x445273
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44530c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4452e7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4452cf
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4452cd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x4452e5
push 1
push 0
push 0x9a8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
jmp 0x44530a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push 0x1c92
push dword [ebp - 0x20]
push 0
push 1
call fcn.00438297
add esp, 0x14
jmp 0x445344
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x445332
push 0x823
push 1
call fcn.0043a0cf
pop ecx
pop ecx
jmp 0x445344
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0
call fcn.0043bfbe
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x445f45
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4460b1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x445fe3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x445fb9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x445fb7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x445fde
mov byte [ebp - 1], 0
push 0x1c9b
lea eax, [ebp - 1]
push eax
push 1
push 0x4d69
push 1
push 0x7a4
push 1
call fcn.00432906
add esp, 0x1c
jmp 0x4460af
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x44606e
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x446021
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x44606c
mov dword [ebp - 0xc], 0x87e08a11
mov dword [ebp - 0xc], 1
jmp 0x446040
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x44606a
push 0
push 0x3b8f
push 0x1a79
push 1
push 0
push 0x792c
push 0x5f1d
call fcn.00438407
add esp, 0x1c
jmp 0x446039
jmp 0x446016
jmp 0x4460af
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x4460af
push 0
push 0
push 0x59e0
push 0x65ec
push 1
push 0x62bf
push 0x1e28
push 1
push 0
push 0x2a21
call fcn.0044202a
add esp, 0x28
jmp 0x4460cd
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 0
call fcn.004324b5
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4468c3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4468eb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push 0x5926
push 1
push dword [ebp - 4]
call fcn.00446969
add esp, 0xc
jmp 0x446965
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44693c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x446921
push 0
call dword [sym.imp.USER32.dll_CharUpperW]
jmp 0x44693a
push 0x1fb2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x446965
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x446956
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x446965
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esp, ebp
pop ebp
ret
Function at 0x453356
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x4533d2
lea eax, [ebp + 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4533a9
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x2d50
push 0
call fcn.0045934a
add esp, 0x10
jmp 0x4533d0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4533ca
push 0x13b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x4533d0
call dword [sym.imp.USER32.dll_DestroyCaret]
jmp 0x453404
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x2c]
push 0
call fcn.004611b1
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x4542c3
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x454303
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 1
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push 0
push dword [ebp - 0xc]
push 0x3790
call fcn.004578fe
add esp, 0x18
jmp 0x454367
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x45435f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x454357
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x454355
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x45435d
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x454367
push 0
call fcn.00453408
pop ecx
mov esp, ebp
pop ebp
ret