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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e530
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x20019
lea eax, [ebp + 0x10]
push eax
push 0x20019
push edi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x524347
push str.Cannot_open_key_for_reading.
mov ecx, dword [ebp + 8]
call fcn.00403080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x38]
push eax
push edi
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push edi
push edi
push edi
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x524379
push str._Cannot_read_information_about_subkeys.
jmp 0x52432b
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
push eax
call fcn.005e76b2
mov esi, eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push eax
call fcn.005e76b2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.005e76b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
cmp edi, dword [ebp - 0x20]
jae 0x52440a
push 0x66d294
mov ecx, ebx
call fcn.00403080
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x40]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push esi
push edi
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x5243f5
push str.Cannot_enumerate_this_object.
mov ecx, ebx
call fcn.00403080
inc edi
jmp 0x5243ae
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
mov ecx, dword [ebp - 0x28]
call fcn.005248d0
inc edi
jmp 0x5243ae
push esi
call fcn.005e76a7
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005e76a7
mov edx, dword [ebp - 0x34]
push edx
call fcn.005e76a7
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5260f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x526100
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x52611b
xor byte [eax + edx], 0x11
inc eax
cmp eax, ecx
jl 0x526112
ret
Function at 0x528be0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x24a
mov esi, ecx
mov ecx, dword [0x74ea0c]
lea eax, [esi + 4]
push eax
push 0
push 0
push str.evDownloadComplete
push ecx
call edi
mov eax, dword [0x74ea0c]
push 0x24a
lea edx, [esi + 0x24e]
push edx
push 0
push 0
push str.evDownloadFailed
push eax
call edi
mov edx, dword [0x74ea0c]
push 0x24a
lea ecx, [esi + 0x498]
push ecx
push 0
push 0
push str.evQueueStarted
push edx
call edi
mov eax, dword [0x74ea0c]
push 0x24a
add esi, 0x6e2
push esi
push 0
push 0
push str.evQueueFinished
push eax
call edi
pop edi
pop esi
ret

