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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4262a2
mov eax, dword [ebp - 4]
test eax, eax
je 0x4262a2
xor ecx, ecx
lea eax, [eax*2 + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059af42
mov esi, eax
pop ecx
test esi, esi
je 0x4262a2
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 2]
push eax
push 0
push esi
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x426298
push esi
call fcn.005c2f90
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
call fcn.0040b566
push 2
push esi
call fcn.0059a7b3
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x4262a4
push 2
push esi
call fcn.0059a7b3
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4262a9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2c
mov eax, 0x5e2d75
call fcn.0059bbd7
mov edi, edx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
inc ebx
mov dword [ebp - 0x38], ecx
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edx
push ecx
push edx
lea ecx, [ebp - 0x34]
push ecx
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4263b8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4263b8
xor ecx, ecx
lea eax, [eax*2 + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059af42
mov esi, eax
pop ecx
test esi, esi
je 0x4263b8
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx*4 + 2]
push ecx
push 0
push esi
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4263ae
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b566
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00423634
push 2
push esi
mov byte [ebp - 4], bl
call fcn.0059a7b3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
call fcn.0040a392
lea ecx, [ebp - 0x30]
call fcn.0040a4ed
jmp 0x4263ba
push 2
push esi
call fcn.0059a7b3
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov eax, ebx
call fcn.0059bb81
ret
Function at 0x4263ca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x10]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 4]
push eax
push str.app_tray_devicesid
push str.Software360
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x426473
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x426473
inc eax
push eax
call fcn.0059af42
mov esi, eax
pop ecx
test esi, esi
je 0x426473
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0
push esi
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push str.app_tray_devicesid
push str.Software360
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x426469
push esi
call fcn.005b69b0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040464f
push 1
push esi
call fcn.0059a7b3
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x426475
push 1
push esi
call fcn.0059a7b3
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x426479
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x42648b
mov esi, dword [esi]
add eax, eax
push eax
push esi
push 1
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
pop esi
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x4264a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x4264b5
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push dword [ebp + 8]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x4264d1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0
call fcn.00413c4d
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b0d5
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmovae ecx, dword [ebp - 0x1c]
add eax, eax
push eax
push ecx
push 1
push esi
push str.Software360360huabaohuabao
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
lea ecx, [ebp - 0x1c]
sbb esi, esi
call fcn.0040b67e
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret
Function at 0x426b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
test esi, esi
je 0x426bda
push ebx
push esi
call fcn.005c60df
pop ecx
pop ecx
test eax, eax
jne 0x426bda
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push 0x633b20
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005c2b8a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x426bba
push edi
push 2
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.005c421b
push edi
call fcn.005c2c80
add esp, 0x14
push 0x6372b4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x426bd6
push esi
call fcn.004352fd
pop ecx
mov ebx, eax
mov eax, ebx
jmp 0x426bdc
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret

