joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4807f8
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
mov eax, dword [0x504084]
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, eax
mov eax, dword [0x5040b0]
xor edx, edx
mov dword [esp + 8], edx
push eax
push edx
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov ebp, eax
push 0x104
push ebp
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
xor edx, edx
xor eax, eax
inc eax
movzx esi, word [ebp + eax*4 - 4]
cmp esi, 0x5c
lea ecx, [eax + eax - 2]
cmove edx, ecx
test esi, esi
je 0x480855
movzx esi, word [ebp + eax*4 - 2]
cmp esi, 0x5c
lea ecx, [eax + eax - 1]
cmove edx, ecx
test esi, esi
jne 0x48082e
mov ecx, dword [fcn.0047bb34]
lea ebp, [ebp + edx*2 + 2]
cmp dword [ecx], 0
je 0x480896
movzx eax, word [ebp]
xor edx, edx
test eax, eax
je 0x48088c
xor eax, eax
inc eax
movzx esi, word [ebp + eax*4 - 4]
add edx, esi
movzx esi, word [ebp + eax*4 - 2]
test esi, esi
je 0x48088c
add edx, esi
movzx esi, word [ebp + eax*4]
test esi, esi
jne 0x480870
cmp edx, dword [ecx + 4]
je 0x480896
cmp edx, dword [ecx + 8]
jne 0x4808ec
mov eax, dword [0x50409c]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [0x5040a0]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [0x5040b4]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov eax, dword [0x50406c]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [esp], eax
push eax
push eax
push eax
push 1
mov edx, dword [0x5040c0]
push edx
call edi
mov edi, eax
test edi, edi
jne 0x4808f4
xor edx, edx
push edx
mov ecx, dword [0x5040c8]
mov eax, dword [0x504060]
push eax
push edx

Function at 0x480904
Capabilities:
Terminate process

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
push edx
push ecx
push edi
call dword [esp + 0x1c]
mov ecx, eax
test ecx, ecx
je 0x4808ec
mov edx, dword [0x5040b0]
lea eax, [esp]
push eax
push edx
lea edi, [ebp + 0x20a]
push edi
push ecx
call esi
test eax, eax
je 0x4808ec
mov eax, dword [esp]
test eax, eax
jbe 0x4808ec
lea eax, [ebp + eax + 0x20a]
cmp eax, edi
je 0x4808ec
mov ecx, dword [ebp + 0x20a]
xor edx, edx
mov ebp, dword [0x50408c]
mov esi, dword [ebp + edx]
add esi, ecx
mov dword [edx + eax], esi
add edx, 4
cmp edx, 0x80
jl 0x480944
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4808ec
xor eax, eax
lea ecx, [esp + 8]
push eax
push eax
mov edx, dword [0x5040bc]
push edx
push ecx
call ebx
jmp 0x4808ec
Function at 0x480bc0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x480c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x504038]
cmp dword [eax], 2
jne 0x480c03
push 1
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x480c51
mov eax, esi
call fcn.004064d4
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406604
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x480c36
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x480c51
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c6e
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x481a3c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x4a4d80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4a4dcc
cmp dword [ebp - 0x104], 2
jne 0x4a4dcc
cmp dword [ebp - 0x110], 5
ja 0x4a4dca
cmp dword [ebp - 0x110], 5
jne 0x4a4dcc
cmp dword [ebp - 0x10c], 1
jb 0x4a4dcc
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ab098
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x50a438
mov eax, esi
mov edx, 8
test al, 1
je 0x4ab0b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ab0b6
shr eax, 1
dec edx
jne 0x4ab0a7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ab0a0
pop esi
ret

Function at 0x4ab0cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x50a434], 0
jne 0x4ab0ef
call fcn.004ab098
push 1
push 0x50a434
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4ab11a
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x50a438]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4ab0f5
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4abc84
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x4ac970
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004064d4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4aca12
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4aca0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4ac9f5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4aca34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4ac9f5
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aca29
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
mov eax, dword [0x504038]
cmp dword [eax], 1
je 0x4aca29
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ac794
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afcbc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4afcea
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.00406640
jmp 0x4afcf3
mov eax, ebx
xor edx, edx
call fcn.00406448
add esp, 0x24
pop ebx
ret

