joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419294
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push edi
lea edi, [esi + 0x3dc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [edi], ebx
je 0x4192b6
call dword [0x45c400]
mov dword [edi], ebx
mov eax, dword [esi + 0x3d0]
cmp eax, ebx
je 0x4193a4
push eax
call fcn.00411b23
mov edi, eax
pop ecx
cmp edi, ebx
je 0x419359
mov eax, dword [edi]
push 2
push ebx
mov ecx, edi
call dword [eax + 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
je 0x4192f3
push 1
mov eax, esi
call fcn.00418a47
mov eax, dword [esi + 0x3d0]
cmp eax, dword [esi + 0x3cc]
je 0x419309
cmp dword [edi + 0xac], ebx
je 0x419359
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00408c9b
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x419348
cmp word [eax], bx
je 0x419348
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [0x45c31c]
jmp 0x419359
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x419359
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
mov dword [esi + 0x3d0], ebx
cmp dword [ebp - 8], ebx
je 0x4193a4
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
call dword [0x45c3f8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0x10], eax
call dword [0x45c39c]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push 0x4e
push eax
call dword [0x45c348]
pop edi
pop ebx
leave
ret 0xc

Function at 0x419b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [esi + 4]
call dword [0x45c390]
mov edi, dword [0x45c348]
test eax, eax
je 0x419b4b
push 0x11
call dword [0x45c430]
test ax, ax
jl 0x419b44
cmp dword [ebp + 8], 0x1b
jne 0x419b30
push 0
push 2
jmp 0x419b3a
cmp dword [ebp + 8], 0xd
jne 0x419b44
push 0
push 1
push 0x111
push dword [esi + 4]
call edi
and dword [esi + 0x454], 0
cmp dword [esi + 4], 0
je 0x419b6c
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x100
push dword [esi + 0x30]
call edi
pop edi
pop ebp
ret 0xc

Function at 0x419f8e
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [0x45c430]
push edi
push 0x10
xor edi, edi
call esi
mov bl, 0x80
test bl, al
jne 0x419faf
push 0xa1
call esi
test bl, al
je 0x419fb2
push 4
pop edi
push 0x11
call esi
test bl, al
jne 0x419fc2
push 0x11
call esi
test bl, al
je 0x419fc5
or edi, 8
push 1
call esi
test bl, al
jne 0x419fd5
push 1
call esi
test bl, al
je 0x419fd8
or edi, 1
push 2
call esi
test bl, al
jne 0x419fe8
push 2
call esi
test bl, al
je 0x419feb
or edi, 2
push 4
call esi
test bl, al
jne 0x419ffb
push 0x10
call esi
test bl, al
je 0x419ffe
or edi, 0x10
push dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push dword [esp + 0x1c]
push edi
call fcn.00419294
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ecx
ret 0xc
Function at 0x41bcb6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov ebx, eax
push edi
xor edi, edi
lea esi, [ebx + 0x574]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
cmp dword [esi], edi
je 0x41bcdb
call dword [0x45c400]
and dword [esi], edi
mov eax, dword [ebx + 0x57c]
test eax, eax
je 0x41bd82
push eax
call fcn.00411b23
mov edi, eax
xor esi, esi
pop ecx
cmp edi, esi
je 0x41bd7c
mov eax, dword [edi]
push 2
push esi
mov ecx, edi
call dword [eax + 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
je 0x41bd1a
lea eax, [ebx + 0x18]
push eax
call fcn.00412252
mov eax, dword [ebx + 0x57c]
cmp eax, dword [ebx + 0x578]
jne 0x41bd7c
cmp edi, ebx
je 0x41bd49
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00408c9b
mov eax, dword [edi + 0xa0]
cmp eax, esi
je 0x41bd6b
cmp word [eax], si
je 0x41bd6b
push 1
push esi
push esi
push eax
push str.open
push esi
call dword [0x45c31c]
jmp 0x41bd7c
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x41bd7c
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x57c], esi
lea esi, [ebx + 0x128]
mov eax, dword [esi + 0x170]
and dword [esi + 0x188], 0
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x214]
push 0xa
mov dword [esi + 0x104], 1
call fcn.0041f3ca
mov eax, dword [esi + 0x214]
push 0xb
call fcn.0041f3ca
mov eax, dword [esi + 0x214]
push 0xc
call fcn.0041f3ca
mov eax, dword [esi + 0x214]
push 0xd
call fcn.0041f3ca
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 1
call fcn.0041fded
cmp dword [ebp - 8], 0
je 0x41be27
mov eax, dword [ebx + 0x10]
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
call dword [0x45c3f8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x4e
push dword [ebx + 0x10]
call dword [0x45c348]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e1e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ac9a
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
push ebx
push esi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 0xc]
call fcn.004311b0
push eax
lea esi, [esp + 0x44]
call fcn.00409235
mov byte [esp + 0x150], 1
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.0040172d
lea eax, [esp + 0x44]
mov byte [esp + 0x150], 0
cmp dword [esp + 0x40], eax
je 0x41e28a
push dword [esp + 0x40]
call fcn.0043cf87
pop ecx
fldz
mov eax, dword [edi + 0x1c0]
fst dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fstp dword [esp + 0x18]
test eax, eax
jne 0x41e2ab
call fcn.004119bd
fild dword [ebx]
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x18]
push eax
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
fild dword [ebx + 4]
push dword [eax - 0xc]
push eax
fstp dword [esp + 0x20]
lea eax, [esp + 0x1c]
call fcn.0041de97
fild dword [ebx]
mov ecx, dword [edi + 0x54]
mov eax, dword [edi + 0x20]
fadd dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 5
jp 0x41e2ff
mov eax, dword [edi + 0x18]
add eax, ecx
mov dword [ebx], eax
mov eax, dword [edi + 0x60]
add dword [ebx + 4], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
mov dword [esp + 0xc], eax
fadd dword [esp + 0x24]
call fcn.004578a0
fild dword [esp + 0xc]
push eax
fadd dword [esp + 0x24]
call fcn.004578a0
push eax
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
call dword [0x45c37c]
mov eax, dword [edi + 0x5c]
add eax, dword [esp + 0x38]
mov ecx, 0x4634a8
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
lea ebx, [esp + 0x2c]
call fcn.00430c40
lea ebx, [edi + 0x208]
push dword [ebx + 4]
lea eax, [esp + 0x2c]
push eax
call fcn.0041edc4
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41e370
mov dword [ecx], eax
jmp 0x41e372
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00401143
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42157a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
inc edi
mov esi, ecx
cmp eax, 0xf
jne 0x4215a9
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xfc]
mov dword [eax], edi
and dword [ecx], 0
cmp dword [eax], 0
je 0x4215e0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x421601
push dword [esi + 0x14]
mov dword [esi + 0xfc], edi
push dword [esi + 0x10]
call dword [0x45c410]
mov ebx, eax
test ebx, ebx
je 0x4215da
push ebx
call dword [0x45c3c4]
test eax, eax
je 0x4215da
push 0
push ebx
call dword [0x45c35c]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xfc], 0
jne 0x4215a0
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412d90
jmp 0x4215a2
cmp eax, 0x47
jne 0x421626
push dword [ebp + 0x14]
lea ebx, [esi + 0xfc]
mov eax, esi
mov dword [ebx], edi
call fcn.0042145f
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jmp 0x42159e
cmp eax, 0x18
jne 0x4215e0
push dword [ebp + 0x10]
lea ebx, [esi + 0xfc]
mov eax, esi
mov dword [ebx], edi
call fcn.00421536
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jne 0x4215a0
jmp 0x4215e0
Function at 0x429329
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value
Reference cloudflare dns server

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x4732d4]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x6c], eax
cmp eax, edi
je 0x4294c1
cmp ebx, edi
je 0x4294c1
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push edi
push eax
call fcn.0043d6d0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push str.SOFTWARETencentTXSSO
push 0x80000002
mov dword [ebp - 0x74], edi
call dword [0x45c024]
test eax, eax
jne 0x4293ee
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push str.Version
push dword [ebp - 0x70]
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x78], 0x104
call dword [0x45c010]
test eax, eax
jne 0x4293e5
cmp dword [ebp - 0x80], 1
jne 0x4293e5
push str.1.1.1.1
call fcn.0043c9e9
pop ecx
cmp dword [ebp - 0x78], eax
jb 0x4293e5
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [0x45c01c]
xor eax, eax
push esi
mov word [ebp + 0x1a0], ax
lea eax, [ebp + 0x1a2]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.0043d6d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x2b
push edi
call dword [0x45c324]
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x7c]
call dword [0x45c328]
lea eax, [ebp + 0x1a0]
push eax
call fcn.0043c9e9
mov edi, eax
pop ecx
test edi, edi
jbe 0x4294c1
mov esi, dword [0x45c334]
lea eax, [ebp + 0x1a0]
push eax
call esi
test eax, eax
je 0x4294c1
lea eax, [ebp + edi*2 + 0x19e]
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x429468
cmp cx, 0x2f
jne 0x42946d
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x74], 0
push dword [ebp - 0x6c]
je 0x4294da
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a0]
push eax
push str._sTencentTXSSO_sBin_s
mov edi, 0x103
push edi
push ebx
call fcn.0044024e
add esp, 0x18
push ebx
call esi
test eax, eax
je 0x4294a1
xor eax, eax
inc eax
jmp 0x4294c3
push dword [ebp - 0x6c]
lea eax, [ebp + 0x1a0]
push eax
push str._sTencentTXSSOBin_s
push edi
push ebx
call fcn.0044024e
add esp, 0x14
push ebx
call esi
test eax, eax
jne 0x42949c
xor eax, eax
mov ecx, dword [ebp + 0x3a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043c333
add ebp, 0x3ac
leave
ret
lea eax, [ebp + 0x1a0]
push eax
push str._sTencentTXSSOBin_s
push 0x103
jmp 0x4294b1
Function at 0x4294ed
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebx], esi
mov dword [edi], esi
call fcn.0043c322
mov dword [ebp - 8], eax
cmp eax, esi
je 0x429568
push eax
call fcn.0043b115
pop ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 4], eax
push esi
push dword [ebp + 8]
call fcn.0043c316
test eax, eax
je 0x42955f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x462884
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.0043c31c
test eax, eax
je 0x42955f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push dword [ebp - 4]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
call fcn.0043ca2f
xor eax, eax
pop ecx
inc eax
jmp 0x42956a
push dword [ebp - 4]
call fcn.0043ca2f
pop ecx
xor eax, eax
pop esi
leave
ret

