joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1ae9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov eax, dword [0x69c108]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esp + 0x20]
call fcn.005eae6a
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x34], 2
call fcn.005eb22e
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
cmp eax, 2
jle 0x4f1c87
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.005e722e
mov eax, dword [eax]
push 0x67d6ac
push eax
call fcn.005ce8ce
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.005eb0f5
test bl, bl
je 0x4f1c87
push str.Unknown_error
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
call fcn.005eb163
push 0x675ee8
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.005eb163
mov edx, dword [0x6a1210]
lea ecx, [esp + 8]
add edx, 0x2ae0
mov byte [esp + 0x30], 4
push edx
call fcn.005eae6a
mov bl, 5
push 0x3e
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.005e72a6
cmp eax, 0xffffffff
je 0x4f1bfc
mov ecx, dword [esp + 8]
lea edx, [esp + 0x20]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 2
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.005e71b2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.005eb22e
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.005eb0f5
jmp 0x4f1c15
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f1c15
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.005eb22e
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005eae6a
mov ecx, esi
call fcn.004f1d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
dec eax
push ecx
mov dword [esp + 0x18], eax
push eax
push edx
lea eax, [esp + 0x28]
push str._s__Line__d:__s
push eax
call fcn.005e764e
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call fcn.005eb0f5
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.005eb0f5
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.005eb0f5
call fcn.005f0f7c
test eax, eax
je 0x4f1c9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x4f1c9f
xor eax, eax
jmp 0x4f1ca2
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x30
push str.Error
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005eb0f5
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005eb0f5
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4

Function at 0x4f4af0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4f5c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x615d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x69c108]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x78]
push esi
push esi
push 0x188
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [edi + 0x5c]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.004f12e0
mov edx, dword [edi + 0xb0]
mov ebx, dword [edx + 0x2a70]
cmp ebx, esi
je 0x4f5d6f
mov eax, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
test esi, esi
je 0x4f5d63
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._s_n_s_n_s_n_s
push ecx
call fcn.005e764e
add esp, 0x18
mov ecx, edi
push esi
call fcn.004f5f40
test eax, eax
je 0x4f5d5f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, ebp
call fcn.004f1260
push esi
push eax
mov ecx, ebp
call fcn.004f1300
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4f5d5f
inc dword [esp + 0x18]
inc dword [esp + 0x10]
test ebx, ebx
jne 0x4f5cf8
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4f5d7b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc4]
jmp 0x4f5dad
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
setle al
push eax
push 2
mov ecx, edi
call fcn.005ee7a1
mov ecx, eax
call fcn.005eea4f
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x78]
push 0
push ecx
push 0x186
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4fc0f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x616b18
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [ecx + 0x64]
push str._tblNotificationMessages
push esi
mov dword [esp + 0x14], 0
call fcn.00562750
push 0xffffd8ef
push esi
call fcn.005628d0
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.00562750
mov ecx, dword [esp + 0x30]
push ecx
push esi
call fcn.00562750
push 0xfffffffffffffffd
push esi
call fcn.00562a90
push 0xfffffffffffffffe
push esi
call fcn.00562120
add esp, 0x30
lea ecx, [esp + 0x14]
call fcn.005eb0f5
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 8