Function at 0x4afcf8
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4afd29
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00406640
jmp 0x4afd32
mov eax, ebx
xor edx, edx
call fcn.00406448
add esp, 0x208
pop ebx
ret

Function at 0x4afd44
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x504038]
cmp dword [eax], 2
jne 0x4afdac
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4afd67
xor eax, eax
jmp 0x4afdbb
lea eax, [esp + 8]
push eax
push 0x4afdc0
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4afdac
xor eax, eax
jmp 0x4afdbb
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x4afde8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4afe42
inc esi
xor edi, edi
cmp edi, 1
jne 0x4afe0e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x4afe1c
cmp edi, 1
jle 0x4afe1c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004acdd4
test eax, eax
jne 0x4afe42
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4afe42
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4afe42
inc edi
dec esi
jne 0x4afdfe
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4b06a0
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.0047fa1c
and eax, 0x7f
mov ecx, dword [eax*4 + 0x5032dc]
mov edx, 0x80000002
xor eax, eax
call fcn.0047fc4c
test eax, eax
jne 0x4b06ea
mov eax, esi
call fcn.004064d4
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
call fcn.004064d4
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x4b070b
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop esi
pop ebx
ret
Function at 0x4b8340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
lea edi, [ebp - 0x11d0]
xor eax, eax
push ebp
push 0x4b856d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [edi]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11cc]
call fcn.004b4fd0
cmp dword [ebp - 0x1084], 0x418
jle 0x4b8402
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 0x1004]
mov al, 0xc3
call fcn.004ab7d4
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x40aa28]
call fcn.0041185c
call fcn.00404a74
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call fcn.004055f4
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004b7c9c
mov edx, dword [ebp - 0x11ec]
mov eax, dword [edi]
add eax, 0x14
call fcn.00406448
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call fcn.004055f4
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004b7c9c
mov edx, dword [ebp - 0x11f4]
mov eax, dword [edi]
add eax, 0x18
call fcn.00406448
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [edi]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x4b852e
push ebp
mov eax, esi
mov edx, 0xa
call fcn.004b82c8
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.004b5784
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x4b84cf
push ebp
call fcn.004b8120
pop ecx
xor eax, eax
push ebp
push 0x4b8500
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call fcn.004b82c8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b851a
mov edx, dword [ebp - 0x11e4]
mov eax, dword [edi]
call fcn.004b57c0
dec ebx
jne 0x4b8498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8574
lea eax, [ebp - 0x11f8]
call fcn.0040527c
lea eax, [ebp - 0x11f4]
call fcn.00406438
lea eax, [ebp - 0x11f0]
call fcn.0040527c
lea eax, [ebp - 0x11ec]
mov edx, 2
call fcn.00406440
ret
Function at 0x4b8710
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x504038]
cmp dword [eax], 2
jne 0x4b873b
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jae 0x4b8747
mov dword [ebp - 0xc], 1
jmp 0x4b8952
push 0x4b8960
call sub.kernel32.dll_GetModuleHandleW_2
mov esi, eax
push 0x4b897c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
push 0x4b8994
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x4b89ac
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
test edi, edi
je 0x4b878c
cmp dword [ebp - 0x10], 0
je 0x4b878c
cmp dword [ebp - 0x14], 0
jne 0x4b8798
mov dword [ebp - 0xc], 0x7f
jmp 0x4b8952
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call edi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b8952
xor edx, edx
push ebp
push 0x4b894b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 0xc]
shl eax, 5
call fcn.00403000
mov dword [ebp - 0x24], eax
mov esi, ebx
mov edi, dword [ebp + 0xc]
dec edi
test edi, edi
jl 0x4b8887
inc edi
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
movzx eax, byte [esi + 6]
push eax
push esi
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
jne 0x4b883c
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b8832
mov dword [ebp - 0xc], 0x57
call fcn.00404b68
jmp 0x4b8952
mov eax, ebx
add eax, eax
add eax, eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x10]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 4], 1
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [edx + eax*8 + 8], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x14], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x18], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x1c], ecx
add esi, 0x14
inc ebx
dec edi
jne 0x4b87f6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b88ad
call fcn.00404b68
jmp 0x4b8952
xor eax, eax
push ebp
push 0x4b88f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b88f8
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LocalFree
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bf0d4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bf1a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.0047e1bc
lea eax, [ebp - 0x25c]
mov edx, 0x4bf1c4
call fcn.00406854
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4bf18d
xor eax, eax
push ebp
push 0x4bf186
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.004bf084
test al, al
je 0x4bf15b
mov byte [ebp - 1], 1
jmp 0x4bf16f
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4bf146
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf18d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf1ad
lea eax, [ebp - 0x25c]
call fcn.00406438
ret