Function at 0x42956d
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4732d4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x45a70c
call fcn.00442288
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x10], eax
xor eax, eax
mov edi, 0x206
xor esi, esi
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 0x1c], esi
call fcn.0043d6d0
push str.SSOPlatform.dll
lea ebx, [ebp]
call fcn.00429329
mov ebx, eax
xor eax, eax
push edi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.0043d6d0
lea edi, [ebp - 0x14]
call fcn.0042928b
mov dword [ebp - 4], esi
push dword [ebp - 0x14]
lea eax, [ebp + 0x208]
push str._sTXSSOBinSSOPlatform.dll
push 0x208
push 0x104
push eax
call fcn.0043ce93
add esp, 0x30
lea eax, [ebp + 0x208]
push eax
call dword [0x45c334]
cmp ebx, esi
je 0x4296c4
mov dword [ebp - 0x1c], 1
cmp eax, esi
je 0x429684
lea eax, [ebp]
push eax
lea edi, [ebp - 0x24]
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
call fcn.004294ed
lea eax, [ebp + 0x208]
push eax
lea edi, [ebp - 0x28]
lea ebx, [ebp - 0x18]
call fcn.004294ed
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
cmp eax, dword [ebp - 0x18]
ja 0x429684
jne 0x429668
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jae 0x429684
push str.SSOLUIControl.dll
push dword [ebp - 0x14]
push str._sTXSSOBin_s
push 0x103
push dword [ebp - 0x10]
call fcn.0043ce75
jmp 0x4296e9
mov ebx, dword [ebp - 0x10]
push str.SSOLUIControl.dll
call fcn.00429329
mov esi, eax
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401143
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0043c333
add ebp, 0x414
leave
ret
cmp eax, esi
je 0x4296ec
push str.SSOLUIControl.dll
push dword [ebp - 0x14]
push str._sTXSSOBin_s
push 0x103
push dword [ebp - 0x10]
call fcn.0043ce75
mov dword [ebp - 0x1c], 1
add esp, 0x14
mov esi, dword [ebp - 0x1c]
jmp 0x429694
Function at 0x42be00
Capabilities:
Create thread

