joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa449d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xad24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00a13960
mov ecx, 7
xor eax, eax
mov dword [esp + 0x3c], ecx
xor edx, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x74], ecx
xor ecx, ecx
mov dword [esp + 0x38], eax
mov word [esp + 0x28], dx
mov dword [esp + 0x54], eax
mov word [esp + 0x44], dx
mov dword [esp + 0x70], eax
mov word [esp + 0x60], cx
push 3
push 0xaecc18
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], eax
call fcn.00a11c90
push 5
push str.class
lea ecx, [esp + 0x48]
call fcn.00a11c90
push 8
push str.ykplayer
lea ecx, [esp + 0x64]
call fcn.00a11c90
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0xc]
push eax
push 0xa44620
call edx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
lea esi, [esp + 0xc]
sar eax, 2
test eax, eax
jbe 0xa44aa7
call fcn.00a44ad0
mov al, 1
jmp 0xa44aae
call fcn.00a44ad0
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00a7a967
add esp, 0x84
ret

Function at 0xa44c50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xad24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00a13960
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov word [esp + 0x28], dx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov word [esp + 0x44], dx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov word [esp + 0x60], dx
push ecx
push str.SECTION
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], eax
call fcn.00a11c90
push 5
push str.class
lea ecx, [esp + 0x48]
call fcn.00a11c90
push 0xe
push str.m_video_player
lea ecx, [esp + 0x64]
call fcn.00a11c90
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0xc]
push edx
push 0xa44620
call eax
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
sar ecx, 2
test ecx, ecx
jbe 0xa44d33
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push str.document.getElementsByClassName_c_videoplay__0_.setAttribute_style__display:block___document.getElementsByClassName_c_videoplay_selected__0_.setAttribute_style__display:block___
call eax
lea esi, [esp + 0xc]
call fcn.00a44ad0
mov al, 1
jmp 0xa44d3e
lea esi, [esp + 0xc]
call fcn.00a44ad0
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00a7a967
add esp, 0x84
ret
Function at 0xa44d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xad2498
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x70], eax
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00a13960
mov eax, 7
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
mov dword [esp + 0x54], edi
mov word [esp + 0x44], dx
mov dword [esp + 0x70], edi
mov word [esp + 0x60], ax
push 3
push 0xaecc18
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], edi
call fcn.00a11c90
push 5
push str.class
lea ecx, [esp + 0x48]
call fcn.00a11c90
push 0xb
push str.c_videoplay
lea ecx, [esp + 0x64]
call fcn.00a11c90
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0xc]
push eax
push 0xa44620
call edx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
lea esi, [esp + 0xc]
sar eax, 2
cmp eax, edi
jbe 0xa44e40
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
call fcn.00a44ad0
mov eax, edi
jmp 0xa44e47
call fcn.00a44ad0
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00a7a967
add esp, 0x80
ret

Function at 0xa45820
Capabilities:
Terminate thread

Disassembly:
mov dword [esi], vtable.CClickProc.0
cmp dword [esi + 0x94], 8
jb 0xa4583e
mov eax, dword [esi + 0x80]
push eax
call fcn.00a7ac28
add esp, 4
xor ecx, ecx
mov dword [esi + 0x94], 7
mov dword [esi + 0x90], 0
mov word [esi + 0x80], cx
cmp dword [esi + 0x78], 8
jb 0xa4586d
mov edx, dword [esi + 0x64]
push edx
call fcn.00a7ac28
add esp, 4
xor eax, eax
mov dword [esi + 0x78], 7
mov dword [esi + 0x74], 0
mov word [esi + 0x64], ax
mov ecx, esi
jmp fcn.00a14a40
Function at 0xa4dc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xad4503
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
movzx ebx, ax
shr eax, 0x10
mov esi, eax
push esi
push ecx
call fcn.00a4a6b0
add esp, 4
push eax
call fcn.00a37370
xor edi, edi
mov dword [esp + 0x1c], eax
cmp ebx, edi
jne 0xa4dda1
push pe_nt_image_headers32
call fcn.00a7acb0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], edi
cmp eax, edi
je 0xa4dcfe
push esi
mov esi, eax
call fcn.00a4e0c0
mov ebx, eax
jmp 0xa4dd00
xor ebx, ebx
sub esp, 0x1c
mov dword [esp + 0x9c], 0xffffffff
mov ecx, esp
mov eax, ebp
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xa4dd27
sub eax, esi
push eax
push ebp
call fcn.00a111b0
lea esi, [esp + 0x58]
call fcn.00a133c0
add esp, 0x1c
mov ebp, 8
mov dword [esp + 0x80], 1
cmp dword [eax + 0x18], ebp
jb 0xa4dd5d
mov eax, dword [eax + 4]
jmp 0xa4dd60
add eax, 4
mov edx, eax
call fcn.00a4e120
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], ebp
jb 0xa4dd85
mov eax, dword [esp + 0x40]
push eax
call fcn.00a7ac28
add esp, 4
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
add edi, 0xe0
lea ebx, [esp + 0x18]
call fcn.00a4dfe0
jmp 0xa4de9b
cmp ebx, 1
jne 0xa4de9b
xor ecx, ecx
push 9
mov word [esp + 0x60], cx
push 0xaed6b0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edi
call fcn.00a11c90
sub esp, 0x1c
mov ecx, esp
mov ebx, 2
mov dword [esp + 0x9c], ebx
mov eax, ebp
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xa4ddf5
sub eax, esi
push eax
push ebp
call fcn.00a111b0
lea esi, [esp + 0x3c]
call fcn.00a133c0
add esp, 0x1c
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 3
call fcn.00a1b770
mov ebp, 8
mov byte [esp + 0x80], bl
cmp dword [esp + 0x38], ebp
jb 0xa4de45
mov edx, dword [esp + 0x24]
push edx
call fcn.00a7ac28
add esp, 4
push 5
push 0xaed6d0
lea esi, [esp + 0x60]
call fcn.00a1b430
mov edi, dword [esp + 0x1c]
call fcn.00a4ad70
test eax, eax
je 0xa4de88
mov esi, dword [eax + 4]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0xa4de7e
lea eax, [esp + 0x5c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
cmp dword [esp + 0x70], ebp
jb 0xa4de9b
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00a7ac28
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00a7a967
add esp, 0x70
ret 8
Function at 0xa53170
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xad2aab
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x1d0], eax
push esi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0xa53264
cmp dword [edi + 0x34], eax
mov ecx, 2
mov word [edi + 4], cx
jle 0xa531e3
movzx edx, word [edi + 0x34]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 6], ax
cmp dword [edi + 0x2c], 0
je 0xa53264
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00a5c6f0
add esp, 8
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0xc]
mov dword [esp + 0x1ec], 0
call fcn.00a65c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0xa53222
mov eax, dword [eax + 4]
jmp 0xa53225
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 8], eax
cmp dword [esp + 0x20], esi
jb 0xa53242
mov eax, dword [esp + 0xc]
push eax
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], vtable.LString.0
jb 0xa53264
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00a7ac28
add esp, 4
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00a7a967
mov esp, ebp
pop ebp
ret