Function at 0x42709e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 9
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b24a0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x210]
add esp, 0xc
mov dword [ebp - 0x210], 0x103
xor ebx, ebx
inc ebx
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4271f0
cmp ax, word [ebp - 0x20c]
je 0x4271f0
push 3
pop edi
push edi
lea eax, [ebp - 0x20c]
push 0x637314
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x427144
push 2
jmp 0x4271d6
push edi
lea eax, [ebp - 0x20c]
push 0x63731c
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x427161
push 5
jmp 0x4271d6
push edi
lea eax, [ebp - 0x20c]
push 0x637324
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x427181
mov esi, edi
jmp 0x427224
push edi
lea eax, [ebp - 0x20c]
push 0x63732c
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x42719e
push 6
jmp 0x4271d6
push edi
lea eax, [ebp - 0x20c]
push 0x637334
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x4271bb
push 7
jmp 0x4271d6
push edi
lea eax, [ebp - 0x20c]
push 0x63733c
push eax
call fcn.005c4dd6
add esp, 0xc
test eax, eax
jne 0x4271d9
push 8
pop esi
jmp 0x427224
push edi
lea eax, [ebp - 0x20c]
push 0x637344
push eax
call fcn.005c4dd6
add esp, 0xc
jmp 0x427224
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.VersionNumber
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x427224
cmp ax, word [ebp - 0x20c]
cmovne esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret
Function at 0x4272ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.0059b4a0
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x4000
lea eax, [ebp - 0x420c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.005b24a0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x427329
mov eax, dword [esi]
lea ecx, [ebp - 0x4214]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x4273f5
cmp eax, 0x3fff
ja 0x4273f5
cmp dword [esi + 0x14], 8
jb 0x427352
mov esi, dword [esi]
lea ecx, [ebp - 0x420c]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4273f5
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4210]
push eax
push 0x633b6c
lea eax, [ebp - 0x420c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4273f5
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b24a0
mov ecx, dword [ebp - 0x4210]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.00412a13
lea eax, [ebp - 0x20c]
push eax
call fcn.005c2f90
add esp, 0x2c
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b566
xor eax, eax
inc eax
jmp 0x4273f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret

Function at 0x427a90
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x427af1
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret

Function at 0x427afe
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x427b29
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x427b2e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x22c
lea eax, [ebp - 0x230]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x427bb8
lea eax, [ebp - 0x20c]
push 0x63424c
push eax
call fcn.005c42cb
pop ecx
pop ecx
test eax, eax
jne 0x427baa
mov ecx, dword [ebp - 0x228]
call fcn.00427afe
xor edx, edx
movzx ebx, bl
inc edx
test al, al
cmovne ebx, edx
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x427b7d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret
Function at 0x427bd4
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e303b
mov eax, dword fs:[0]
push eax
mov eax, 0x63360
call fcn.0059b4a0
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x62c]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.005b24a0
push 0x208
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.005b24a0
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.safelive
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x62c]
push eax
push str._s.cab
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.00412a13
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6336c]
call fcn.00416c9c
lea ecx, [ebp - 0x6336c]
mov dword [ebp - 4], ebx
call fcn.00417238
xor eax, eax
inc eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60f04], eax
jb 0x427cb6
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x6336c]
call fcn.0042ec9a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x60cc4], 0x493e0
push eax
lea ecx, [ebp - 0x6336c]
call fcn.0042ec68
lea ecx, [ebp - 0x6336c]
call fcn.00417188
lea ecx, [ebp - 0x6336c]
call fcn.00417498
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427dab
push 0x633b6c
mov edx, 0x6e9270
lea ecx, [ebp - 0x644]
call fcn.00411559
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x644]
cmp dword [ebp - 0x630], 8
lea ecx, [ebp - 0x674]
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.0040b0d5
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040b0d5
lea edx, [ebp - 0x674]
lea ecx, [ebp - 0x65c]
call fcn.00425e7a
lea ecx, [ebp - 0x65c]
mov esi, eax
call fcn.0040b67e
lea ecx, [ebp - 0x674]
call fcn.0040b67e
test esi, esi
je 0x427da0
cmp dword [edi + 0x14], 8
jb 0x427d8e
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x644]
call fcn.0040b67e
lea ecx, [ebp - 0x6336c]
call fcn.00416f6d
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059a7a2
leave
ret
Function at 0x427eba
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x22c
lea eax, [ebp - 0x230]
push edi
push 0
push eax
call fcn.005b24a0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x427f2d
lea eax, [ebp - 0x20c]
push 0x63424c
push eax
call fcn.005c42cb
pop ecx
pop ecx
test eax, eax
je 0x427f48
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x427f08
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret
mov al, 1
jmp 0x427f3a