Disassembly:
sub esp, 0xf8
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0xf0], eax
cmp dword [0x47826c], 0
push ebp
push esi
push edi
mov esi, ecx
je 0x42be3f
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0043c333
add esp, 0xf8
ret
call fcn.0042c840
mov eax, esi
mov esi, 0x478230
call fcn.0040e4d9
xor eax, eax
push 0xc6
push eax
lea ecx, [esp + 0x3a]
push ecx
mov dword [0x47826c], 1
mov byte [esp + 0x1c], 0
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
call fcn.0043d6d0
add esp, 0xc
push 1
lea edx, [esp + 0x14]
push edx
call dword [0x45c038]
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
call dword [section..rdata]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], ecx
call dword [0x45c258]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea edx, [esp + 0x38]
push 0x63
push edx
call fcn.0043ce75
mov esi, dword [0x45c2b0]
add esp, 0x10
lea eax, [esp + 0x30]
push eax
push 1
push 1
lea ecx, [esp + 0x30]
push ecx
call esi
mov ebp, dword [0x45c25c]
mov edi, eax
mov eax, dword [0x478224]
test eax, eax
je 0x42bf11
push eax
call ebp
push 0
push 0
push 0
push 0
mov dword [0x478224], edi
call esi
mov esi, eax
mov eax, dword [0x478228]
test eax, eax
je 0x42bf2f
push eax
call ebp
cmp dword [0x478224], 0
mov dword [0x478228], esi
je 0x42bf8f
test esi, esi
je 0x42bf8f
push 0
push 0
push 0x478220
push 0x42c440
push 0
push 0
call fcn.0043fe5b
mov esi, eax
mov eax, dword [0x47822c]
add esp, 0x18
test eax, eax
je 0x42bf6a
push eax
call ebp
xor eax, eax
test esi, esi
mov dword [0x47822c], esi
setne al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0043c333
add esp, 0xf8
ret
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0043c333
add esp, 0xf8
ret

