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

Disassembly:
push 0xffffffffffffffff
push 0x598b07
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [esp + 8], ecx
mov word [ecx], ax
mov dword [esp + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov byte [ecx + 0x30], al
mov dword [esp + 0x14], 1
lea eax, [ecx + 0x38]
mov byte [eax], 0
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov dword [esp + 8], eax
mov word [eax + 4], dx
mov byte [esp + 0x14], 2
mov dword [eax + 0x30], 7
mov dword [eax + 0x2c], edx
mov word [eax + 0x1c], dx
mov byte [esp + 0x14], 3
mov dword [eax + 0x48], 7
mov dword [eax + 0x44], edx
mov word [eax + 0x34], dx
mov byte [esp + 0x14], 4
mov dword [eax + 0x60], 7
mov dword [eax + 0x5c], edx
mov word [eax + 0x4c], dx
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x525af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x599006
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x30], 8
jb 0x525b31
push dword [esi + 0x1c]
call fcn.00564de3
add esp, 4
mov dword [esi + 0x30], 7
xor eax, eax
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x18], 8
jb 0x525b5e
push dword [esi + 4]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x53f4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ea48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0053f970
mov dword [esp + 0x30], 0
lea esi, [esp + 0xc]
cmp dword [esp + 0x20], 8
cmovae esi, dword [esp + 0xc]
call fcn.005545a0
push ecx
push esi
mov ecx, eax
call fcn.00554670
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x53f51b
push dword [esp + 0xc]
call fcn.00564de3
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.00564de8
add esp, 0x28
ret