Function at 0x528ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], vtable.CSoundsSettings.0
mov dword [esi + 0x930], ebx
mov dword [esi + 0x92c], ebx
call fcn.0044ac80
push 0x208
lea eax, [esi + 0x44]
push ebx
push eax
mov byte [esi + 0x24c], bl
call fcn.00613900
mov ecx, dword [0x74ea0c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 4]
push ebp
push ebx
push ebx
push str.evDownloadComplete
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x528d1b
push 0x208
lea eax, [esi + 0x44]
push ebx
push eax
mov byte [esi + 0x24c], bl
call fcn.00613900
add esp, 0xc
mov edx, dword [0x74fab0]
push 0x3f
push edx
push ebp
call fcn.00614aa0
push 0x208
lea eax, [esi + 0x28e]
push ebx
push eax
mov byte [esi + 0x43], bl
mov byte [esi + 0x496], bl
call fcn.00613900
mov ecx, dword [0x74ea0c]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 0x24e]
push ebp
push ebx
push ebx
push str.evDownloadFailed
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x528d8b
push 0x208
lea eax, [esi + 0x28e]
push ebx
push eax
mov byte [esi + 0x496], bl
call fcn.00613900
add esp, 0xc
mov edx, dword [0x74fab4]
push 0x3f
push edx
push ebp
call fcn.00614aa0
push 0x208
lea eax, [esi + 0x4d8]
push ebx
push eax
mov byte [esi + 0x28d], bl
mov byte [esi + 0x6e0], bl
call fcn.00613900
mov ecx, dword [0x74ea0c]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 0x498]
push ebp
push ebx
push ebx
push str.evQueueStarted
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x528dfe
push 0x208
lea eax, [esi + 0x4d8]
push ebx
push eax
mov byte [esi + 0x6e0], bl
call fcn.00613900
add esp, 0xc
mov edx, dword [0x74fabc]
push 0x3f
push edx
push ebp
call fcn.00614aa0
push 0x208
lea ebp, [esi + 0x722]
push ebx
push ebp
mov byte [esi + 0x4d7], bl
mov byte [esi + 0x92a], bl
call fcn.00613900
mov edx, dword [0x74ea0c]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea eax, [esi + 0x6e2]
push eax
push ebx
push ebx
push str.evQueueFinished
push edx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x528e6b
push 0x208
push ebx
push ebp
mov byte [esi + 0x92a], bl
call fcn.00613900
add esp, 0xc
mov eax, dword [0x74fab8]
push 0x3f
push eax
lea eax, [esi + 0x6e2]
push eax
call fcn.00614aa0
add esp, 0xc
pop edi
mov byte [esi + 0x721], bl
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x528eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64ea50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 0x21c]
xor ebx, ebx
cmp dword [esi + 0x92c], ebx
jne 0x528f89
call fcn.00528c60
test al, al
jne 0x528f89
lea ecx, [ebp]
call fcn.004b8a90
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__ld_during_LoadWINMMLibrary___n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0xc
push 1
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp]
call fcn.004b8c00
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004b8bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.00613241
add ebp, 0x214
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x528f62
mov dword [ebp - 4], 2
push 0x20001
push ebx
push edi
mov edx, dword [esi + 0x92c]
call edx
mov dword [ebp - 4], 0xffffffff
jmp 0x528f62
Function at 0x528ff0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
mov esi, ecx
mov ecx, dword [0x74ea0c]
push str.SpecialKeys
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x52913f
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esi + 8]
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.UseKeyToPrevent
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 4]
push ecx
push 4
push 0
push str.UseKeyToForce
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0xc]
push eax
push 4
push 0
push str.AltP
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x10]
push edx
push 4
push 0
push str.ShiftP
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x14]
push ecx
push 4
push 0
push str.CtrlP
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0x18]
push eax
push 4
push 0
push str.DelP
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x1c]
push edx
push 4
push 0
push str.AltF
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x20]
push ecx
push 4
push 0
push str.CtrlF
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0x24]
push eax
push 4
push 0
push str.ShiftF
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x28]
push edx
push 4
push 0
push str.InsF
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x2c]
push ecx
push 4
push 0
push str.CheckMouse
push edx
call edi
mov eax, dword [esp + 8]
push 4
add esi, 0x30
push esi
push 4
push 0
push str.SkipHtml
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x529cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ec10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.sls_maxSpeed
mov edx, dword [0x74ea0c]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x529d5b
mov eax, dword [ebp - 0x18]
mov ecx, 0x400
mul ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
cmp dword [esi + 0xc], ebx
jg 0x529d71
jl 0x529d67
cmp dword [esi + 8], ebx
ja 0x529d71
mov dword [esi + 8], 0x2800
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.sls_bTOOst
mov ecx, dword [0x74ea0c]
push ecx
call edi
test eax, eax
jne 0x529d9d
cmp dword [ebp - 0x18], ebx
setne dl
mov byte [esi + 0x11], dl
cmp byte [esi + 0x11], bl
je 0x529da6
mov byte [esi + 0x10], 1
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.sls_bShChb
mov edx, dword [0x74ea0c]
push edx
call edi
test eax, eax
jne 0x529dd2
cmp dword [ebp - 0x18], ebx
setne al
mov byte [esi + 0x12], al
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push str.sls_bRemIndEx
mov eax, dword [0x74ea0c]
push eax
call edi
test eax, eax
jne 0x529dfd
cmp dword [ebp - 0x18], ebx
setne cl
mov byte [esi + 0x13], cl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x529e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ec30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
push 0
push 0x400
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [esi + 8]
push ecx
call fcn.00617220
mov dword [ebp - 0x14], eax
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.sls_maxSpeed
mov eax, dword [0x74ea0c]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
xor ecx, ecx
cmp byte [esi + 0x11], cl
setne cl
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.sls_bTOOst
mov eax, dword [0x74ea0c]
push eax
call edi
xor ecx, ecx
cmp byte [esi + 0x12], cl
setne cl
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.sls_bShChb
mov eax, dword [0x74ea0c]
push eax
call edi
xor ecx, ecx
cmp byte [esi + 0x13], cl
setne cl
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.sls_bRemIndEx
mov eax, dword [0x74ea0c]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52dd90
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x52ddee
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret 8
Function at 0x5321d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x7b8], bl
je 0x5322ce
mov byte [esi + 0x7b8], bl
mov dword [ebp - 0x14], 0x2c
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x78c]
push ecx
push ebx
push ebx
push str.GrabberWindowPlacementV6
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5322ce
cmp dword [esi + 0x794], 3
jne 0x532256
push 3
mov ecx, esi
call fcn.005e852c
jmp 0x532280
mov eax, dword [esi + 0x7ac]
mov ecx, dword [esi + 0x7a8]
push 4
mov edx, dword [esi + 0x7b4]
sub edx, eax
push edx
mov edx, dword [esi + 0x7b0]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.005e87bd
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0xa0]
push ecx
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
call edi
lea edx, [ebp - 0x34]
push edx
mov eax, dword [esi + 0x20]
push eax
call edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push ebx
push eax
push edx
mov edx, dword [ebp - 0x28]
sub edx, eax
sub edx, 0x55
push edx
sub ecx, edi
mov eax, dword [ebp - 0x2c]
lea ecx, [ecx + eax - 0x23]
push ecx
lea ecx, [esi + 0x80]
call fcn.005e84ec
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x532310
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64fc08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0x75c], 4
je 0x5323b1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x5323d6
lea ecx, [ebp]
call fcn.004b8a90
mov byte [ebp - 4], 1
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp]
call fcn.004b8c00
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004b8bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.00613241
add ebp, 0x214
mov esp, ebp
pop ebp
ret
xor bl, bl
mov byte [ebp - 0x24], bl
mov edi, 0x60
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x24]
call fcn.00435330
cmp eax, edi
je 0x5323f4
mov bl, 1
xor edi, edi
mov dword [ebp - 0x18], edi
cmp edi, 7
jge 0x532421
push edi
lea ecx, [esi + 0x628]
call fcn.00437380
test bl, bl
je 0x532417
push eax
lea ecx, [ebp - 0x24]
call fcn.0049da30
mov dword [esi + edi*4 + 0x7bc], eax
inc edi
jmp 0x5323f6
push 4
lea edx, [esi + 0x7bc]
push edx
push 4
push 0
push str.FileName
mov eax, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
push 4
lea ecx, [esi + 0x7c0]
push ecx
push 4
push 0
push str.FileType
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
lea eax, [esi + 0x7c4]
push eax
push 4
push 0
push str.Size
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
lea edx, [esi + 0x7c8]
push edx
push 4
push 0
push 0x67dca8
mov eax, dword [ebp - 0x14]
push eax
call edi
push 4
lea ecx, [esi + 0x7cc]
push ecx
push 4
push 0
push 0x67c960
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
lea eax, [esi + 0x7d0]
push eax
push 4
push 0
push 0x67c974
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
add esi, 0x7d4
push esi
push 4
push 0
push str.SaveTo
mov edx, dword [ebp - 0x14]
push edx
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x5323b1
Function at 0x532bb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x656418
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], cx
mov dword [esp + 0x38], ebx
push ebx
push eax
push str._s_tvlda.pdb
lea ecx, [esp + 0x2c]
call fcn.004021b0
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x532c19
lea eax, [esp + 0x24]
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x532c5f
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x532c77
test ebx, ebx
jne 0x532c77
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x532c77
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
xor eax, eax
jmp 0x532d35
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
call fcn.00617ef0
add edi, eax
adc ebx, edx
mov ecx, edi
or ecx, ebx
je 0x532d18
push 0
push 0xc
push ebx
push edi
call fcn.00617220
mov ebp, eax
cmp ebp, dword [esi + 8]
jl 0x532cf2
mov eax, dword [esi + 0xc]
push eax
call fcn.005e76a7
xor ecx, ecx
lea eax, [ebp + 0x1f4]
mov dword [esi + 8], eax
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e76b2
mov ecx, dword [esi + 8]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
mov dword [esi + 0xc], eax
call fcn.00613900
add esp, 0x14
cmp dword [esi + 0xc], 0
je 0x532c5f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x532c5f
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00613241
add esp, 0x28
ret 4
Function at 0x53bbf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [esp + 8]
push eax
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x53bc2f
cmp dword [esp + 0xc], eax
setne al
mov byte [edi + 7], al
mov eax, dword [0x74ea0c]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x53bc5a
mov byte [edi + 4], 1
mov eax, dword [0x74ea0c]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.StImmOATQ
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x53bc8b
cmp dword [esp + 0xc], eax
setne cl
mov byte [edi + 6], cl
pop edi
pop esi
add esp, 8
ret

