joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ca0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x472510
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x415cdd
mov eax, dword [esi]
jmp 0x415cdf
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x415cf3
mov al, 1
jmp 0x415eb0
cmp dword [esi + 0x14], 8
jb 0x415cfd
mov edx, dword [esi]
jmp 0x415cff
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 0x415d2f
xor ecx, ecx
jmp 0x415d43
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415d34
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.004073e0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.00415aa0
mov ebx, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x415d7c
push dword [esp + 0x2c]
call fcn.0044fd7a
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 0x415d9f
xor al, al
jmp 0x415eb0
cmp dword [esi + 0x14], 8
jb 0x415da9
mov eax, dword [esi]
jmp 0x415dab
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.00404e90
mov dword [esp + 0x50], 1
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.00415990
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x415df0
push dword [esp + 0x2c]
call fcn.0044fd7a
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 0x415d98
cmp dword [esi + 0x14], 8
jb 0x415e15
mov eax, dword [esi]
jmp 0x415e17
mov eax, esi
push eax
call edi
test eax, eax
jne 0x415cec
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.00416330
test al, al
je 0x415e6b
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x415e6b
mov bl, 1
jmp 0x415e9d
cmp dword [esi + 0x14], 8
jb 0x415e73
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.00404e90
mov byte [esp + 0x50], 3
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00415990
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x14]
call fcn.00404f60
xor bl, bl
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00404f60
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.0044fd7f
add esp, 0x44
ret
Function at 0x415ed0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47254b
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x49546c]
mov dword [esp + 8], 0x49546c
test eax, eax
je 0x415f22
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x49362c], 0
je 0x415f70
cmp esi, 0x49361c
je 0x415f4e
push 0xffffffffffffffff
push 0
push 0x49361c
mov ecx, esi
call fcn.00406750
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x49546c]
test eax, eax
je 0x415f69
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x41604b
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.00455ee0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41602e
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.00455ee0
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 0x41601d
test eax, eax
je 0x41601d
add eax, eax
cmp eax, 0x412
jae 0x416018
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.00404f90
jmp 0x415f4e
call fcn.00451b68
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00404f90
jmp 0x415f4e
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x49546c]
test eax, eax
je 0x416049
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.0044fd7f
add esp, 0x634
ret
Function at 0x416080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x49274c]
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.00455ee0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4160c4
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4160cc
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 0x416156
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x416119
xor ecx, ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.004073e0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416120
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004073e0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044fd7f
add esp, 0x210
ret

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

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x495610], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x495710], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x495810], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x495510], al
inc esi
cmp esi, 0x100
jl 0x416dc0
pop esi
add esp, 0x80
ret
Function at 0x4196a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472b67
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49274c]
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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.00406750
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 0x41b040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0041a270
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
jne 0x41b08c
xor bl, bl
jmp 0x41b097
lea ecx, [esp + 0xc]
call fcn.00412780
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x41b0b2
push dword [esp + 0xc]
call fcn.0044fd7a
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.0044fd7f
add esp, 0x2c
ret
Function at 0x41bd70
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x472f96
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x49274c]
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.00406750
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.004073e0
mov byte [esp + 0x34], 2
cmp dword [esp + 0x20], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x28], 0
je 0x41be3d
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
jmp 0x41be3f
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 0x41be62
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41be62
mov byte [esi + 0x29], 1
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 8
jb 0x41be7a
push dword [esp + 0x10]
call fcn.0044fd7a
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 0x41ec30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
xor eax, eax
mov esi, edx
push 0x40e
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00455ee0
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41ec9e
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x41ecb6
mov eax, dword [esp + 4]
test eax, eax
je 0x41ec9e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x418
ret
cmp word [esp + 8], 0
jne 0x41ecc2
xor ecx, ecx
jmp 0x41ecdf
lea ecx, [esp + 8]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ecd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004073e0
mov eax, dword [esp + 4]
test eax, eax
je 0x41ecfb
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x418]
mov al, 1
pop esi
xor ecx, esp
call fcn.0044fd7f
add esp, 0x418
ret

Function at 0x41efb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473781
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x49274c]
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.004413c0
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.00412040
mov edx, 0x10
mov ecx, esi
call fcn.00411940
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x41f052
push dword [esp + 0x14]
call fcn.0044fd7a
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.0044fd7f
add esp, 0x34
ret
Function at 0x41fbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473961
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov eax, dword [0x49274c]
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 0x481240
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.004073e0
mov byte [esp + 0x50], 2
lea edx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041f290
add esp, 4
mov byte [esp + 0x50], 4
cmp dword [esp + 0x20], 8
jb 0x41fc71
push dword [esp + 0xc]
call fcn.0044fd7a
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.00406750
cmp dword [esi + 0x10], 0
mov dword [esp + 0x24], 1
je 0x41fcc2
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.004065b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.0041fdc0
test eax, eax
setne byte [esp + 8]
cmp dword [esp + 0x3c], 0
je 0x41fcf2
push dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.00429b70
mov ecx, eax
call fcn.00429c40
mov byte [esp + 0x50], 1
cmp dword [esp + 0x40], 8
jb 0x41fd0a
push dword [esp + 0x2c]
call fcn.0044fd7a
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 0x41fd38
push dword [esp + 0x58]
call fcn.0044fd7a
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.0044fd7f
add esp, 0x4c
ret
Function at 0x423080
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
cmp dword [ecx + 0xc0], 0
je 0x423206
lea esi, [ecx + 0xb0]
mov ecx, esi
call fcn.00415ca0
push 4
call fcn.004514bd
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x4230f1
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x4230f3
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.004157c0
mov esi, dword [esp + 0x1c]
test al, al
je 0x4231d1
mov dword [esp + 0x18], 0
call fcn.0041eb70
add eax, 0xa8
lea ecx, [esp + 8]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xc], xmm0
call fcn.0043ea30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
test esi, esi
je 0x423173
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x423173
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.0045228c
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 0x4231d1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4231d1
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 0x4231d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4231d1
mov dword [esi], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
test esi, esi
je 0x423206
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4231f5
test eax, eax
je 0x4231f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.0044fd7a
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.0044fd7f
add esp, 0x3c
ret

Function at 0x423330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470769
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49274c]
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.00406750
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 0x428fc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49274c]
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.00455ee0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429027
mov eax, dword [esp + 4]
cmp eax, 5
jbe 0x42901e
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x118
ret
jne 0x429027
cmp dword [esp + 8], 0
ja 0x429007
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0044fd7f
add esp, 0x118
ret

Function at 0x429040
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49274c]
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.00455ee0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42909c
cmp dword [esp + 4], 6
jb 0x42909c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0044fd7f
add esp, 0x118
ret

Function at 0x429510
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x493644], 0
jne 0x4295a3
xor eax, eax
push 0x208
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00455ee0
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 0x42957d
xor ecx, ecx
jmp 0x429593
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429584
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, 0x493634
push eax
call fcn.004073e0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044fd7f
add esp, 0x214
ret