Function at 0x42c7b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x2c], 0
push esi
lea esi, [eax + 0x2c]
jne 0x42c830
cmp dword [eax + 0x28], 8
jb 0x42c7c6
mov eax, dword [eax + 0x14]
jmp 0x42c7c9
add eax, 0x14
push 0x4665a8
push eax
push esi
call fcn.00440707
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x42c830
push edi
push 2
push 0
push eax
call fcn.004407e4
mov eax, dword [esi]
push eax
call fcn.00440a06
mov ecx, dword [esi]
push 0
push 0
push ecx
mov edi, eax
call fcn.004407e4
add esp, 0x1c
test edi, edi
pop edi
jne 0x42c830
mov eax, dword [esi]
push eax
push 2
xor edx, edx
lea ecx, [esp + 0xc]
mov word [esp + 0xd], dx
push 1
push ecx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
mov byte [esp + 0x16], dl
call fcn.00440bd6
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret
Function at 0x432250
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46c300
push 0x441720
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4732d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [0x45c2c0]
push eax
call dword [0x45c014]
cmp eax, esi
je 0x4322fe
lea ecx, [ebp - 0x28]
push ecx
push str.SeDebugPrivilege
push esi
call dword [0x45c008]
cmp eax, esi
je 0x4322fe
mov edi, 1
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x45c004]
cmp eax, esi
je 0x4322fe
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00432321
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433200
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x45a6ab
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x23
lea eax, [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [0x45c32c]
xor ecx, ecx
mov ebp, 7
lea eax, [esp + 0x30]
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
call fcn.0040e4d9
mov dword [esp + 0x244], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4332ac
xor edx, edx
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov eax, 0x462880
mov esi, edi
mov word [edi + 4], dx
call fcn.0040e4d9
cmp dword [esp + 0x2c], 8
jb 0x43337e
mov eax, dword [esp + 0x18]
push eax
jmp 0x433376
lea esi, [eax - 1]
cmp eax, esi
ja 0x4332b8
call fcn.0043b746
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x4332cb
lea eax, [esp + 0x18]
movzx eax, word [eax + esi*2]
cmp ax, 0x5c
je 0x4332f7
cmp ax, 0x2f
je 0x4332f7
push 0x462884
call fcn.0043c9e9
add esp, 4
push eax
push 0x462884
lea eax, [esp + 0x1c]
call fcn.004337d0
push str.Shuame_
call fcn.0043c9e9
add esp, 4
push eax
push str.Shuame_
lea eax, [esp + 0x1c]
call fcn.004337d0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x433321
lea eax, [esp + 0x18]
push eax
call fcn.004320e0
add esp, 4
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
test eax, eax
jne 0x433357
xor ecx, ecx
mov eax, 0x462880
mov esi, edi
mov word [edi + 4], cx
call fcn.0040e4d9
cmp dword [esp + 0x2c], ebp
jb 0x43337e
mov edx, dword [esp + 0x18]
push edx
jmp 0x433376
xor eax, eax
push 0xffffffffffffffff
mov word [edi + 4], ax
push edi
xor ebx, ebx
lea eax, [esp + 0x1c]
call fcn.0040e451
cmp dword [esp + 0x2c], ebp
jb 0x43337e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043c328
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0043c333
add esp, 0x238
ret
Function at 0x4333b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4595a6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp esi, edi
je 0x433499
push esi
call dword [0x45c334]
test eax, eax
je 0x433499
push 0x208
lea ecx, [esp + 0x52]
xor eax, eax
push edi
push ecx
mov word [esp + 0x58], ax
call fcn.0043d6d0
add esp, 0xc
push 0x104
lea edx, [esp + 0x50]
push esi
push edx
call fcn.0044139c
add esp, 0xc
test eax, eax
jne 0x4334c2
mov word [esp + 0x18], ax
mov eax, esi
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040e4d9
mov dword [esp + 0x268], edi
mov eax, dword [0x478294]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
mov ecx, esi
push ecx
push edx
push eax
call fcn.0042ce50
mov ecx, 0x478280
mov esi, eax
call fcn.00433980
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp dword [esp + 0x2c], 8
jb 0x433499
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043c328
add esp, 4
xor al, al
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0043c333
add esp, 0x25c
ret
lea edx, [esp + 0x4c]
push edx
call dword [0x45c1f8]
test eax, 0x400
je 0x433508
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
call fcn.00431ec0
lea eax, [esp + 0x30]
mov ebx, 0x478280
mov dword [esp + 0x268], 1
call fcn.00433780
cmp dword [esp + 0x48], 8
jb 0x433499
mov ecx, dword [esp + 0x34]
jmp 0x433490
mov al, 1
jmp 0x43349b

Function at 0x433590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 0x201
push 0
push str.SoftwareBottleTechShuame
push 0x80000002
call dword [0x45c024]
test eax, eax
jne 0x43367b
xor ecx, ecx
push 0x400
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.0043d6d0
mov edx, dword [esp + 0xc]
add esp, 0xc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push str.InstallDir
push edx
mov dword [esp + 0x1c], 0x200
call dword [0x45c010]
test eax, eax
jne 0x433671
lea eax, [esp + 8]
push eax
push 0x104
push esi
call fcn.0043e198
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433623
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x43364d
push 0x462884
push 0x104
push esi
call fcn.00440321
add esp, 0xc
mov ecx, dword [esp]
push ecx
call dword [0x45c01c]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0043c333
add esp, 0x410
ret
mov edx, dword [esp]
push edx
call dword [0x45c01c]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.0043c333
add esp, 0x410
ret