Function at 0x4bf704
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x4bf718
add esp, 0xfffffff0
call fcn.004044d0
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0045dff4
mov eax, dword [0x4bf7bc]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov edx, 0x79
mov eax, esi
call fcn.0045a684
mov edx, 0x61
mov eax, esi
call fcn.0045a6b8
xor edx, edx
mov eax, esi
call fcn.0045b200
mov dl, 1
mov eax, esi
call fcn.00463c18
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jae 0x4bf777
mov dx, 0xfffe
mov eax, esi
call fcn.0045b248
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x4bf79d
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x64]
call fcn.00430ed0
mov eax, esi
test bl, bl
je 0x4bf7b2
call fcn.00404528
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cd04c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x4cd065
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004064d4
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x4cd099
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.004ccf1c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4ce828
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ce93b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x503c78]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x50343c]
mov edx, 0x80000002
xor eax, eax
call fcn.0047fc4c
test eax, eax
jne 0x4ce8bd
mov esi, edi
test esi, esi
je 0x4ce880
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, edi
call fcn.004064d4
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x4ce8b2
mov eax, 0x4ce958
call fcn.004b2860
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4ce8c7
mov eax, 0x4ce9bc
call fcn.004b2860
test bl, bl
je 0x4ce920
mov eax, edi
call fcn.004064d4
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x4ce8ee
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x4ce920
lea ecx, [ebp - 0x10]
mov edx, 0x4cea10
mov al, 0x3a
call fcn.004ab7d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00480534
mov eax, dword [ebp - 0xc]
mov edx, dword [0x503e48]
mov edx, dword [edx + 0xc8]
call fcn.004cc520
test al, al
je 0x4ce8cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce942
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406440
ret
Function at 0x4d1a50
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4d1b31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d1b16
test bl, 0x10
je 0x4d1b16
lea ecx, [ebp - 4]
mov edx, 0x4d1b4c
mov eax, esi
call fcn.0047e330
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x4d1b70
mov eax, 0x4d1b8c
call fcn.0047eae0
mov edx, 0x4d1bb8
mov eax, dword [ebp - 8]
call fcn.0040c178
test eax, eax
jne 0x4d1b16
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
lea ecx, [ebp - 0xc]
mov edx, 0x4d1c14
mov eax, esi
call fcn.0047e330
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.004064d4
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1b38
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406440
ret
Function at 0x4d2b34
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d2c17
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
je 0x4d2c01
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.004ad9d8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x4d2c34
call fcn.004b2ae4
mov eax, dword [0x503ac0]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.00423440
mov esi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4d2bb0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
movzx eax, byte [ebp - 1]
call fcn.004b8b90
test al, al
jne 0x4d2c01
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x4d2be6
mov eax, 0x4d2c98
call fcn.004b2860
jmp 0x4d2c01
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x4d2d4c
call fcn.004b2ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2c1e
lea eax, [ebp - 0x1c]
call fcn.00406438
ret