Function at 0xa53290
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ecx
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0xa532d7
push esi
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 8
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x1006
push 0xffff
push esi
mov dword [esp + 0x18], 0xfa0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [edi + 0x3c], esi
cmp esi, 0xffffffff
jne 0xa532d4
or eax, esi
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0xa532e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov ebx, ecx
push eax
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00a51e10
add esp, 4
test al, al
jne 0xa5331d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edi, ebx
call fcn.00a53290
mov edi, eax
cmp edi, 0xffffffff
je 0xa53310
mov ecx, dword [esp + 0x18]
push 0x10
add ebx, 4
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push ecx
push ebx
push edi
xor esi, esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0xa53353
mov dword [esp + 0x10], 0xffffffff
jmp 0xa533ad
push 0x1000
call fcn.00a76ab6
add esp, 4
push 0x1000
mov esi, eax
push ebp
push esi
call fcn.00a827a0
add esp, 0xc
push ebp
push ebp
push ebp
push 0x1000
push esi
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, ebp
jg 0xa5338f
mov dword [esp + 0x10], 0xfffffffe
jmp 0xa533ad
cdq
push edx
push eax
push esi
call fcn.00a51f10
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [edx], eax
cmp eax, ebp
jne 0xa533ad
mov dword [esp + 0x10], 0xfffffffd
cmp ebx, ebp
je 0xa533ba
push ebx
call fcn.00a7b356
add esp, 4
cmp esi, ebp
je 0xa533c7
push esi
call fcn.00a7b356
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0xa5a520
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0xafc83c], 0
jne 0xa5a672
push esi
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0xa5a53d
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0xa5a549
or eax, 0x40
shr ecx, 1
test cl, 1
je 0xa5a553
or eax, 0x20
shr ecx, 1
test cl, 1
je 0xa5a55d
or eax, 0x10
shr ecx, 1
test cl, 1
je 0xa5a567
or eax, 8
shr ecx, 1
test cl, 1
je 0xa5a571
or eax, 4
shr ecx, 1
test cl, 1
je 0xa5a57b
or eax, 2
test cl, 2
je 0xa5a583
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor esi, esi
mov dword [edx*4 + 0xafc840], ecx
mov eax, ecx
lea ecx, [esi + 0x1f]
lea esp, [esp]
test al, 1
je 0xa5a64d
mov edi, 1
shl edi, cl
or esi, edi
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0xa5a640
mov dword [edx*4 + 0xafc840], esi
inc edx
cmp edx, 0xff
jle 0xa5a531
pop edi
mov byte [0xafc83c], 1
pop esi
ret
Function at 0xa5adb0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0xad2018
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push eax
lea esi, [esp + 0x18]
call fcn.00a64360
mov eax, esi
push eax
lea edi, [esp + 0x17]
mov dword [esp + 0x48], 0
call fcn.00a5b0e0
add esp, 4
test al, al
jne 0xa5ae33
dec dword [0xafcc40]
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], vtable.LString.0
jb 0xa5ae2b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00a7ac28
add esp, 4
or eax, 0xffffffff
jmp 0xa5aeb6
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0xa5ae46
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xa5ae7a
dec dword [0xafcc40]
mov dword [esp + 0x14], vtable.LString.0
cmp dword [esp + 0x30], esi
jb 0xa5ae73
mov edx, dword [esp + 0x1c]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, 0xffffff9c
jmp 0xa5aeb6
test al, 1
je 0xa5aeab
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0xa5ae8c
lea ecx, [esp + 0x1c]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x14]
test eax, eax
jne 0xa5aeaf
call fcn.00a63be0
mov eax, 0xfffffffd
jmp 0xa5aeb6
lea ecx, [esp + 0x14]
call fcn.00a63be0
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00a7a967
add esp, 0x3c
ret
Function at 0xa5aee0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0xad2018
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push eax
lea esi, [esp + 0x18]
call fcn.00a64360
mov eax, esi
push eax
lea edi, [esp + 0x17]
mov dword [esp + 0x48], 0
call fcn.00a5b0e0
add esp, 4
test al, al
jne 0xa5af63
dec dword [0xafcc40]
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], vtable.LString.0
jb 0xa5af5b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00a7ac28
add esp, 4
or eax, 0xffffffff
jmp 0xa5afe6
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0xa5af76
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xa5afaa
dec dword [0xafcc40]
mov dword [esp + 0x14], vtable.LString.0
cmp dword [esp + 0x30], esi
jb 0xa5afa3
mov edx, dword [esp + 0x1c]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, 0xffffff9c
jmp 0xa5afe6
test al, 2
je 0xa5afdb
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0xa5afbc
lea ecx, [esp + 0x1c]
and eax, 0xfffffffd
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x14]
test eax, eax
jne 0xa5afdf
call fcn.00a63be0
mov eax, 0xfffffffd
jmp 0xa5afe6
lea ecx, [esp + 0x14]
call fcn.00a63be0
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00a7a967
add esp, 0x3c
ret

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