Function at 0x4fc180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x616b57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
mov eax, dword [0x69c108]
mov esi, dword [ecx + 0x64]
mov dword [esp + 0x14], 1
mov dword [esp + 4], eax
push str._tblNotificationMessages
push esi
mov byte [esp + 0x1c], 2
call fcn.00562750
push 0xffffd8ef
push esi
call fcn.005628d0
mov ecx, dword [esp + 0x30]
push ecx
push esi
call fcn.00562750
push 0xfffffffffffffffe
push esi
call fcn.005628d0
push 0xffffffffffffffff
push esi
call fcn.00562530
add esp, 0x28
lea ecx, [esp + 4]
push eax
call fcn.005eb27e
push 0xfffffffffffffffe
push esi
call fcn.00562120
push 0xfffffffffffffffe
push esi
call fcn.00562120
mov esi, dword [esp + 0x2c]
add esp, 0x10
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.005eae6a
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.005eb0f5
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4fe120
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x616db2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
xor ebx, ebx
push 0x4b90
mov dword [edi], 0x64
mov dword [esp + 0x2c], ebx
mov dword [ebp], 0x32
call fcn.005eae36
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x4fe17c
mov ecx, eax
call fcn.004e8550
mov esi, eax
jmp 0x4fe17e
xor esi, esi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x28], bl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x44], eax
call fcn.005f0f7c
cmp eax, ebx
je 0x4fe19e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4fe1a0
xor eax, eax
mov edx, dword [esi]
push ebx
push 0x270f
push eax
lea eax, [esp + 0x1c]
mov ecx, 0x64
push eax
push 0x40000000
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push str.VideoWindow
push ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [edx + 0x54]
test eax, eax
je 0x4fe23a
push ebx
mov ecx, esi
call fcn.005eea0d
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005eae6a
mov ecx, esi
call fcn.004ea380
mov ecx, dword [esi + 0x3c]
push ebx
call fcn.005eea4f
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x10]
push eax
call fcn.004eca80
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi], ecx
mov dword [ebp], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
cmp esi, ebx
je 0x4fe22e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp dword [esp + 0x3c], ebx
je 0x4fe247
add dword [ebp], 0x19
jmp 0x4fe247
cmp esi, ebx
je 0x4fe247
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x24
Function at 0x4ff160
Capabilities:
Access peb ldr_data
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x616fa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
push 0x6a0f60
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.005eb163
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 1
call fcn.0041a780
mov eax, dword [0x69c108]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.NONE
mov byte [esp + 0x13c], 3
call fcn.005eb163
push ecx
mov byte [esp + 0x13c], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push str.InstallerLocation
call fcn.005eb163
push ecx
mov byte [esp + 0x140], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
call fcn.005eb163
push 3
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 3
call fcn.0041b1c0
test eax, eax
je 0x4ff29e
mov edx, dword [esp + 0xc]
push str.NONE
push edx
call fcn.005cebb3
add esp, 8
test eax, eax
je 0x4ff29e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ff29e
push 0x6713a0
lea ecx, [esp + 0x10]
call fcn.005e76aa
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.005eae6a
push 0x679518
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 6
call fcn.005eb4d1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ff28d
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
call fcn.005eb22e
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 3
call fcn.005eb0f5
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4ff355
push str.msi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ff355
lea edx, [esp + 0x20]
push 0x104
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x4ff34e
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
call fcn.005eb163
push 0x5c
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 7
call fcn.005e72a6
cmp eax, 0xffffffff
je 0x4ff33d
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.005e722e
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x130], 8
call fcn.005eb22e
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 7
call fcn.005eb0f5
push 0x6713a0
lea ecx, [esp + 8]
call fcn.005e76aa
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 3
call fcn.005eb0f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4ff38c
lea eax, [esp + 0x20]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 8]
call fcn.005eb27e
push 0x6713a0
lea ecx, [esp + 8]
call fcn.005e76aa
mov esi, dword [esp + 0x134]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 2
call fcn.005eb0f5
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 1
call fcn.0041a7b0
lea ecx, [esp + 4]
mov byte [esp + 0x12c], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0x124]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x12c
ret
Function at 0x5063f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x617965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x69c108]
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x12c]
lea ecx, [esp + 0xc]
push ecx
push edx
push 0
mov dword [esp + 0x12c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x5064a7
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x5064a7
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x14]
push edx
call esi
cmp byte [esp + eax + 0x13], 0x5c
jne 0x506499
lea eax, [esp + 0x14]
push eax
call esi
mov byte [esp + eax + 0x13], 0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 8]
call fcn.005eb27e
mov esi, dword [esp + 0x128]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret 8