Function at 0x541e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59caa1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.00541f30
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x541f18
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
call fcn.00541f30
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x541ee9
cmp dword [esi + 0x14], 8
jb 0x541ece
push dword [esi]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00404150
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x541f01
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x543790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59caa1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.00543890
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x543878
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
call fcn.00543890
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x543849
cmp dword [esi + 0x14], 8
jb 0x54382e
push dword [esi]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00404150
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x543861
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x548060
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59d63c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov eax, dword [eax]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00404960
mov dword [esp + 0x14], 0
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x1c], eax
mov word [eax], cx
mov byte [esp + 0x14], 1
mov dword [eax + 0x2c], 7
mov dword [eax + 0x28], ecx
mov word [eax + 0x18], cx
mov byte [esp + 0x14], 2
mov dword [eax + 0x44], 7
mov dword [eax + 0x40], ecx
mov word [eax + 0x30], cx
mov byte [esp + 0x14], 3
mov dword [eax + 0x5c], 7
mov dword [eax + 0x58], ecx
mov word [eax + 0x48], cx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x54a380
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x59db6b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x158]
xorps xmm0, xmm0
mov eax, dword [esp + 0x15c]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x150], 0
lea eax, [esp + 0x30]
push 0x110
push 0
push eax
mov dword [esp + 0x38], 0x114
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x54a448
cmp dword [esp + 0x30], 6
jb 0x54a448
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0054a5f0
jmp 0x54a451
lea ecx, [esp + 0x20]
call fcn.0054ab00
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp ebp, eax
jne 0x54a464
xor bl, bl
jmp 0x54a547
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, ebp
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
je 0x54a541
lea ebx, [ebp + 0x4c]
jmp 0x54a490
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x54a52f
lea edi, [esi + 0x4c]
mov edi, edi
lea ebp, [ebx - 0x14]
mov ecx, ebp
call fcn.00549f60
test al, al
je 0x54a506
mov eax, dword [ebx - 4]
cmp eax, dword [edi - 4]
jne 0x54a516
cmp dword [edi], 8
jb 0x54a4c0
mov edx, dword [edi - 0x14]
jmp 0x54a4c3
lea edx, [edi - 0x14]
cmp dword [ebx], 8
jb 0x54a4cb
mov ebp, dword [ebp]
mov ecx, ebp
call fcn.004afc30
test al, al
je 0x54a516
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x54a516
cmp dword [edi + 0x18], 8
jb 0x54a4e9
mov edx, dword [edi + 4]
jmp 0x54a4ec
lea edx, [edi + 4]
cmp dword [ebx + 0x18], 8
jb 0x54a4fc
mov ecx, dword [ebx + 4]
call fcn.004afc30
jmp 0x54a50e
lea ecx, [ebx + 4]
call fcn.004afc30
jmp 0x54a50e
mov eax, dword [ebx - 0x4c]
cmp eax, dword [esi]
sete al
test al, al
jne 0x54a5b1
mov eax, dword [esp + 0x18]
add esi, 0x68
add edi, 0x68
cmp esi, dword [eax + 4]
jne 0x54a4a0
mov edi, eax
mov eax, dword [esp + 0x1c]
add ebx, 0x68
dec eax
mov dword [esp + 0x1c], eax
jne 0x54a490
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov bl, 1
mov dword [esp + 0x150], 0xffffffff
test ebp, ebp
je 0x54a585
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, ebp
call fcn.0054b460
push ebp
call fcn.00564de3
add esp, 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov al, bl
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00564de8
add esp, 0x140
ret 8
mov ecx, dword [esp + 0x14]
push esi
call fcn.0054aed0
mov edi, dword [esp + 0x18]
lea ecx, [esi + 0x68]
push dword [esp + 0x14]
push esi
mov edx, dword [edi + 4]
call fcn.0054b3c0
mov edx, dword [edi + 4]
add esp, 8
push dword [esp + 0x14]
lea ecx, [edx - 0x68]
push ecx
call fcn.0054b460
add esp, 8
add dword [edi + 4], 0xffffff98
jmp 0x54a52b
Function at 0x54bc00
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x590f01
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x50]
mov ecx, edi
push 1
push 0
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], 0x25
call fcn.00404390
push 0xffffffffffffffff
push 0
push edi
cmp eax, 0xffffffff
jne 0x54bc97
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.00404960
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
jmp 0x54bdab
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00404960
mov dword [esp + 0x48], 1
cmp dword [edi + 0x14], 8
jb 0x54bcd9
mov eax, dword [edi]
jmp 0x54bcdb
mov eax, edi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
jne 0x54bd06
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push edi
mov word [esi], ax
call fcn.00404960
jmp 0x54bd78
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x54bd2c
mov edi, dword [edi]
lea eax, [ebp + 1]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x54bd50
cmp eax, ebp
ja 0x54bd50
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x20]
push ebx
call fcn.0040bc40
push ebx
call fcn.0056503c
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 4
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00404150
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 8
jb 0x54bd98
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00564de8
add esp, 0x38
ret 8
Function at 0x54c020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59df04
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov dword [esp + 0x8c], 0
xor eax, eax
mov ebp, dword [esp + 0x94]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], 0
push 0x20
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
push 0x5c1a50
mov dword [esp + 0x20], ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00404a80
mov dword [esp + 0x8c], 1
xor eax, eax
push 0x20
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 0
push 0x5c1b78
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.00404a80
mov dword [esp + 0x8c], 2
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x8c], 3
xor edi, edi
lea esi, [esp + 0x4c]
nop
push esi
lea eax, [esp + 0x20]
push eax
call fcn.0054bc00
mov ebx, eax
mov byte [esp + 0x8c], 4
cmp esi, ebx
je 0x54c174
cmp dword [esi + 0x14], 8
jb 0x54c159
push dword [esi]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00404150
mov byte [esp + 0x8c], 3
cmp dword [esp + 0x30], 8
jb 0x54c18f
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov ecx, esi
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004b2f30
test al, al
jne 0x54c1c0
inc edi
add esi, 0x18
cmp edi, 2
jb 0x54c130
jmp 0x54c1dc
lea ecx, [esp + 0x4c]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x34]
cmp ecx, eax
je 0x54c1dc
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
cmp dword [esp + 0x44], 0
jne 0x54c1f3
push 0xa
push 0x5c1b60
lea ecx, [esp + 0x3c]
call fcn.00404a80
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.004b8b90
mov dword [esp + 0x14], 1
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x48], 8
jb 0x54c221
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x8c], al
lea eax, [esp + 0x4c]
push fcn.00403b40
push 2
push 0x18
push eax
call fcn.00564e2f
mov eax, ebp
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00564de8
add esp, 0x7c
ret 4
Function at 0x54ccf0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x59dffc
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28c]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x76]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, 0x5b1c58
mov dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54cd90
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b1c58
lea ecx, [esp + 0x2c]
call fcn.00404a80
mov dword [esp + 0x284], 0
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
cmp word [esp + 0x6c], ax
jne 0x54cdeb
xor ecx, ecx
jmp 0x54ce01
lea ecx, [esp + 0x6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54cdf2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x14]
call fcn.00404a80
mov byte [esp + 0x284], 1
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x58]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x284], 3
cmp dword [esp + 0x20], 8
jb 0x54ce48
push dword [esp + 0xc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov byte [esp + 0x284], 4
cmp dword [esp + 0x38], 8
jb 0x54ce7a
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.004b2f30
test al, al
jne 0x54cea2
xor bl, bl
jmp 0x54cf0a
lea edx, [esp + 0x54]
lea ecx, [esp + 0x3c]
call fcn.004b8b90
mov byte [esp + 0x284], 5
cmp dword [esp + 0x4c], 0
jne 0x54cec2
xor bl, bl
jmp 0x54ced8
lea eax, [esp + 0x3c]
cmp esi, eax
je 0x54ced6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404960
mov bl, 1
mov byte [esp + 0x284], 4
cmp dword [esp + 0x50], 8
jb 0x54cef3
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x284], 0xffffffff
cmp dword [esp + 0x68], 8
jb 0x54cf28
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov word [esp + 0x54], ax
mov al, bl
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00564de8
add esp, 0x27c
ret 4
Function at 0x54cf70
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x59e051
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, dword [esp + 0x274]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, 0x5b1c58
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54d010
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b1c58
lea ecx, [esp + 0x14]
call fcn.00404a80
mov dword [esp + 0x26c], 0
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
cmp word [esp + 0x54], ax
jne 0x54d06b
xor ecx, ecx
jmp 0x54d081
lea ecx, [esp + 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54d072
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.00404a80
mov byte [esp + 0x26c], 1
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x40]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x26c], 3
cmp dword [esp + 0x38], 8
jb 0x54d0c8
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x26c], 4
cmp dword [esp + 0x20], 8
jb 0x54d0fa
push dword [esp + 0xc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
call fcn.004b2f30
test al, al
jne 0x54d122
xor bl, bl
jmp 0x54d12f
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.0054c280
mov bl, al
mov dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x54d14d
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
mov al, bl
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00564de8
add esp, 0x264
ret 4
Function at 0x54d7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59caa1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x44]
push ecx
push esi
call fcn.0054d8b0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x54d88e
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push ecx
push eax
call fcn.0054d8b0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x54d85f
cmp dword [esi + 0x14], 8
jb 0x54d844
push dword [esi]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00404150
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x54d877
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x553d70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x59ec8b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [esp + 0x14], 0
call fcn.0056590a
add esp, 4
mov dword [esp + 0x10], eax
mov byte [eax], 0
lea eax, [esp + 0x14]
push 0x11c
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
mov dword [esp + 0x14], 0x11c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x553dfe
cmp dword [esp + 0x18], 6
mov eax, dword [esp + 0x10]
setae cl
mov byte [eax], cl
mov dword [esp + 0x140], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x14]
call fcn.004bfc40
test al, al
je 0x553e31
lea ecx, [esp + 0x10]
call fcn.004bf250
test al, al
jne 0x553e31
xor bl, bl
jmp 0x553ecf
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.004b7220
test al, al
jne 0x553e55
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x553e50
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.004b7220
test al, al
jne 0x553e7c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x553e77
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.004b7220
test al, al
jne 0x553ea3
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x553e9e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.004b7220
test al, al
jne 0x553eca
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x553ec5
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004be920
mov al, bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00564de8
add esp, 0x134
ret