Disassembly:
sub esp, 0x24
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push eax
lea esi, [esp + 8]
call fcn.00a64360
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0xa5b110
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
dec dword [0xafcc40]
mov dword [esp + 4], vtable.LString.0
cmp eax, 0xffffffff
jne 0xa5b14f
cmp dword [esp + 0x20], esi
jb 0xa5b13d
mov eax, dword [esp + 0xc]
push eax
call fcn.00a7ac28
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00a7a967
add esp, 0x24
ret
shr al, 4
and al, 1
mov byte [edi], al
cmp dword [esp + 0x20], esi
jb 0xa5b169
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00a7ac28
add esp, 4
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
mov al, 1
call fcn.00a7a967
add esp, 0x24
ret
Function at 0xa5b180
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push eax
lea esi, [esp + 8]
call fcn.00a64360
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0xa5b1b0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec dword [0xafcc40]
mov dword [esp + 4], vtable.LString.0
test eax, eax
je 0xa5b1ee
cmp dword [esp + 0x20], esi
jb 0xa5b1dc
mov eax, dword [esp + 0xc]
push eax
call fcn.00a7ac28
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00a7a967
add esp, 0x24
ret
cmp dword [esp + 0x20], esi
jb 0xa5b201
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00a7ac28
add esp, 4
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
xor al, al
call fcn.00a7a967
add esp, 0x24
ret

Function at 0xa5b220
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0xad1fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
push eax
lea esi, [esp + 0x30]
mov edi, ecx
call fcn.00a64360
push edi
lea esi, [esp + 0x10]
mov dword [esp + 0x60], 0
call fcn.00a64360
mov ecx, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0xa5b285
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0xa5b293
lea eax, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
dec dword [0xafcc40]
mov edi, vtable.LString.0
mov dword [esp + 0xc], edi
test eax, eax
je 0xa5b2f9
cmp dword [esp + 0x28], esi
jb 0xa5b2c1
mov eax, dword [esp + 0x14]
push eax
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0xa5b2f5
mov edx, dword [esp + 0x34]
push edx
call fcn.00a7ac28
add esp, 4
mov al, 1
jmp 0xa5b342
cmp dword [esp + 0x28], esi
jb 0xa5b30c
mov eax, dword [esp + 0x14]
push eax
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0xa5b340
mov edx, dword [esp + 0x34]
push edx
call fcn.00a7ac28
add esp, 4
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00a7a967
add esp, 0x54
ret
Function at 0xa5b360
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xad3227
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0xaede24
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00a1fd80
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.00a21d00
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0xafcfe0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0xa5bb40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xad1fab
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], ebx
mov dword [esp + 0x2c], esi
mov byte [esi + 0x10], bl
mov dword [esp + 0x7c], ebx
mov eax, dword [0xafa82c]
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], bl
cmp eax, 0x75bcd0d
je 0xa5bca4
mov ecx, dword [0xafa82c]
cmp ecx, 0x75bcd0e
je 0xa5bca4
lea edx, [esp + 0xc]
push edx
mov ecx, str.LVLMutexExLogMark
call fcn.00a63660
lea edi, [esp + 0x30]
mov byte [esp + 0x7c], 1
call fcn.00a5b4f0
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
lea edi, [esp + 0x54]
mov byte [esp + 0x80], 2
call fcn.00a66a60
dec dword [0xafcc40]
mov edi, 8
add esp, 4
mov dword [esp + 0x30], vtable.LString.0
cmp dword [esp + 0x4c], edi
jb 0xa5bc13
mov edx, dword [esp + 0x38]
push edx
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xa5bc47
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00a7ac28
add esp, 4
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
cmp dword [esp + 0x6c], edi
jae 0xa5bc68
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
dec dword [0xafcc40]
mov dword [esp + 0x50], vtable.LString.0
add ecx, 0x75bcd0d
mov dword [0xafa82c], ecx
cmp dword [esp + 0x6c], edi
jb 0xa5bca4
mov edx, dword [esp + 0x58]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00a7a967
add esp, 0x74
ret