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

Disassembly:
push 0x270
mov eax, 0x6b6336
call fcn.0066d88e
mov esi, ecx
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.005761e7
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x3c]
call fcn.00576fc1
lea ecx, [ebp - 0x3c]
call fcn.00577126
push edi
lea ecx, [ebp - 0x3c]
call fcn.00577bdf
mov bl, al
neg bl
sbb bl, bl
inc bl
cmp dword [esi + 0x30], 0
jne 0x579ce8
test bl, bl
mov eax, 0x41cff8
jne 0x579cb3
mov eax, 0x41cff0
push eax
push 0x41d490
lea eax, [ebp - 0x27c]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x170]
lea edi, [ebp - 0x170]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
mov ecx, dword [ebp + 8]
call fcn.00576060
cmp eax, 0x3fff
jbe 0x579d31
test bl, bl
mov edi, 0x41cff8
jne 0x579d05
mov edi, 0x41cff0
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
lea eax, [ebp - 0x27c]
push edi
push 0x41d420
push 0x1d
push eax
call fcn.00520b6e
add esp, 0x18
jmp 0x579cca
mov ecx, edi
call fcn.00576275
test al, al
je 0x579d59
push 0x4183c8
lea ecx, [ebp - 0x64]
call fcn.0057706c
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 1
jmp 0x579d5c
mov dword [ebp - 0x10], edi
mov ecx, edi
call fcn.00576060
mov ecx, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
xor eax, eax
test bl, bl
setne al
inc eax
push eax
push 0
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 4], 0
test byte [ebp - 0x14], 1
mov edi, eax
je 0x579da2
lea ecx, [ebp - 0x64]
call fcn.00576231
test edi, edi
jle 0x579db4
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jge 0x579e04
test bl, bl
mov ebx, 0x41cff8
jne 0x579dc4
mov ebx, 0x41cff0
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push ebx
push 0x41d3b8
lea eax, [ebp - 0x27c]
push edi
push eax
call fcn.00520ba2
add esp, 0x20
jmp 0x579cca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00576231
call fcn.0066d966
ret 8
Function at 0x579e18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0
push edi
jne 0x579e60
push 0x41d530
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x114]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
mov ecx, dword [ebp + 8]
push 4
pop edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jle 0x579e96
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
jge 0x579ed8
cmp ebx, 0x80070002
je 0x579ee1
cmp ebx, 0x800700ea
je 0x579ee1
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d4f0
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00520ba2
add esp, 0x14
jmp 0x579e42
cmp dword [ebp - 4], edi
jne 0x579ee1
mov al, 1
jmp 0x579ee3
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x579eea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x30], ebx
push edi
jne 0x579f3c
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d590
lea eax, [ebp - 0x224]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x118]
lea edi, [ebp - 0x118]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x579f6f
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x80070002
mov dword [ebp - 0xc], eax
je 0x57a037
cmp dword [ebp - 8], 1
je 0x579f8d
cmp dword [ebp - 8], 2
jne 0x57a037
cmp dword [ebp - 0xc], ebx
jge 0x579fc0
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d4f0
push dword [ebp - 0xc]
lea eax, [ebp - 0x224]
push eax
call fcn.00520ba2
add esp, 0x14
jmp 0x579f1e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
inc eax
inc eax
mov dword [ebp - 4], eax
shr eax, 1
push eax
call fcn.005765be
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x57a001
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jge 0x57a021
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d4f0
push edi
jmp 0x579fac
mov ecx, dword [ebp + 0xc]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp - 4]
shr ecx, 1
mov word [eax + ecx*2 - 2], bx
mov al, 1
jmp 0x57a039
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x57a040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x30], eax
push edi
jne 0x57a092
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d590
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x114]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
push 3
pop ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [esi + 0x30]
call edi
test eax, eax
jle 0x57a0c7
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x80070002
je 0x57a160
cmp dword [ebp - 4], ebx
jne 0x57a160
test eax, eax
jge 0x57a11d
push ebx
call fcn.00579737
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d5e8
lea eax, [ebp - 0x220]
push 0x2b
push eax
call fcn.00520b6e
add esp, 0x1c
jmp 0x57a074
mov ebx, dword [ebp + 0xc]
push dword [ebp - 8]
mov ecx, ebx
call fcn.0058ab5a
mov ebx, dword [ebx]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push 0
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [esi + 0x30]
call edi
test eax, eax
jle 0x57a155
and eax, 0xffff
or eax, 0x80070000
test eax, eax
jge 0x57a15c
push dword [ebp - 4]
jmp 0x57a0e0
mov al, 1
jmp 0x57a162
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x57ac78
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x464
mov eax, 0x6b651d
call fcn.0066d88e
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jne 0x57acc4
push 0x41dbb8
lea eax, [ebp - 0x364]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x258]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x258]
push eax
call fcn.0066dd58
call fcn.005799a2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
call fcn.005761e7
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00536636
cmp dword [ebp - 0x10], ebx
je 0x57ad3e
mov edi, 0x100
dec dword [ebp - 0x10]
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], edi
call fcn.005765be
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [ebp - 0x10]
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jle 0x57ad26
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x57ad52
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00524d25
cmp dword [ebp - 0x10], ebx
jne 0x57acec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00576231
call fcn.0066d966
ret 4
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
lea eax, [ebp - 0x470]
push 0x41db60
push dword [ebp - 0x14]
push eax
call fcn.00520ba2
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x14c]
jmp 0x57acbe
Function at 0x57ad99
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x464
mov eax, 0x6b6543
call fcn.0066d88e
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jne 0x57ade5
push 0x41dc78
lea eax, [ebp - 0x364]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x258]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x258]
push eax
call fcn.0066dd58
call fcn.00579a4b
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
call fcn.005761e7
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00536636
cmp dword [ebp - 0x10], ebx
je 0x57ae5f
mov edi, 0x4000
dec dword [ebp - 0x10]
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], edi
call fcn.005765be
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [ebp - 0x10]
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jle 0x57ae47
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x57ae73
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00524d25
cmp dword [ebp - 0x10], ebx
jne 0x57ae0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00576231
call fcn.0066d966
ret 4
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
lea eax, [ebp - 0x470]
push 0x41dc20
push dword [ebp - 0x14]
push eax
call fcn.00520ba2
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x14c]
jmp 0x57addf
Function at 0x57aeba
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x490
mov eax, 0x6b6571
call fcn.0066d88e
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jne 0x57af06
push 0x41dce0
lea eax, [ebp - 0x390]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x178]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x178]
push eax
call fcn.0066dd58
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x10], 1
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x57af40
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x80070002
mov dword [ebp - 0x14], eax
je 0x57b071
cmp dword [ebp - 0x18], 7
jne 0x57b071
cmp eax, ebx
jge 0x57af8a
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d4f0
push dword [ebp - 0x14]
lea eax, [ebp - 0x390]
push eax
call fcn.00520ba2
add esp, 0x14
jmp 0x57aee8
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
shr eax, 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.0057984b
lea eax, [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.0057a485
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push dword [esi + 0x30]
call edi
cmp eax, ebx
jle 0x57afcf
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jge 0x57b019
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d4f0
lea eax, [ebp - 0x49c]
push edi
push eax
call fcn.00520ba2
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x284]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x284]
jmp 0x57af00
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0057a485
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.005761e7
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x40]
call fcn.00576f94
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.00524d25
lea ecx, [ebp - 0x40]
call fcn.00576060
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x57b030
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00576231
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.005798ba
mov al, 1
jmp 0x57b073
xor al, al
call fcn.0066d966
ret 8
Function at 0x57bef6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0xffffffff
push edi
jne 0x57bf3d
push 0x41e1a0
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
mov edi, eax
push 0
lea eax, [ebp - 4]
push eax
call fcn.00576060
add eax, eax
push eax
push edi
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x57bf84
push 0x41e188
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.005287fb
jmp 0x57bf1c
pop edi
pop esi
leave
ret 4