Function at 0x428292
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x6d35ac]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
push 0x208
lea eax, [esp + 0x46c]
xor edi, edi
push 0
push eax
mov esi, edx
mov ebx, ecx
inc edi
call fcn.005b24a0
push 0x633b64
push ebx
push 0x635ea8
lea eax, [esp + 0x480]
push 0x103
push eax
call fcn.00412a13
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x42830d
xor eax, eax
jmp 0x4283e7
lea eax, [esp + 0x3c]
push 0x6361d0
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x4283b2
lea eax, [esp + 0x3c]
push 0x6361d4
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x4283b2
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.005b24a0
test byte [esp + 0x1c], 0x10
lea eax, [esp + 0x48]
push eax
push ebx
lea eax, [esp + 0x274]
je 0x428386
push 0x6361e0
push 0x103
push eax
call fcn.00412a13
add esp, 0x20
lea ecx, [esp + 0x260]
mov edx, esi
call fcn.00428292
jmp 0x4283b0
push 0x635ea8
push 0x103
push eax
call fcn.00412a13
add esp, 0x20
test esi, esi
je 0x4283a2
cmp esi, 1
jne 0x4283b2
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42830d
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x4283dc
cmp esi, 2
jne 0x4283e5
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov eax, edi
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059a7a2
mov esp, ebp
pop ebp
ret
Function at 0x4283fc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b0
mov eax, 0x5e30ab
call fcn.0059bbd7
xorps xmm0, xmm0
mov edx, ecx
push 0x633b6c
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x2b0], xmm0
call fcn.00411559
and dword [ebp - 4], 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [esp], 0x633b64
call fcn.00411559
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
jne 0x428480
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov esi, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
jmp 0x428586
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
test eax, eax
je 0x42857a
lea eax, [ebp - 0x27c]
push 0x6361d0
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x428562
lea eax, [ebp - 0x27c]
push 0x6361d4
push eax
call fcn.005c4d0e
pop ecx
pop ecx
test eax, eax
je 0x428562
lea eax, [ebp - 0x27c]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00411559
pop ecx
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
je 0x428506
lea ecx, [ebp - 0x28]
call fcn.004283fc
add edi, eax
adc esi, edx
jmp 0x428556
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428556
lea eax, [ebp - 0x2bc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42854f
add edi, dword [ebp - 0x2bc]
adc esi, dword [ebp - 0x2b8]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67e
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x42849a
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x58]
call fcn.0040b67e
mov eax, edi
mov edx, esi
call fcn.0059bb81
ret

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

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x428c80
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428c8f
xor al, al
ret
shr eax, 4
and al, 1
ret
Function at 0x428f7e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x637790
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429005
lea ecx, [ebp - 0x20c]
call fcn.0041e71d
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040b0d5
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret

Function at 0x4290b7
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x5e332c
call fcn.0059bbd7
xor ebx, ebx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00429022
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42910a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xa66
push str.RenderEngineOp::CheckRenderEngineDllExist
push str.__s__d___CheckRenderEngineDllExist_path_not_exist:__s
jmp 0x429157
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00429072
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x40]
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429161
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xa6b
push str.RenderEngineOp::CheckRenderEngineDllExist
push str.__s__d___CheckRenderEngineDllExist_file_not_exist:__s
call fcn.0040a649
add esp, 0x10
jmp 0x429163
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp + 8]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x4297cd
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5e342e
call fcn.0059bba3
push 0xae9
push str.RenderEngineOp::DownloadRenderEngineDll
xor edi, edi
push str.__s__d___DownloadRenderEngineDll_async_start
mov dword [ebp - 4], edi
call fcn.0040a649
add esp, 0xc
push 0x18
call fcn.0059a7c1
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040b155
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push edi
push esi
push 0x42978d
push edi
push edi
call fcn.005c30ff
add esp, 0x18
lea ecx, [ebp + 8]
call fcn.0040b67e
xor eax, eax
call fcn.0059bb6c
ret

Function at 0x42983f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.components_theme_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4298c6
lea ecx, [ebp - 0x20c]
call fcn.0041e71d
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040b0d5
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret