joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413330
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46dad8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
cmp dword [esi + 0x14], 8
jb 0x413375
mov eax, dword [esi]
jmp 0x413377
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x41338c
mov al, 1
jmp 0x413416
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.00413cd0
test al, al
je 0x4133e0
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push edi
cmovae eax, dword [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x4133e0
mov bl, 1
jmp 0x4133e2
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x4133fd
push dword [esp + 0x14]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x46db08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41347c
mov eax, dword [esi]
jmp 0x41347e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413513
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00413cd0
test al, al
je 0x4134e1
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4134fc
push dword [esp + 0xc]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x28
ret
Function at 0x413540
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46db08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41357c
mov eax, dword [esi]
jmp 0x41357e
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x413592
mov al, 1
jmp 0x413621
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00413cd0
test al, al
je 0x4135eb
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4135eb
mov bl, 1
jmp 0x4135ed
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x413608
push dword [esp + 0xc]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x28
ret
Function at 0x413640
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46db50
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41367d
mov eax, dword [esi]
jmp 0x41367f
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x413693
mov al, 1
jmp 0x413850
cmp dword [esi + 0x14], 8
jb 0x41369d
mov edx, dword [esi]
jmp 0x41369f
mov edx, esi
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [edx], ax
jne 0x4136cf
xor ecx, ecx
jmp 0x4136e3
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4136d4
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00403b80
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.00413440
mov ebx, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x41371c
push dword [esp + 0x2c]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp ebx, 0xffffffff
jne 0x41373f
xor al, al
jmp 0x413850
cmp dword [esi + 0x14], 8
jb 0x413749
mov eax, dword [esi]
jmp 0x41374b
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.00402be0
mov dword [esp + 0x50], 1
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.00413330
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x413790
push dword [esp + 0x2c]
call fcn.0044b7dc
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test al, al
jne 0x413738
cmp dword [esi + 0x14], 8
jb 0x4137b5
mov eax, dword [esi]
jmp 0x4137b7
mov eax, esi
push eax
call edi
test eax, eax
jne 0x41368c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], 2
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.00413cd0
test al, al
je 0x41380b
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x41380b
mov bl, 1
jmp 0x41383d
cmp dword [esi + 0x14], 8
jb 0x413813
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.00402be0
mov byte [esp + 0x50], 3
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00413330
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x14]
call fcn.00402cb0
xor bl, bl
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00402cb0
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x44
ret
Function at 0x413870
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46db8b
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x48f49c]
mov dword [esp + 8], 0x48f49c
test eax, eax
je 0x4138c2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x48d6cc], 0
je 0x413910
cmp esi, 0x48d6bc
je 0x4138ee
push 0xffffffffffffffff
push 0
push 0x48d6bc
mov ecx, esi
call fcn.00403a60
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x48f49c]
test eax, eax
je 0x413909
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x4139eb
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.00451ce0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4139ce
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00451ce0
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4139bd
test eax, eax
je 0x4139bd
add eax, eax
cmp eax, 0x412
jae 0x4139b8
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.004050b0
jmp 0x4138ee
call fcn.0044c1d8
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004050b0
jmp 0x4138ee
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x48f49c]
test eax, eax
je 0x4139e9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x634
ret
Function at 0x413a20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
xor eax, eax
push esi
push edi
push 0x20a
push eax
mov word [esp + 0x14], ax
mov edi, edx
lea eax, [esp + 0x16]
mov esi, ecx
push eax
call fcn.00451ce0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x413a64
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x413a6c
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x413af6
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x413ab9
xor ecx, ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00403b80
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ac0
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403b80
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044b7e1
add esp, 0x210
ret

Function at 0x4140c0
Capabilities:
Read file on windows

