joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5123e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov edi, eax
mov dword [esi + 4], edi
test edi, edi
jne 0x512439
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00535e40
mov dword [ebp - 8], eax
cmp dword [ebp + 8], edi
je 0x512439
push str.thread.entry_event
lea ecx, [ebp - 0xc]
push ecx
call fcn.004380c0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], 0
jne 0x512488
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
call fcn.00535e40
cmp dword [ebp + 8], 0
mov dword [ebp - 8], eax
je 0x512488
push str.thread.exit_event
lea edx, [ebp - 0xc]
push edx
call fcn.004380c0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x507f90
push ecx
push 0
mov dword [ebp - 4], 0
call fcn.0055ea02
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
jne 0x5124fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test edi, edi
je 0x5124ce
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x5124dc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], esi
call fcn.00535e40
mov dword [ebp - 8], eax
test esi, esi
je 0x5124fc
push str.thread
lea ecx, [ebp - 0xc]
push ecx
call fcn.004380c0
test edi, edi
je 0x512510
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x512520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e03f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [esi + 0x2c], edi
call fcn.00507ed0
mov ebx, eax
call fcn.00535e40
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x5125a7
push str.mutex
lea ecx, [ebp - 0x18]
push ecx
call fcn.004380c0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
or ecx, 0xffffffff
mov byte [ebp - 4], 5
mov dword [ebp + 8], ecx
lea eax, [ebp + 8]
cmp dword [ebp + 0xc], ecx
ja 0x5125c5
lea eax, [ebp + 0xc]
mov edx, dword [eax]
push edx
push edi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x5125fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x18], ebx
call fcn.00535e40
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x5125fd
push str.iocp
lea eax, [ebp - 0x18]
push eax
call fcn.004380c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x513810
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e2a9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5ef2d4
mov dword [ebp - 0x1ac], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x513870
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x5ef2d8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0x5ef2d8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, eax
test edi, edi
je 0x5138a5
call fcn.00535e40
push str.winsock
lea ecx, [ebp - 0x1a8]
push ecx
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a4], eax
call fcn.004380c0
push 0x20
mov dword [ebp - 4], 0
call fcn.0055b782
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x5138d2
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00512f60
jmp 0x5138d4
xor eax, eax
mov dword [esi + 4], eax
mov edx, dword [eax + 0x1c]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e4c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x51428c
push 1
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, esi
call fcn.00535e40
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x5ef320]
push ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x5ef320]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, edx
push eax
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
push ebx
push 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.005135d0
test eax, eax
je 0x5142e4
lea esp, [esp]
cmp edi, 0xffffffff
je 0x5142d6
inc edi
push ebx
push 1
mov ecx, esi
call fcn.005135d0
test eax, eax
jne 0x5142d0
mov edx, dword [ebp - 0x10]
mov eax, dword [0x5ef320]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x516080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e81b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5ed80c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push 0x514800
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
mov dword [ebp - 0x18], 0x5ebb58
mov dword [ebp - 0x14], ebx
call fcn.00508f50
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x1c], 2
mov byte [eax + 0x20], bl
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x24], 2
mov dword [eax + 0x28], ebx
mov ecx, dword [esi]
push eax
add ecx, 0x14
mov dword [ebp - 4], ebx
call fcn.0050cf80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x519290
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [ebp - 4], eax
test eax, eax
jne 0x5192dc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0x518740
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], 0x5eba90
mov dword [ebp - 4], 0
call fcn.00508f50
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [ebp + 8]
test byte [ebx + 4], 3
mov esi, dword [ebp + 0xc]
jne 0x519361
mov edi, dword [ebx]
cmp edi, 0xffffffff
jne 0x519314
mov edi, 0x2719
call fcn.00535e40
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
push esi
call fcn.0050b430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp + 8]
push eax
push 0x8004667e
push edi
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edi, eax
call fcn.00535e40
mov dword [ebp + 0xc], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
test edi, edi
js 0x5192ff
xor edi, edi
call fcn.00535e40
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
or byte [ebx + 4], 2
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
lea edi, [esi + 0x20]
push edi
push edx
push eax
push ecx
call fcn.00509240
add esp, 0x10
test eax, eax
je 0x5192ff
call fcn.00535e40
cmp dword [edi + 4], eax
jne 0x51938e
cmp dword [edi], 0x2734
je 0x5193a8
call fcn.00535e40
cmp dword [edi + 4], eax
jne 0x5192ff
cmp dword [edi], 0x2733
jne 0x5192ff
call fcn.00535e40
xor ecx, ecx
push ecx
push esi
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
lea edx, [ebx + 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edx
push eax
push 3
call fcn.005171c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x522a95
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5f16e0], 0
push esi
push edi
jne 0x522a0b
call fcn.00522977
test eax, eax
je 0x522a50
mov eax, dword [0x5f16e0]
cmp eax, 1
jne 0x522a2c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x522a50
jmp 0x522a92
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x522a92
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x522a54
xor eax, eax
jmp 0x522a92
mov eax, dword [esi]
push dword [0x5f16e0]
call edi
mov edi, eax
test edi, edi
je 0x522a76
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x522a92
lea edi, [esi + 0xff0]
push esi
push dword [0x5f16e0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x522a7c
mov eax, esi
pop edi
pop esi
ret
jmp 0x5229f7
Function at 0x53b140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5918b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
cmp dword [esi + 0x78], ecx
jne 0x53b21f
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x53b21f
mov ecx, dword [esi + 0x84]
cmp dword [ecx - 4], edi
jle 0x53b21f
mov eax, dword [eax + 0x18]
test al, 3
jne 0x53b1bb
test eax, 0x1000000
je 0x53b21f
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x18]
call fcn.00401dd0
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
xor eax, eax
sar edi, 1
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov dword [esp + 0x64], eax
mov byte [ecx], al
lea eax, [esp + 0x3c]
push eax
call fcn.00401760
push edi
push 0x11
mov ecx, esi
call fcn.0053a620
cmp dword [esp + 0x28], 0x10
jb 0x53b218
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0055ae44
add esp, 4
xor al, al
jmp 0x53b2a0
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x53b29e
mov eax, dword [esi + 0x84]
cmp dword [eax - 4], edi
jle 0x53b29e
mov edx, dword [eax - 4]
cmp dword [esi + 0x80], eax
je 0x53b252
add eax, 0xfffffffc
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov ebx, dword [eax + 0x140]
sub ebx, ecx
add ebx, 3
and ebx, 0xfffffffc
add ebx, ecx
mov dword [eax + 0x140], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x80]
test ecx, 0xfffffffc
jne 0x53b233
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055bc32
add esp, 0x30
ret 4
Function at 0x54a520
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x54a54f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x54a530
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret

