joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4252e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004248c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f000
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4253e8
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425420
push 4
lea ecx, [ebp + 8]
push ecx
push 0xb
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425420
cmp eax, dword [ebp - 0x40]
je 0x425419
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a180
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x425477
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425458
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4254c7
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x4254b1
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4254a7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4254cc
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x425540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499db0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004248c0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0044f000
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x425642
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42568d
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 4
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 4
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42568d
cmp eax, dword [ebp - 0x44]
je 0x425686
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a180
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x4256e4
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4256c5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425733
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x42571e
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425714
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425738
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x425740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004248c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f000
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x425848
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425880
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425880
cmp eax, dword [ebp - 0x40]
je 0x425879
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a180
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x4258d7
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4258b8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425927
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x425911
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425907
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42592c
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x425940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499df0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004248c0
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
call fcn.0044f000
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x425a42
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x425a96
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 3
mov eax, dword [esi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425a6e
xor bl, bl
jmp 0x425a75
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.RegistryKey.0
test eax, eax
je 0x425a96
cmp eax, dword [ebp - 0x44]
je 0x425a8f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a180
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x425aed
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425ace
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425b3d
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x425b27
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425b1d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425b42
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x425b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.004248c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f000
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x425c52
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425c8a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425c8a
cmp eax, dword [ebp - 0x40]
je 0x425c83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a180
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x425ce1
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425cc2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425d31
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x425d1b
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425d11
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425d36
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x426040
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
push 1
mov edi, ecx
call ebx
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call ebx
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x426108
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call ebx
mov ecx, edi
call fcn.004261a0
test al, al
je 0x4260aa
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4260f1
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x426108
push eax
call ebx
mov ecx, edi
call fcn.004261a0
test al, al
jne 0x426108
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x426108
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00471ca0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x264]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471ca0
mov esp, ebp
pop ebp
ret
Function at 0x426350
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499e96
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push dword [ecx + 4]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x27c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
call fcn.0043a0d0
push 0x4b4130
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call fcn.0043a0d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
sub ecx, eax
mov edx, dword [ebp - 0x288]
sub eax, 2
push dword [ebp - 0x268]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x284]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x278]
call fcn.00421a80
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.0043a180
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push 1
call edi
mov esi, eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [ebp - 0x264], eax
call edi
cmp dword [ebp - 0x264], 0xffffffff
jne 0x426440
xor bl, bl
jmp 0x42651a
mov edi, dword [ebp - 0x26c]
mov esi, edi
nop dword [eax + eax]
mov ecx, 0x4b4138
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426486
test dx, dx
je 0x426482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426486
add eax, 4
add ecx, 4
test dx, dx
jne 0x426460
xor eax, eax
jmp 0x42648b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4264e5
mov eax, 0x4b148c
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4264c6
test dx, dx
je 0x4264c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4264c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4264a0
xor eax, eax
jmp 0x4264cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4264e5
test edi, edi
je 0x4264e1
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, esi
call dword [eax + 4]
inc ebx
add esi, 0x10
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x426450
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x426518
mov eax, dword [ebp - 0x268]
mov dword [eax], ebx
mov bl, 1
mov edx, dword [ebp - 0x278]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test edx, edx
je 0x42655d
mov ecx, dword [ebp - 0x270]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x426553
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42657d
push ecx
push edx
call fcn.00471cb1
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.00471ca0
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
int3
Function at 0x426590
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x204]
mov esi, edx
push eax
mov ebx, ecx
mov dword [ebp - 0x214], esi
push 0xff
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x4265dd
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471ca0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
cmp word [ebp - 0x204], ax
je 0x42667e
push edi
lea edi, [ebp - 0x204]
mov esi, ebx
push edi
call fcn.0047ee36
mov ebx, eax
push 0x5c
push ebx
call fcn.004732c3
add esp, 0xc
test eax, eax
je 0x42661d
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x210], 0
je 0x42662e
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 4]
push ebx
call fcn.0047d6ca
push 0x4b413c
push edi
call fcn.0047ee95
mov ecx, dword [ebp - 0x208]
lea edi, [ebp - 0x204]
inc ecx
add esp, 0xc
add ecx, eax
add esi, 0x10
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x208], ecx
cmp word [edi + ecx*2], 0
lea edi, [edi + ecx*2]
mov dword [ebp - 0x20c], eax
jne 0x426601
mov ebx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
pop edi
test ebx, ebx
jne 0x426684
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00471ca0
mov esp, ebp
pop ebp
ret
Function at 0x428080
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
call eax
test al, al
jne 0x428220
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x4280c6
mov eax, edi
jmp 0x4280cb
call fcn.0042d710
cmp dword [eax + 4], 0
jne 0x42811f
lea ecx, [ebp - 0x40]
call fcn.0043a040
mov dword [ebp - 4], 0
mov ecx, str.file
test byte [edi + 0x20], 1
mov eax, 0x4b41c0
cmove eax, ecx
push eax
push dword [esi + 0x74]
lea eax, [ebp - 0x40]
push str.Downloading__s__s
push eax
call fcn.0043a5e0
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x3c]
call fcn.0042c4f0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a180
test byte [edi + 0x20], 1
je 0x42820c
push dword [esi + 0x74]
lea ecx, [ebp - 0x30]
call fcn.00425e90
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.00426120
test al, al
je 0x428157
lea ecx, [ebp - 0x30]
call fcn.004261a0
test al, al
jne 0x4281e4
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4281e4
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push dword [esi + 0x74]
push str.Error:_failed_to_create_local_folder__s
push eax
call fcn.0043a5e0
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0042c450
mov ecx, esi
call fcn.00428410
lea ecx, [ebp - 0x20]
call fcn.0043a180
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a180
jmp 0x428213
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x10], al
push dword [ebp - 0x10]
push dword [esi + 0x64]
call fcn.0042da30
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a180
jmp 0x428213
mov ecx, esi
call fcn.00428240
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x428227
mov ecx, esi
call fcn.00428860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret