joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d570
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43733b
push eax
mov al, byte [0x4489c0]
mov dword fs:[0], esp
sub esp, 0x108
test al, al
jne 0x40d649
push esi
push edi
push 1
lea eax, [esp + 0x10]
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0042d788
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 0x104
push edx
push eax
mov dword [esp + 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0042d857
push str.Naiky_
lea ecx, [esp + 0xc]
call fcn.0042da69
mov edi, dword [esp + 8]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x118], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x4489c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
call fcn.0042d71a
pop edi
mov eax, 0x4489c0
pop esi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
mov ecx, dword [esp + 0x108]
mov eax, 0x4489c0
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x40d6e0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call fcn.0040d670
test al, al
je 0x40d740
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x40db20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4373f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
mov eax, dword [0x445c74]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x2e0]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [esi]
push edx
push str.CController
push eax
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x20], 0
call fcn.00409360
add esp, 0x10
test al, al
je 0x40dd46
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.0042d48f
lea ecx, [esp + 0xc]
mov byte [esp + 0x2dc], 1
call fcn.0042dbaf
push 0x4459b0
push str._ncstudio.dat
lea ecx, [esp + 0x14]
call fcn.0042c728
lea eax, [edi + 0x78]
lea ecx, [esp + 0x10]
push eax
call fcn.0042d48f
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e0], 2
call fcn.0042ca38
mov ecx, dword [esp + 0xc]
inc eax
lea edx, [esp + 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.0042c944
push eax
lea eax, [esp + 0x30]
mov bl, 3
push 0x445afc
push eax
mov byte [esp + 0x2e8], bl
call fcn.0042d996
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 4
call fcn.0042daa5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2dc], bl
call fcn.0042d71a
lea ecx, [esp + 0x24]
mov byte [esp + 0x2dc], 2
call fcn.0042d71a
lea esi, [edi + 0x7c]
push str.ncstudio.fmt
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.0042d922
mov edx, dword [0x445c74]
mov dword [esp + 0x18], edx
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 6
call fcn.0042d807
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [0x4484e8], eax
mov esi, dword [esi]
push ecx
mov dword [0x4484e4], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call fcn.004013e0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov byte [esp + 0x2e8], 7
push str.CController
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
call fcn.004019e0
lea ecx, [esp + 0x30]
mov bl, al
call fcn.00401590
test bl, bl
pop ebx
jne 0x40dcdf
push 0
push 0
push 0x44561c
call fcn.00409780
add esp, 4
mov ecx, edi
push eax
call fcn.00430fe0
mov eax, dword [esp + 0x10]
push eax
call fcn.0042d484
add esp, 4
call fcn.00409af0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d8], 6
call fcn.004014b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2d8], 5
call fcn.0042d71a
lea ecx, [esp + 0x18]
mov byte [esp + 0x2d8], 2
call fcn.0042d71a
lea ecx, [esp + 0xc]
mov byte [esp + 0x2d8], 1
call fcn.0042d71a
lea ecx, [esp + 8]
mov byte [esp + 0x2d8], 0
call fcn.0042d71a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.0042d71a
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2d4
ret 4
Function at 0x40e470
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4374b8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push esi
call edi
test eax, eax
jne 0x40e552
push esi
lea ecx, [esp + 0x28]
call fcn.0042d788
mov eax, dword [0x445c74]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], eax
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esp + 0x1c], 1
push esi
push 0x445afc
lea ecx, [esp + 0x2c]
call fcn.0042ca68
mov esi, eax
cmp esi, 0xffffffff
je 0x40e520
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042c9c0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.0042d807
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.0042d71a
mov edx, dword [esp + 0xc]
push edx
call edi
test eax, eax
jne 0x40e51d
push eax
mov eax, dword [esp + 0x10]
push eax
call ebp
test eax, eax
je 0x40e533
inc esi
jmp 0x40e4c4
mov ecx, dword [esp + 0x24]
push ecx
call edi
test eax, eax
jne 0x40e533
mov edx, dword [esp + 0x24]
push eax
push edx
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.0042d71a
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042d71a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40e5d0
Capabilities:
Check if file exists

Disassembly:
mov al, byte [0x448ac4]
sub esp, 0x104
test al, al
jne 0x40e641
mov eax, dword [str.a:cfinfo.sys]
mov ecx, dword [0x445b8c]
mov edx, dword [0x445b90]
mov dword [esp], eax
mov ax, word [0x445b94]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov word [esp + 0x18], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x1a]
mov dword [esp + 0x14], edx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov bl, 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], bl
push ecx
call esi
test eax, eax
jne 0x40e637
inc bl
cmp bl, 0x7a
jle 0x40e621
mov al, bl
pop edi
pop esi
mov byte [0x448ac4], al
pop ebx
add esp, 0x104
ret
Function at 0x40e6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, byte [esp + 0x54]
push ebx
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov cl, byte [esp + 0x60]
mov dword [esp + 0x58], ebx
mov byte [esp + 0xc], cl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dl, byte [esp + 0x60]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x60], 2
call fcn.0040ee70
mov esi, dword [esp + 0x6c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push eax
push esi
call fcn.0040eb90
lea ecx, [esp + 0x30]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0040e900
mov ecx, dword [esp + 0x84]
mov edi, eax
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0040f2e0
sub edi, eax
add esp, 0x24
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], edi
call fcn.0042dc58
push esi
mov byte [esp + 0x5c], 3
call fcn.0042e546
push ebx
push 0x1002
push esi
lea ecx, [esp + 0x48]
call fcn.0042dccd
test eax, eax
jne 0x40e7d2
push ebx
push ebx
push 0x445634
call fcn.00409780
add esp, 4
push eax
call fcn.00434633
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x3c]
call fcn.0042dffd
lea edx, [esp + 0xc]
push edx
push esi
call fcn.0040f1b0
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0040f1b0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.0042dc8a
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x64], esi
je 0x40e83a
lea ecx, [esi + 4]
mov byte [esp + 0x58], 4
call fcn.0042d71a
mov ecx, esi
mov byte [esp + 0x58], 1
call fcn.0042d71a
add esi, 8
cmp esi, edi
mov dword [esp + 0x64], esi
jne 0x40e812
mov esi, dword [esp + 0x20]
push esi
call fcn.0042d484
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add esp, 4
cmp esi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], esi
je 0x40e886
lea ecx, [esi + 4]
mov byte [esp + 0x58], 5
call fcn.0042d71a
mov ecx, esi
mov byte [esp + 0x58], bl
call fcn.0042d71a
add esi, 8
cmp esi, edi
mov dword [esp + 0x64], esi
jne 0x40e85f
mov esi, dword [esp + 0x10]
push esi
call fcn.0042d484
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
add esp, 4
or ebx, 0xffffffff
cmp esi, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], esi
je 0x40e8dc
lea ecx, [esi + 4]
mov dword [esp + 0x58], 6
call fcn.0042d71a
mov ecx, esi
mov dword [esp + 0x58], ebx
call fcn.0042d71a
add esi, 8
cmp esi, edi
mov dword [esp + 0x64], esi
jne 0x40e8b2
mov esi, dword [esp + 0x30]
push esi
call fcn.0042d484
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x64]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x40ee70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4375c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea ecx, [esp + 0xc]
call fcn.0042dc58
mov eax, dword [esp + 0x30]
push 0
push 0x20
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.0042dccd
test eax, eax
jne 0x40eecf
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042dc8a
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [0x445c74]
push ebx
push esi
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
mov bl, 3
lea edx, [esp + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.0042deb0
test eax, eax
je 0x40efc1
lea ecx, [esp + 8]
call fcn.0042cecb
lea ecx, [esp + 8]
call fcn.0042ce3c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40eee6
mov eax, dword [0x445c74]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x3c], bl
call fcn.0040f000
add esp, 0xc
test al, al
je 0x40efa0
mov eax, dword [0x445c74]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 4
push ecx
lea ecx, [esp + 0x10]
call fcn.0042d807
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.0042d807
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040f730
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.0042d71a
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0042d71a
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.0042d71a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.0042d71a
jmp 0x40eee6
lea ecx, [esp + 0x14]
call fcn.0042dffd
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.0042d71a
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042dc8a
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x412aec
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x412b17
test byte [esp + 8], 0x80
je 0x412b06
and al, 0xfe
jmp 0x412b08
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x412b28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00413943
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x41a669
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x446d58
cmp edx, dword [eax]
je 0x41a68b
add eax, 8
inc ecx
cmp eax, 0x446de8
jl 0x41a67c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x446d58]
jne 0x41a7b9
mov eax, dword [0x44abb0]
cmp eax, 1
je 0x41a793
test eax, eax
jne 0x41a6bc
cmp dword [0x446284], 1
je 0x41a793
cmp edx, 0xfc
je 0x41a7b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41a6f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004168b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004169a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41a736
lea eax, [ebp - 0x1a4]
push eax
call fcn.004169a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43b4b8
push edi
call fcn.00411a10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004168b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004168c0
lea eax, [ebp - 0xa0]
push 0x43b498
push eax
call fcn.004168c0
push dword [esi + 0x446d5c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004168c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041dbdc
add esp, 0x2c
pop edi
jmp 0x41a7b9
lea eax, [ebp + 8]
lea esi, [esi + 0x446d5c]
push 0
push eax
push dword [esi]
call fcn.004169a0
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 0x4319a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4319eb
call fcn.0043559c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4319eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4319e2
xor eax, eax
jmp 0x4319f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004319f9
pop edi
pop esi
pop ebx
ret 4

Function at 0x436086
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4360b4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4360d2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00435fec
jmp 0x4360d2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4360d2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00435fec
test edi, edi
mov eax, edi
jne 0x4360bc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406623
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004054d4
and dword [ebp - 4], 0
cmp dword [0x4506c8], 0
mov ebx, eax
jne 0x4066d4
push 0x401c60
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406785
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c54
push edi
call esi
test eax, eax
je 0x406785
push eax
call fcn.00405462
mov dword [esp], 0x401c44
push edi
mov dword [0x4506c8], eax
call esi
push eax
call fcn.00405462
mov dword [esp], 0x401c30
push edi
mov dword [0x4506cc], eax
call esi
push eax
call fcn.00405462
mov dword [esp], 0x401c14
push edi
mov dword [0x4506d0], eax
call esi
push eax
call fcn.00405462
pop ecx
mov dword [0x4506d8], eax
test eax, eax
je 0x4066d4
push 0x401bfc
push edi
call esi
push eax
call fcn.00405462
pop ecx
mov dword [0x4506d4], eax
mov eax, dword [0x4506d4]
cmp eax, ebx
je 0x40672c
cmp dword [0x4506d8], ebx
je 0x40672c
push eax
call fcn.004054dd
push dword [0x4506d8]
mov esi, eax
call fcn.004054dd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40672c
test edi, edi
je 0x40672c
call esi
test eax, eax
je 0x406723
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406723
test byte [ebp - 0xc], 1
jne 0x40672c
or dword [ebp + 0x10], 0x200000
jmp 0x406765
mov eax, dword [0x4506cc]
cmp eax, ebx
je 0x406765
push eax
call fcn.004054dd
pop ecx
test eax, eax
je 0x406765
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406765
mov eax, dword [0x4506d0]
cmp eax, ebx
je 0x406765
push eax
call fcn.004054dd
pop ecx
test eax, eax
je 0x406765
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4506c8]
call fcn.004054dd
pop ecx
test eax, eax
je 0x406785
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406787
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4079f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
popal
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004076e4
mov es, ebp
Function at 0x40861b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004076f4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004076a9
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004076e4
call 0x68c3722c
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.004076e4
and eax, 0x80c63bb8
loopne 0x408702
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
Function at 0x4090db
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x40978a
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40925f
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.004076f4
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.004076f4
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
invalid
invalid
Function at 0x41f76e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x41f7d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f7b3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f7be
mov esi, 0x80004005
push esi
push 0x41
push 0x445aba
call fcn.004315ca
push 0x445b58
jmp 0x41f835
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x41f5aa
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x41f83f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f818
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f823
mov esi, 0x80004005
push esi
push 0x4a
push 0x445aba
call fcn.004315ca
push 0x445b3c
push esi
call fcn.004315b6
pop ecx
pop ecx
jmp 0x41f84e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], edi
je 0x41f861
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
je 0x41f86b
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret 0xc

Function at 0x420b54
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, 0x20000004
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x420be1
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.00420aa4
mov esi, eax
cmp esi, edi
jge 0x420b8c
push 0x446234
jmp 0x420bd2
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x420bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420bb2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x420bbd
mov esi, 0x80004005
push esi
push 0x599
push 0x446162
call fcn.004315ca
push 0x44621a
push esi
call fcn.004315b6
pop ecx
pop ecx
jmp 0x420c0c
mov ecx, 0x20000005
push 0x7d0
push 3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push ecx
push 1
push dword [ebp + 0xc]
call fcn.00436484
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 4], edi
je 0x420c19
push dword [ebp - 4]
call fcn.00431962
pop edi
mov eax, esi
pop esi
leave
ret 8