Disassembly:
mov edx, ecx
mov eax, dword [edx]
test eax, eax
jne 0x4140cd
xor al, al
ret 0xc
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4140c8
cmp dword [eax], 0xffffffff
je 0x4140c8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [edx]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc
Function at 0x4153c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e087
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00403a60
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x60]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x60]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 4
lea ecx, [edi + 0x78]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x78]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 5
lea ecx, [edi + 0x90]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x90]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 6
lea ecx, [edi + 0xa8]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xa8]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 7
lea ecx, [edi + 0xc0]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xc0]
push eax
call fcn.00403a60
mov byte [esp + 0x18], 8
lea ecx, [edi + 0xd8]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xd8]
push eax
call fcn.00403a60
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x416da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00415fd0
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
jne 0x416dec
xor bl, bl
jmp 0x416df7
lea ecx, [esp + 0xc]
call fcn.00411030
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x416e12
push dword [esp + 0xc]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x2c
ret
Function at 0x417cc0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e4d6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esp + 0x34], 0
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
mov dword [ecx + 0x14], 7
push eax
push dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00403a60
mov byte [esp + 0x34], 1
xor eax, eax
push 0x33
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push str.RCCACHESTAT_1FC367B9_AD02_4DC5_90FD_ED13A130C814_
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00403b80
mov byte [esp + 0x34], 2
cmp dword [esp + 0x20], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x28], 0
je 0x417d8d
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
jmp 0x417d8f
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x24], eax
test eax, eax
je 0x417db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417db2
mov byte [esi + 0x29], 1
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 8
jb 0x417dca
push dword [esp + 0x10]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 4
Function at 0x41ae60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ece1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], 0
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.0043bbb0
mov dword [esp + 0x38], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov edx, esi
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.00411ca0
mov edx, 0x10
mov ecx, esi
call fcn.004122a0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x41af02
push dword [esp + 0x14]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x34
ret
Function at 0x41ba70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46eec1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], 1
xor eax, eax
push eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push 0x47cba4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00403b80
mov byte [esp + 0x50], 2
lea edx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041b140
add esp, 4
mov byte [esp + 0x50], 4
cmp dword [esp + 0x20], 8
jb 0x41bb21
push dword [esp + 0xc]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], eax
mov ecx, esi
push eax
mov word [esp + 0x14], ax
mov word [esi], ax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00403a60
cmp dword [esi + 0x10], 0
mov dword [esp + 0x24], 1
je 0x41bb72
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.004038c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.0041bc70
test eax, eax
setne byte [esp + 8]
cmp dword [esp + 0x3c], 0
je 0x41bba2
push dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004255d0
mov ecx, eax
call fcn.004256a0
mov byte [esp + 0x50], 1
cmp dword [esp + 0x40], 8
jb 0x41bbba
push dword [esp + 0x2c]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x50], al
cmp dword [esp + 0x6c], 8
jb 0x41bbe8
push dword [esp + 0x58]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x4c
ret
Function at 0x41eeb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f413
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
cmp dword [ecx + 0xc0], 0
je 0x41f036
lea esi, [ecx + 0xb0]
mov ecx, esi
call fcn.00413640
push 4
call fcn.0044c2ff
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x41ef21
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x41ef23
xor eax, eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 1
push ecx
push 2
push ecx
push 0x40000000
push esi
lea ecx, [esp + 0x30]
call fcn.00413f80
mov esi, dword [esp + 0x1c]
test al, al
je 0x41f001
mov dword [esp + 0x18], 0
call fcn.0041ab10
add eax, 0xa8
lea ecx, [esp + 8]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xc], xmm0
call fcn.00438c10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
test esi, esi
je 0x41efa3
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41efa3
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x28], xmm0
call fcn.0044dd2a
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
test esi, esi
je 0x41f001
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f001
push 0
lea ecx, [esp + 0x1c]
push ecx
push 8
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f001
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41f001
mov dword [esi], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
test esi, esi
je 0x41f036
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f025
test eax, eax
je 0x41f025
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.0044b7dc
add esp, 4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x3c
ret

Function at 0x41f160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b879
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
xor eax, eax
mov esi, dword [esp + 0x1c]
add ecx, 0x30
push 0xffffffffffffffff
push eax
push ecx
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00403a60
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x424630
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.00451ce0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424697
mov eax, dword [esp + 4]
cmp eax, 5
jbe 0x42468e
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x118
ret
jne 0x424697
cmp dword [esp + 8], 0
ja 0x424677
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0044b7e1
add esp, 0x118
ret

Function at 0x4246b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.00451ce0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42470c
cmp dword [esp + 4], 6
jb 0x42470c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0044b7e1
add esp, 0x118
ret

Function at 0x424f70
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x48d6e4], 0
jne 0x425003
xor eax, eax
push 0x208
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00451ce0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov word [esp + 0x20e], ax
cmp word [esp + 8], ax
jne 0x424fdd
xor ecx, ecx
jmp 0x424ff3
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424fe4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, 0x48d6d4
push eax
call fcn.00403b80
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044b7e1
add esp, 0x214
ret