Function at 0x54c540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5918b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
cmp dword [esi + 0x78], ecx
jne 0x54c61d
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x54c61d
mov ecx, dword [esi + 0x84]
cmp dword [ecx - 4], edi
jle 0x54c61d
mov eax, dword [eax + 0x18]
test al, 3
jne 0x54c5bb
test eax, 0x1000000
je 0x54c61d
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x18]
call fcn.00401dd0
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
xor eax, eax
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov dword [esp + 0x64], eax
mov byte [ecx], al
lea eax, [esp + 0x3c]
push eax
call fcn.00401760
push edi
push 0x11
mov ecx, esi
call fcn.0054bcd0
cmp dword [esp + 0x28], 0x10
jb 0x54c616
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0055ae44
add esp, 4
xor al, al
jmp 0x54c69e
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x54c69c
mov eax, dword [esi + 0x84]
cmp dword [eax - 4], edi
jle 0x54c69c
mov edx, dword [eax - 4]
cmp dword [esi + 0x80], eax
je 0x54c650
add eax, 0xfffffffc
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov ebx, dword [eax + 0x140]
sub ebx, ecx
add ebx, 3
and ebx, 0xfffffffc
add ebx, ecx
mov dword [eax + 0x140], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x80]
test ecx, 0xfffffffc
jne 0x54c631
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055bc32
add esp, 0x30
ret 4
Function at 0x558f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x59cedd
mov dword [esp], eax
mov dword [esp + 4], 0x59d37c
mov dword [esp + 8], str.___.
mov dword [esp + 0xc], 0x5c1110
mov dword [esp + 0x10], 0x5c110c
mov dword [esp + 0x14], 0x5a9464
mov dword [esp + 0x18], 0x59daec
mov dword [esp + 0x1c], 0x5c1108
mov dword [esp + 0x20], 0x5a5c2c
mov dword [esp + 0x24], 0x5acc6c
mov dword [esp + 0x28], 0x5acc68
mov dword [esp + 0x2c], 0x5c1104
mov dword [esp + 0x30], 0x5c1100
mov dword [esp + 0x34], str._
mov dword [esp + 0x38], 0x5aa3d0
mov dword [esp + 0x3c], 0x5acc64
mov dword [esp + 0x40], str.:__
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x5bda2c
mov dword [esp + 0x4c], 0x5c0ebc
mov dword [esp + 0x50], 0x5a9454
mov dword [esp + 0x54], 0x59d030
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x5c10ec
mov dword [esp + 0x64], 0x5c10e8
mov dword [esp + 0x68], 0x5a1ac4
mov dword [esp + 0x6c], 0x59d374
mov dword [esp + 0x70], 0x5bda38
mov dword [esp + 0x74], 0x5c0e04
mov dword [esp + 0x78], 0x5c0de8
mov dword [esp + 0x7c], 0x5bda30
mov dword [esp + 0x80], 0x5bda28
mov dword [esp + 0x84], 0x5c0dd4
mov dword [esp + 0x88], 0x5c0dd0
mov dword [esp + 0x8c], 0x5c0e08
mov dword [esp + 0x90], 0x5acc60
mov dword [esp + 0x94], 0x5a9458
mov dword [esp + 0x98], 0x59cf6c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x59cf70
mov dword [esp + 0xc0], 0x5c0e90
mov dword [esp + 0xc4], 0x5c0e74
mov dword [esp + 0xc8], 0x5b4350
mov dword [esp + 0xcc], str.ZYXWVUTSRQPNMKJIHGFDBA
mov dword [esp + 0xd0], 0x5c0eb0
mov dword [esp + 0xd4], 0x5c10e4
mov dword [esp + 0xd8], 0x5c0de0
mov dword [esp + 0xdc], 0x5c0e94
mov dword [esp + 0xe0], 0x5c0e98
mov dword [esp + 0xe4], 0x5c10e0
mov dword [esp + 0xe8], 0x5c0ea0
mov dword [esp + 0xec], 0x5c0e8c
cmp cl, 0x3c
jae 0x55913d
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x559170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x9c
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, 0x361
mov dword [esp], 0x3610300
mov dword [esp + 4], 0x4860483
mov dword [esp + 8], 0x9030903
mov dword [esp + 0xc], 0x940093e
mov dword [esp + 0x10], 0x94c0949
mov dword [esp + 0x14], 0x9830982
mov dword [esp + 0x18], 0x9c009be
mov dword [esp + 0x1c], 0x9cc09c7
mov dword [esp + 0x20], 0x9d709d7
mov dword [esp + 0x24], 0xa400a3e
mov dword [esp + 0x28], 0xa830a83
mov dword [esp + 0x2c], 0xac00abe
mov dword [esp + 0x30], 0xacc0ac9
mov dword [esp + 0x34], 0xb030b02
mov dword [esp + 0x38], 0xb3e0b3e
mov dword [esp + 0x3c], 0xb400b40
mov dword [esp + 0x40], 0xb4c0b47
mov dword [esp + 0x44], 0xb570b57
mov dword [esp + 0x48], 0xb830b83
mov dword [esp + 0x4c], 0xbbf0bbe
mov dword [esp + 0x50], 0xbcc0bc1
mov dword [esp + 0x54], 0xbd70bd7
mov dword [esp + 0x58], 0xc030c01
mov dword [esp + 0x5c], 0xc440c41
mov dword [esp + 0x60], 0xc830c82
mov dword [esp + 0x64], 0xcbe0cbe
mov dword [esp + 0x68], 0xcc40cc0
mov dword [esp + 0x6c], 0xccb0cc7
mov dword [esp + 0x70], 0xcd60cd5
mov dword [esp + 0x74], 0xd030d02
mov dword [esp + 0x78], 0xd400d3e
mov dword [esp + 0x7c], 0xd4c0d46
mov dword [esp + 0x80], 0xd570d57
mov dword [esp + 0x84], 0xf7f0f7f
mov dword [esp + 0x88], 0x20e120d0
mov dword [esp + 0x8c], 0x309a3099
mov dword [esp + 0x90], 0xfe23fe20
mov dword [esp + 0x94], 0xffffffff
lea eax, [esp + 2]
cmp dx, cx
jae 0x5592db
add eax, 4
cmp word [eax], cx
jb 0x5592d3
sub eax, 2
cmp cx, word [eax]
jb 0x559300
cmp cx, word [eax + 2]
ja 0x559300
mov al, 1
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0055bc32
add esp, 0x9c
ret
mov ecx, dword [esp + 0x98]
xor ecx, esp
xor al, al
call fcn.0055bc32
add esp, 0x9c
ret