Function at 0x57bf8a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0xffffffff
push edi
jne 0x57bfd1
push 0x41e1a0
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.0057612a
mov edi, eax
push 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x57c015
push 0x41e188
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.005287fb
jmp 0x57bfb0
pop edi
pop esi
leave
ret 4

Function at 0x57c01b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x30]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x57c060
push 0x41e1a0
lea eax, [ebp - 0x218]
push 0x15
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x57c090
push 0x41e1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005287fb
jmp 0x57c03f
leave
ret 0xc
Function at 0x57c194
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push dword [ebp + 0xc]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x57c1f8
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41e238
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005287fb
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
leave
ret 8

Function at 0x57c1fc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
push edi
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x57c28e
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
cmp ebx, 5
jne 0x57c24c
push 0x80
push dword [ebp + 8]
call fcn.0057c194
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
call edi
test eax, eax
jne 0x57c28c
call esi
mov ebx, eax
test ebx, ebx
je 0x57c28c
mov ecx, dword [ebp + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41e25c
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005287fb
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x57c31f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
xor eax, eax
cmp byte [ebp + 0x10], al
push ebx
mov ebx, dword [ebp + 0xc]
sete al
push esi
mov ecx, ebx
push eax
mov dword [ebp + 0x10], eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
test eax, eax
jne 0x57c3d0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
jne 0x57c389
push 0x80
push ebx
call fcn.0057c194
push dword [ebp + 0x10]
mov ecx, ebx
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
call esi
test eax, eax
jne 0x57c3cf
mov ecx, ebx
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp + 8]
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41e2ac
call edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005287fb
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x6c2560
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0066dd58
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x57cacc
Capabilities:
Get graphical window text

Disassembly:
push 0x458
mov eax, 0x6b6a0e
call fcn.0066d88e
push 0x40322c
lea ecx, [ebp - 0x34]
call fcn.0057706c
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00576fc1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00576231
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x57cb53
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x57cbaf
push edi
push 0x41e4c0
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.005287fb
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x24c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x24c]
push eax
call fcn.0066dd58
jle 0x57cbaf
inc eax
push eax
mov ecx, esi
call fcn.005765be
mov ecx, esi
call fcn.0057605c
push eax
mov ecx, esi
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x57cbaf
push edi
push 0x41e478
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.005287fb
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x140]
jmp 0x57cb4d
call fcn.0066d966
ret 8