joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5995d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x6102d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x104
call fcn.0045048a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.004504be
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x413383
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4133f4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x4133aa
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4133f4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a1790
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4133cd
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4133f4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0045049d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x413430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59960b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5a1998
push str.InstallTime
push str.MainAppInfo
lea eax, [ebp - 0x230]
push 0x5a1790
push eax
call fcn.0044ba31
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push 0x5a1998
push eax
call fcn.00411a70
add esp, 0x1c
test al, al
je 0x413512
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4134c1
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5a1998
push str.InstallTime
push str.MainAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4134f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00411630
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00573cbe
mov edx, dword [ebp - 0x21c]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x41356d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413563
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413589
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3
Function at 0x413cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5996fb
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xa0], 8
lea eax, [edi + 0x8c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x848], ecx
mov dword [ebp - 0x844], edx
jb 0x413d02
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x413e69
xor eax, eax
mov dword [ebp - 0x818], 0
push eax
push 0x5a178c
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.00411630
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0056f980
push esi
lea eax, [ebp - 0x810]
push 0x5a1dc4
push eax
call fcn.00411a40
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push dword [ebp - 0x848]
je 0x413dde
push eax
mov ecx, edi
call fcn.00413bf0
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x413e32
mov ecx, eax
call fcn.004113b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x413e32
push 0x5a1790
push eax
call fcn.0044bbf6
add esp, 0x14
lea ecx, [ebp - 0x828]
call fcn.004113b0
movups xmm0, xmmword [ebp - 0x840]
xor eax, eax
mov word [ebp - 0x840], ax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [ebp - 0x830]
movq qword [ebp - 0x818], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
lea ecx, [ebp - 0x840]
call fcn.0040a530
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00573cbe
add esp, 4
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.0040a530
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599752
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x834], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push 0
mov dword [ebp - 0x83c], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0
call fcn.0056f980
mov eax, dword [ebp - 0x834]
add esp, 0xc
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x413f1b
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x810]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413f57
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00411630
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 1
jb 0x413f90
mov eax, dword [esi]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413fb8
test dx, dx
je 0x413fb4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413fb8
add eax, 4
add ecx, 4
test dx, dx
jne 0x413f92
xor eax, eax
jmp 0x413fbd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414086
mov eax, dword [ebp - 0x834]
push edi
push dword [ebp - 0x82c]
cmp byte [eax + 5], 0
push dword [ebp - 0x830]
je 0x414022
lea ecx, [ebp - 0x828]
push ecx
mov ecx, eax
call fcn.00413bf0
mov edi, eax
cmp esi, edi
je 0x41407b
mov ecx, esi
call fcn.004113b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x41407b
lea eax, [ebp - 0x828]
push 0x5a1790
push eax
call fcn.0044bbf6
lea eax, [ebp - 0x828]
add esp, 0x14
cmp esi, eax
je 0x41407b
mov ecx, esi
call fcn.004113b0
movups xmm0, xmmword [ebp - 0x828]
xor eax, eax
mov word [ebp - 0x828], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
call fcn.0040a530
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0056f980
lea eax, [esi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x415397
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a1ee4
push eax
call fcn.00411a40
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4153d1
lea eax, [ebp - 0x20c]
push eax
call fcn.0044a96b
add esp, 4
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0056f980
push str.usrcfg.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a1eb8
push eax
call fcn.00411a40
lea ecx, [ebp - 0x61c]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415410
sub ecx, edx
lea eax, [ebp - 0x61c]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x8c]
call fcn.00411630
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.0056f980
push str.Config.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x5a1eb8
push eax
call fcn.00411a40
lea ecx, [ebp - 0x824]
add esp, 0x1c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415470
sub ecx, edx
lea eax, [ebp - 0x824]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xa4]
call fcn.00411630
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0056f980
lea eax, [ebp - 0xa44]
push str.ZhPath
push eax
call fcn.0044ac75
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4154c1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push 0x5a1f30
push eax
call fcn.00411a40
mov edx, dword [ebp - 0xa30]
add esp, 0xc
cmp edx, 8
jb 0x415516
mov ecx, dword [ebp - 0xa44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41550c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4155a3
push edx
push ecx
call fcn.0045ec62
add esp, 8
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415536
lea eax, [ebp - 0x414]
push eax
call fcn.0044a96b
add esp, 4
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.0056f980
push str.Config.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a1eb8
push eax
call fcn.00411a40
lea ecx, [ebp - 0xa2c]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415572
sub ecx, edx
lea eax, [ebp - 0xa2c]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.00411630
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3
Function at 0x41b6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x41b7da
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub eax, 0xffffff80
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea esi, [ecx + 2]
sub ecx, eax
lea edx, [eax + 2]
add ecx, 0xfffffffe
lea eax, [edi - 1]
mov dword [ebp + 0x14], edx
shr eax, 3
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
nop
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
push ecx
push dword [ebp - 0xc]
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
call fcn.0041a970
mov ecx, dword [ebp + 8]
lea esi, [esi + 8]
mov edx, dword [ebp + 0x14]
add esp, 0xc
movzx eax, byte [ecx + 0x100]
mov ecx, dword [ebp - 8]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x14], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [ebp - 4], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [ebp - 8]
jne 0x41b710
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41ef70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x41effc
cmp byte [edi + 2], 0
je 0x41effc
push ebx
push esi
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 4]
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop word [eax + eax]
cmp esi, 0x14
jl 0x41efbb
cmp byte [edi + 2], 0
je 0x41efcc
mov al, byte [edi + 1]
test al, al
jne 0x41efcf
push 0x1f4
inc esi
call ebx
jmp 0x41efb0
mov al, byte [edi + 1]
pop esi
pop ebx
test al, al
jne 0x41effc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x41f011
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
lea ecx, [edi + 0xa0]
call fcn.0041eee0
mov ecx, dword [edi + 0x9c]
cmp ecx, 0x10
jb 0x41f056
mov eax, dword [edi + 0x88]
inc ecx
cmp ecx, 0x1000
jb 0x41f04c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f199
mov eax, edx
push ecx
push eax
call fcn.0045ec62
add esp, 8
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0xf
mov byte [edi + 0x88], 0
mov ecx, dword [edi + 0x84]
cmp ecx, 0x10
jb 0x41f0a8
mov eax, dword [edi + 0x70]
inc ecx
cmp ecx, 0x1000
jb 0x41f09e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f199
mov eax, edx
push ecx
push eax
call fcn.0045ec62
add esp, 8
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0xf
mov byte [edi + 0x70], 0
mov ecx, dword [edi + 0x6c]
cmp ecx, 0x10
jb 0x41f0f4
mov eax, dword [edi + 0x58]
inc ecx
cmp ecx, 0x1000
jb 0x41f0ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f199
mov eax, edx
push ecx
push eax
call fcn.0045ec62
add esp, 8
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov ecx, dword [edi + 0x54]
cmp ecx, 0x10
jb 0x41f136
mov eax, dword [edi + 0x40]
inc ecx
cmp ecx, 0x1000
jb 0x41f12c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f199
mov eax, edx
push ecx
push eax
call fcn.0045ec62
add esp, 8
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov ecx, dword [edi + 0x3c]
cmp ecx, 0x10
jb 0x41f178
mov eax, dword [edi + 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x41f16e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f199
mov eax, edx
push ecx
push eax
call fcn.0045ec62
add esp, 8
lea eax, [edi + 0x10]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xf
push eax
mov byte [edi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3
Function at 0x423d30
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x5a178c
mov dword [ebp - 0xa38], eax
call fcn.00411630
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x423f71
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x423f71
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045ec70
mov ebx, eax
add esp, 4
mov dword [ebp - 0xa34], ebx
test ebx, ebx
je 0x423f71
lea ecx, [esi*2 + 2]
push ecx
push 0
push ebx
call fcn.0056f980
add esp, 0xc
push ebx
push esi
call edi
test eax, eax
je 0x423f68
mov eax, dword [0x5a3098]
mov dword [ebp - 0xc], eax
mov ax, word [0x5a309c]
push 0x208
mov word [ebp - 8], ax
call fcn.0045ec70
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x423f62
push 0x208
push 0
push ebx
call fcn.0056f980
mov eax, dword [ebp - 0xa34]
add esp, 0xc
mov edi, eax
movzx eax, word [eax]
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push ebx
push eax
call esi
test eax, eax
jne 0x423e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x423f32
push ebx
call fcn.0045ec79
push 2
call fcn.0045ec70
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x423f32
xor eax, eax
push 1
mov word [ebx], ax
lea eax, [ebp - 0xc]
push ebx
push eax
call esi
test eax, eax
je 0x423f32
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x423e93
sub esi, ecx
lea eax, [ebp - 0x218]
sar esi, 1
push esi
push ebx
push eax
call fcn.0057c4ae
add esp, 0xc
test eax, eax
je 0x423ecf
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x423eb7
movzx eax, word [edi]
test ax, ax
je 0x423f32
jmp 0x423e35
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.0056f980
lea eax, [ebp - 0x218]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5a1eb8
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.004242a0
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.0040f6c0
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.0040cd20
lea ecx, [ebp - 0xa30]
call fcn.0040a530
push dword [ebp - 0xa34]
call fcn.0045ec79
add esp, 4
test ebx, ebx
je 0x423f4d
push ebx
call fcn.0045ec79
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 0xa34]
push ebx
call fcn.0045ec79
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 8
Function at 0x427600
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push esi
mov esi, ecx
je 0x427653
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427649
push 0x5a38fc
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00426da0
cmp dword [ebp + 8], 0
pop esi
je 0x42766c
call fcn.00427670
test eax, eax
je 0x42766c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xc]
pop ebp
ret 0xc

Function at 0x427970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.00427670
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x44]
call eax
test al, al
je 0x4279d3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4279d3
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00427d60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
Function at 0x4286b0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59960b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
add esp, 0xc
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x5a178c
call fcn.0041e7b0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
mov dword [ebp - 4], 0
call esi
test eax, eax
je 0x4287aa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041e7b0
push 1
push 0x5a1724
lea ecx, [ebp - 0x230]
call fcn.004114b0
push 6
push 0x5a38fc
lea ecx, [ebp - 0x230]
call fcn.004114b0
push 4
push 0x5a1728
lea ecx, [ebp - 0x230]
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42883a
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call esi
test eax, eax
je 0x428841
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041e7b0
push 1
push 0x5a1724
lea ecx, [ebp - 0x230]
call fcn.004114b0
push 6
push 0x5a38fc
lea ecx, [ebp - 0x230]
call fcn.004114b0
push 4
push 0x5a1728
lea ecx, [ebp - 0x230]
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428841
mov esi, 1
jmp 0x428843
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42887f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428875
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42889b
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3