joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c760
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00578cb0
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [esp + 4]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c7b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00439ce0
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.005792fc
add esp, 0x20c
ret

Function at 0x45c900
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5ddf20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
push ebx
lea eax, [esp + 0x30]
push eax
push esi
mov byte [esp + 0x60], 1
call fcn.0045c890
push ebx
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.0045c890
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, dword [esp + 0x14]
mov edi, 0x10
cmp dword [esp + 0x28], edi
jae 0x45c999
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x45c9a7
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
call fcn.005072d0
add esp, 0x14
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x45c9d5
mov edx, dword [esp + 0x14]
push edx
call fcn.00506f70
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp dword [esp + 0x44], edi
jb 0x45c9f8
mov eax, dword [esp + 0x30]
push eax
call fcn.00506f70
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005792fc
add esp, 0x48
ret
Function at 0x45cb30
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
cmp dword [ebx + 0x18], 8
push ebp
push edi
lea ebp, [ebx + 4]
jb 0x45cb46
mov eax, dword [ebp]
jmp 0x45cb48
mov eax, ebp
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x45cb5b
pop edi
pop ebp
pop ebx
pop ecx
ret
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.004cf9f2
mov esi, eax
add esp, 4
test esi, esi
jne 0x45cb8e
push eax
call fcn.00579478
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
push 0
push esi
call fcn.00578cb0
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x45cba3
mov ebp, dword [ebp]
push esi
push edi
xor edi, edi
push edi
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45cbd3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.StringFileInfo080404B0FileVersion
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x45cbe4
push esi
call fcn.00579478
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
call fcn.0043b2d0
push esi
call fcn.00579478
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x4603c0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
push edi
mov edi, ecx
test ebx, ebx
jne 0x4603d9
pop edi
xor eax, eax
pop ebx
add esp, 0x3c
ret 4
push esi
push 0x208
lea esi, [edi + 0x1c]
push 0
push esi
call fcn.00578cb0
push 0x208
add edi, 0x224
push 0
push edi
call fcn.00578cb0
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00578cb0
add esp, 0x24
lea ecx, [esp + 0xc]
push ecx
mov eax, 0x103
push 0
push ebx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
pop esi
pop edi
pop ebx
add esp, 0x3c
ret 4
Function at 0x460450
Capabilities:
Check http status code

Disassembly:
sub esp, 0x88
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
mov esi, ecx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x13
push edx
mov dword [esp + 0x1c], 0x20
call edi
test eax, eax
jne 0x4604ac
mov ecx, esi
call fcn.00460360
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.005792fc
add esp, 0x88
ret
lea eax, [esp + 0xc]
push eax
call fcn.0057c5b0
add esp, 4
cmp eax, 0xc8
je 0x4604c7
cmp eax, 0xce
jne 0x46048e
mov eax, dword [esi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x54]
push edx
push 5
push eax
mov dword [esp + 0x1c], 0x20
call edi
cmp eax, 1
jne 0x46050c
lea ecx, [esp + 0x4c]
push ecx
call fcn.0057c5b0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.005792fc
add esp, 0x88
ret
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.005792fc
add esp, 0x88
ret

Function at 0x460530
Capabilities:
Get file size

Disassembly:
push ecx
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0x14], eax
push 0
setne al
push 0x8000000
lea eax, [eax + eax + 2]
push eax
push 0
push 0
push 0x40000000
lea eax, [esi + 0x42c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x46056f
mov ecx, esi
call fcn.00460360
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, dword [esi]
push 2
push 0
push 0
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4608d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x46096a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x46096a
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x460928
push esi
push str.CCodeConvert::ConvertToFileBinary____Could_not_open_file__ls.__n
call fcn.0057c74b
add esp, 8
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
test esi, esi
jbe 0x460919
push esi
call fcn.004cf9f2
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [esp + 0x18]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x465570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de9d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004639c0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], 0
call fcn.004653a0
xor edx, edx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov byte [esp + 0x24], 1
mov word [ecx + 4], dx
call fcn.00439be0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x466b60
Capabilities:
Initialize winhttp library

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov dword [esi + 4], eax
mov dword [esi], vtable.CHttpAsynDown_class_WindowMsgQueue_.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
mov dword [esi + 8], vtable.WindowMsgQueue.0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x40], eax
push 0x10000000
mov ecx, 7
mov dword [esi + 0x44], ecx
push eax
xor edx, edx
mov word [esi + 0x30], dx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], eax
push eax
xor ecx, ecx
mov word [esi + 0x4c], cx
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_2000_
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
ret 0xc