Function at 0x506673
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x61797a
call fcn.005d1d1c
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov dword [ebp - 0x14], ebx
cmp eax, 0xffffffff
mov dword [ebp - 4], ebx
je 0x506715
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x506715
push 0x360
call fcn.005eae36
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x5066c4
call fcn.005067ae
jmp 0x5066c6
xor eax, eax
push eax
mov byte [ebp - 4], bl
push dword [esi]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x5066f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x667b94
push eax
call fcn.005d06b1
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esi + 4]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00506731
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x50a7cf
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
xor edx, edx
mov al, 1
shl al, cl
inc ecx
dec edx
cmp edx, 0xfffffff8
mov byte [ecx + 0x6a1397], al
mov byte [edx + 0x6b23d8], al
not al
mov byte [ecx + 0x6b13c7], al
jg 0x50a7d3
xor ecx, ecx
mov dl, cl
mov al, cl
shl dl, 4
shr al, 4
xor al, dl
and al, 0xf
xor al, dl
mov dl, al
shl dl, 2
shr al, 2
xor al, dl
and al, 0x33
xor al, dl
mov dl, al
add dl, dl
shr al, 1
xor al, dl
and al, 0x55
xor al, dl
mov byte [ecx + 0x6a1238], al
inc ecx
cmp ecx, 0x100
jl 0x50a7f4
push ebx
push ebp
push esi
push edi
push 7
mov esi, 0x6a1358
pop edi
mov edx, 0xff
mov ecx, edi
xor eax, eax
sar edx, cl
or bl, 0xff
mov ecx, eax
shl bl, cl
and bl, dl
mov byte [esi + eax], bl
inc eax
cmp eax, 8
jl 0x50a844
dec edi
add esi, 8
cmp edi, 0xffffffff
jg 0x50a839
xor esi, esi
mov eax, esi
xor ecx, ecx
shl eax, 3
lea edi, [eax + 0x6b13d7]
mov ebp, edi
xor edx, edx
inc edx
shl edx, cl
test esi, edx
setne dl
mov byte [ebp], dl
inc ecx
dec ebp
cmp ecx, 8
jl 0x50a870
lea ecx, [eax + 0x6b13d2]
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
movzx ebx, byte [ecx - 1]
movzx ecx, byte [ecx - 2]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x6b13d6]
mov dword [eax + 0x6b1bd0], edx
mov ch, byte [edi]
movzx edx, byte [eax + 0x6b13d5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x6b13d4]
shl ecx, 8
or ecx, edx
inc esi
cmp esi, 0x100
mov dword [eax + 0x6b1bd4], ecx
jl 0x50a861
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x50c5d9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x7b
mov byte [ebp - 0x67], 0x44
mov byte [ebp - 0x66], 0x5f
mov byte [ebp - 0x65], 0x59
mov byte [ebp - 0x64], 0x58
mov byte [ebp - 0x63], 0x4c
mov byte [ebp - 0x62], 0x41
mov byte [ebp - 0x61], 0x7d
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0x42
mov byte [ebp - 0x5e], 0x59
mov byte [ebp - 0x5d], 0x48
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.0050c240
push eax
push edi
push dword [ebp + 8]
call fcn.0050c1f5
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.0050c240
push eax
push edi
push dword [ebp + 8]
call fcn.0050c1f5
add esp, 0x20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0x7b
mov byte [ebp - 0x81], bl
jg 0x50c6a0
invalid
inc esi
inc ebp
add bl, 0xc6
inc ebp
and ecx, 0xf08245c6
mov byte [ebp - 0x7d], 0xc9
mov byte [ebp - 0x7c], 0xeb
mov byte [ebp - 0x7b], 0xe0
mov byte [ebp - 0x7a], 0xf1
mov byte [ebp - 0x79], 0xe8
mov byte [ebp - 0x78], 0xe1
mov byte [ebp - 0x77], 0xcc
mov byte [ebp - 0x76], 0xe5
mov byte [ebp - 0x75], 0xea
mov byte [ebp - 0x74], 0xe0
mov byte [ebp - 0x73], 0xe8
mov byte [ebp - 0x72], 0xe1
mov byte [ebp - 0x71], 0xc5
mov byte [ebp - 0x70], 0x84
call fcn.0050c230
dec eax
dec esi
and eax, 0x7c858d84
invalid
Function at 0x50c8bf
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x50c8ef
lea edi, [eax + 8]
mov ecx, dword [eax + 4]
add ecx, eax
cmp edi, ecx
jae 0x50c8ea
movzx ecx, word [edi]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
add byte [eax], al
cmp edx, 0x3000
jne 0x50c8de
mov edx, dword [ebp + 0xc]
and ecx, 0xfff
add ecx, dword [ebp + 0xc]
sub edx, dword [esi + 0x34]
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x50c8e6
cmp edx, ebx
jne 0x50ca3b
inc edi
inc edi
jmp 0x50c8ad
add eax, dword [eax + 4]
jmp 0x50c8a6
mov dword [ebp - 8], ebx
jmp 0x50c8fa
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x50c913
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x50c93b
call fcn.0050c230
int 0xd6
and ah, byte [edi]
movzx eax, word [ebp - 8]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x50c991
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x50c97a
or byte [eax + ecx], 1
cmp edi, ebx
je 0x50c982
or byte [eax + ecx], 2
cmp esi, ebx
je 0x50c98b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x50c96f
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x50c8f4
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x50c9de
dec eax
je 0x50c9d5
sub eax, 3
je 0x50c9cc
mov dword [ebp - 4], 0x40
jmp 0x50c9e1
mov dword [ebp - 4], 4
jmp 0x50c9e1
mov dword [ebp - 4], 0x20
jmp 0x50c9e1
mov dword [ebp - 4], ecx
call fcn.0050c230
fisttp dword [eax + 0x22]
mov ch, 0x83
jge 0x50c9e9
inc eax
je 0x50ca08
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x50ca3b
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x50c9ad
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
add esi, dword [ebp + 0xc]
call fcn.0050c230
loop 0x50ca43
popfd
lodsd eax, dword [esi]
push dword [ebp + 0x14]
jne 0x50ca43
push 1
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 0xc]
jmp 0x50ca49
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
or al, 0xff
push ebp
hlt
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50f409
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
dec ecx
je 0x50f4e7
dec ecx
je 0x50f4a7
dec ecx
je 0x50f48d
dec ecx
je 0x50f46f
dec ecx
je 0x50f435
xor eax, eax
jmp 0x50f4fa
test byte [eax + 0x14c], 1
je 0x50f42e
mov edi, dword [ebp + 0xc]
push edi
push 0
push dword [ebp + 8]
call fcn.005d2100
mov eax, dword [esi + 4]
add esp, 0xc
add dword [eax + 0x1c], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
cmp ecx, edx
ja 0x50f464
mov ecx, edx
mov dword [eax + 0x20], ecx
xor eax, eax
inc eax
jmp 0x50f4fa
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
push 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
jmp 0x50f4fa
mov ecx, dword [eax + 0x130]
test ecx, ecx
je 0x50f42e
push dword [eax + 0x14c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call ecx
jmp 0x50f4fa
cmp byte [eax + 0x129], 0
mov edi, dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
je 0x50f4bb
mov ecx, dword [eax + 0x20]
jmp 0x50f4be
mov ecx, dword [eax + 0x18]
sub ecx, edx
cmp ecx, edi
jae 0x50f4c6
mov edi, ecx
test edi, edi
jbe 0x50f4e3
mov eax, dword [eax + 0x14]
push edi
add eax, edx
push eax
push dword [ebp + 8]
call dword [0x6a1344]
mov eax, dword [esi + 4]
add esp, 0xc
add dword [eax + 0x1c], edi
mov eax, edi
jmp 0x50f4fa
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.005d0768
add esp, 0x10
pop edi
pop esi
leave
ret 8

Function at 0x50f7d2
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esi], ebx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
dec ecx
je 0x50f844
dec ecx
je 0x50f832
dec ecx
je 0x50f818
dec ecx
je 0x50f7f8
dec ecx
je 0x50f83a
xor al, al
jmp 0x50f868
cmp byte [eax + 0x129], bl
je 0x50f809
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [edi + 4]
push ebx
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x50f864
mov ecx, dword [eax + 0x140]
cmp ecx, ebx
je 0x50f7f4
push esi
push dword [eax + 0x14c]
call ecx
test eax, eax
setne al
jmp 0x50f868
cmp byte [eax + 0x129], bl
je 0x50f83f
mov eax, dword [eax + 0x20]
jmp 0x50f864
mov eax, dword [eax + 0x18]
jmp 0x50f864
cmp byte [eax + 0x129], bl
je 0x50f855
push dword [eax + 8]
call fcn.005d28e0
pop ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push dword [eax + 0x10]
call fcn.005d2856
pop ecx
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
ret 4