Function at 0x559da0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 8
jb 0x559dac
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x559e44
push esi
call fcn.00535e40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x559e29
cmp eax, 3
je 0x559e29
cmp eax, 0x7b
je 0x559e29
cmp eax, 0xf
je 0x559e29
cmp eax, 0x15
je 0x559e29
cmp eax, 0x57
je 0x559e29
cmp eax, 0xa1
je 0x559e29
cmp eax, 0x35
je 0x559e29
cmp eax, 0x20
jne 0x559e1e
mov eax, dword [0x5f1c00]
mov dword [ecx], eax
mov edx, dword [0x5f1c04]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x5f1c00]
mov dword [ecx], eax
mov edx, dword [0x5f1c04]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x5f1c00]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x5f1c04]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x559e71
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret
Function at 0x559ea0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x559eb2
mov ecx, dword [eax]
jmp 0x559eb4
mov ecx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], edx
jb 0x559ebf
mov eax, dword [eax]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x559ee0
xor esi, esi
call fcn.00535e40
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00535e40
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
pop esi
ret

Function at 0x559f00
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x559f12
mov ecx, dword [eax]
jmp 0x559f14
mov ecx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], edx
jb 0x559f1f
mov eax, dword [eax]
movzx edx, byte [esp + 0x10]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x559f46
xor esi, esi
call fcn.00535e40
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00535e40
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
pop esi
ret

Function at 0x559f60
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0xc
push esi
mov dword [esp + 8], 0
call fcn.00535e40
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push esi
push ecx
call fcn.00559da0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x559fa6
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 4]
cmp eax, 1
je 0x559ff5
cmp eax, 3
jne 0x559fe4
cmp dword [esi + 0x14], 8
jb 0x559fbc
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x559ff5
call fcn.00535e40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov eax, ecx
pop esi
add esp, 0xc
ret
cmp dword [esi + 0x14], 8
jb 0x559fec
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x559fc3
mov eax, dword [esp + 0x14]
mov edx, dword [0x5f1c04]
mov ecx, dword [0x5f1c00]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
add esp, 0xc
ret