Function at 0x467ea0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x467ec0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x467ed4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x467f00
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x467f16
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x467f23
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x468580
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x4685f6
xor eax, eax
cmp ecx, edi
je 0x4685e4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x468604
cmp ecx, edi
je 0x4686a2
push ecx
jmp 0x46869c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x46866c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00468580
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4686bb
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x468630
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x46867f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4686a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.005792fc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x4686a4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005792fc
mov esp, ebp
pop ebp
ret 4
Function at 0x46ffc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x5df110
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x470042
call fcn.00467d10
mov edi, eax
jmp 0x470124
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47005b
call fcn.00467d10
jmp 0x47011b
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x470076
call fcn.00467d10
jmp 0x47011b
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x4700ac
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x47009a
lea ecx, [ebp]
call fcn.00468520
lea ecx, [ebp - 0x20]
call fcn.004671d0
mov eax, 0x8007000e
jmp 0x470136
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00469320
mov dword [ebp - 4], 1
jmp 0x4700d8
mov eax, dword [ebp]
test eax, eax
jne 0x4700e6
mov edi, 0x8007000e
jmp 0x47011d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x4700ff
call fcn.00467d10
jmp 0x47011b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0046ac20
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x470134
lea ecx, [ebp]
call fcn.00468520
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.005792fc
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x473330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df473
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov word [esi + 0x20], ax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call fcn.004a2c60
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x473880
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4738bf
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push ebp
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
jne 0x4738fb
mov edx, dword [esp + 0x18]
push 1
push ebx
push ebx
push edx
call fcn.0057d320
xor ecx, ecx
add eax, ebp
adc edx, ecx
mov dword [edi], eax
mov dword [edi + 4], edx
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
ret

Function at 0x474190
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x474223
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push edi
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_DosDateTimeToFileTime]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x474210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test edi, 0x100
ja 0x4741ff
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFileTimeToFileTime]
lea ecx, [esp + 0xc]
push ecx
push 0
mov edx, ecx
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
and edi, 0x27
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x474c80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x114], eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
call fcn.00578cb0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x474cea
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x474cd3
cmp eax, 4
jne 0x474cea
cmp dword [esp + 8], 0x5a
jb 0x474cea
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005792fc
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.005792fc
add esp, 0x118
ret
Function at 0x477780
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5df768
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x2c]
push 0x324
xor ebx, ebx
push ebx
push esi
mov dword [esp + 0x30], 1
call fcn.00578cb0
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea ebp, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4777d0
sub eax, ebp
sar eax, 1
cmp eax, dword [esp + 0x34]
jb 0x4777fc
push 0x62d930
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], str.The_string_has_no_terminating_null_character_
call fcn.00578eca
cmp eax, 3
jb 0x477994
mov edx, dword [esp + 0x38]
mov eax, edx
lea ebp, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x477810
sub eax, ebp
sar eax, 1
cmp eax, dword [esp + 0x3c]
jb 0x47783c
push 0x62d930
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], str.The_string_has_no_terminating_null_character_
call fcn.00578eca
cmp eax, 3
jb 0x477994
mov ebp, dword [esp + 0x44]
cmp ebp, 0x4e20
jb 0x477994
cmp ebp, 0x7fff0000
jae 0x477899
push 0x5f4864
push edx
call fcn.0057aa8e
add esp, 8
test eax, eax
jne 0x477899
mov edx, dword [esp + 0x30]
push edx
mov dword [edi + 0x10b4], 0x3e9
mov dword [edi + 0x10b8], ebx
mov dword [edi + 0x10bc], ebx
call fcn.00579478
mov eax, dword [esp + 0x3c]
push eax
jmp 0x4779b9
lea ecx, [esp + 0x30]
push ecx
call fcn.00454070
add esp, 4
push 0x12c
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00453c20
mov edx, dword [esp + 0x14]
mov byte [edx], bl
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.004735e0
push 0x100
lea ecx, [esi + 0x222]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453d00
test eax, eax
jne 0x47792a
mov edx, dword [esp + 0x14]
push edx
mov dword [edi + 0x10b4], 0x3eb
mov dword [edi + 0x10b8], ebx
mov dword [edi + 0x10bc], ebx
call fcn.00579478
mov eax, dword [esp + 0x34]
push eax
call fcn.00579478
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00579478
add esp, 0xc
jmp 0x4779c1
mov eax, dword [esp + 0x38]
mov dx, word [esp + 0x40]
and ebp, 0x7fffffff
mov dword [esi], ebp
mov ebp, 1
push eax
lea ecx, [edi + 0x10c8]
mov dword [esi + 4], 0xdbba0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov word [esi + 0x20], dx
call fcn.004735e0
push ebx
push esi
mov ecx, edi
call fcn.00454840
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00579478
mov edx, dword [esp + 0x34]
push edx
call fcn.00579478
mov eax, dword [esp + 0x40]
push eax
call fcn.00579478
add esp, 0xc
mov eax, ebp
jmp 0x4779c3
mov ecx, dword [esp + 0x30]
push ecx
mov dword [edi + 0x10b4], 0x3e9
mov dword [edi + 0x10b8], ebx
mov dword [edi + 0x10bc], ebx
call fcn.00579478
mov edx, dword [esp + 0x3c]
push edx
call fcn.00579478
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x1c
Function at 0x477ea0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
cmp eax, 1
jne 0x477f24
mov eax, dword [ecx + 0xc]
cmp eax, 6
jne 0x477ed6
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x824], 1
mov eax, 1
pop esi
ret 4
cmp eax, 3
jne 0x477efa
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop esi
ret 4
cmp eax, 4
jne 0x477f0f
mov ecx, esi
call fcn.004731a0
mov eax, 1
pop esi
ret 4
cmp eax, 5
jne 0x477f24
mov ecx, esi
call fcn.00472ff0
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x824], 0
xor eax, eax
pop esi
ret 4