Function at 0x53c180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6507e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 8], 3
jle 0x53c21a
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x74ea5c]
cmp eax, ebx
jne 0x53c1dc
mov eax, 0x74ea60
push ebx
push 0x69bb04
push eax
push 0x66add0
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x53c1fa
lea eax, [ebp - 0x1c]
push 0x66e49c
push eax
call fcn.00615f0d
add esp, 8
mov esi, eax
cmp esi, ebx
jne 0x53c236
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004011f0
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.00613241
mov esp, ebp
pop ebp
ret
mov ebx, 3
mov dword [ebp - 0x28], ebx
cmp ebx, dword [edi + 8]
jge 0x53c27b
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + ebx*4]
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53c250
sub eax, edi
push esi
push eax
push 1
push ecx
call fcn.00615dc5
push esi
push 2
push 1
push 0x66d294
call fcn.00615dc5
add esp, 0x20
inc ebx
mov edi, dword [ebp - 0x24]
jmp 0x53c23b
push esi
call fcn.00615be7
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
jmp 0x53c21a

Function at 0x53c700
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [0x74ea0c]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x20], eax
call edi
mov edx, dword [0x74ea0c]
xor eax, eax
cmp byte [esi + 0xd], al
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
setne al
push 0
push str.kbUPFBoErfCD
push edx
mov dword [esp + 0x20], eax
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x53c870
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6509b4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CSystemProxySettings2.0
mov dword [esp + 0x14], 0xa
lea ecx, [esi + 0x3c]
call fcn.004a3e70
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x30]
call fcn.00402570
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x2c]
call fcn.00402570
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x28]
call fcn.00402570
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x24]
call fcn.00402570
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x20]
call fcn.00402570
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x1c]
call fcn.00402570
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x18]
call fcn.00402570
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x14]
call fcn.00402570
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x10]
call fcn.00402570
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.00402570
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 8]
call fcn.00402570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret