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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
add eax, 0xf0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x5c537f
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [edx]
test eax, eax
je 0x5c5323
push 0
push 0x14a5
push 0x111
push eax
call edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x5c5340
mov ecx, dword [esi + 0x238]
push ecx
push 0x14a5
push 0x111
push eax
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x5c5358
push 0
push 0x14a5
push 0x111
push eax
call edi
mov eax, dword [esi + 0x23c]
pop edi
test eax, eax
je 0x5c537f
mov ecx, dword [esi + 0xc]
push 8
add ecx, 0xf0
push ecx
push 0
push 0
push str.nExpectedSize
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret

Function at 0x5c5390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c545f
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.Duration
push eax
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5c545f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x378], ecx
mov dword [eax + 0x37c], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
jne 0x5c540c
mov edi, dword [esi + 0x1b0]
mov ecx, esi
call fcn.005c4650
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b0], edi
mov ecx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ecx]
test eax, eax
je 0x5c542a
push 0
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x5c5447
mov ecx, dword [esi + 0x238]
push ecx
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x5c545f
push 0
push 0x146d
push 0x111
push eax
call edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x5c59d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6529b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
xor ebx, ebx
push eax
push ecx
mov dword [esi + 0x1cc], ebx
mov edx, dword [0x6fcafc]
push ebx
push ebx
push str.NewConnType
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5c5a35
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1cc], eax
jmp 0x5c5a85
mov eax, dword [0x6fcafc]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push ebx
push ebx
push str.ConnectionSpeed
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5c5a85
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x5c5a85
cmp eax, 0x1f400
ja 0x5c5a71
mov dword [esi + 0x1cc], 1
jmp 0x5c5a85
mov ecx, 0x7d000
cmp ecx, eax
sbb edx, edx
neg edx
add edx, 2
mov dword [esi + 0x1cc], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x24]
push ecx
push edx
mov ecx, 0x6fc990
call fcn.00500df0
push eax
mov ecx, esi
call fcn.005c44e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cdf90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x5cdfa7
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push edi
push edi
push 3
push edi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5cdfc9
pop edi
xor eax, eax
pop esi
add esp, 8
ret
lea ecx, [esp + 0x14]
push edi
xor eax, eax
push ecx
lea edx, [esp + 0x10]
push 8
mov dword [esp + 0x14], eax
push edx
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5ce00c
cmp dword [esp + 0x14], 8
jne 0x5ce00c
lea ecx, [esp + 0xc]
mov eax, str.ftyp
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x5ce00c
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x5d0b30
Capabilities:
Access peb ldr_data
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x653598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edi
push eax
push esi
push 0
push 0
push ecx
push ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5d0ba1
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5d0ba1
push esi
call fcn.005de2e0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
push edx
push esi
push 0
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5d0c55
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5d0c55
mov eax, dword [0x6f7b78]
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x2c]
push 0x6c910c
push ecx
mov dword [esp + 0x28], 0
call fcn.0061fae1
mov edx, dword [esp + 0x34]
push edx
call fcn.005de2e0
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x40]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5d0c2c
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00622d8a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5d0c70
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x6535b8
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
push esi
test eax, eax
push edi
je 0x5d0cd0
test edx, edx
je 0x5d0ca5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5d0cd0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push esi
call edi
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6f7b78]
mov dword [esp + 0x28], eax
push edx
lea ecx, [esp + 0x2c]
push 0x6c910c
push ecx
mov dword [esp + 0x1c], 0
call fcn.0061fae1
mov edx, dword [esp + 0x34]
push edx
call fcn.005de2e0
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
mov esi, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5d0d31
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x5d0d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5d0da9
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x5d0da9
push esi
call fcn.005de2e0
add esp, 4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x5d0db0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6535d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f7b78]
push edi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
lea edx, [esp + 4]
push ecx
push 0x6c910c
push edx
mov dword [esp + 0x1c], 0
call fcn.0061fae1
mov eax, dword [esp + 0x10]
push eax
call fcn.005de2e0
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5d2380
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x45c]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5d23c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x45c], ebx
mov eax, dword [esi + 0x4a0]
lea ecx, [ebp - 0x94]
push eax
push str.SoftwareDownloadManager_ldChList
push ecx
call fcn.0060a593
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push 0x80000001
call edi
cmp eax, ebx
je 0x5d2426
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.0060a593
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4d4]
push edx
call fcn.0056fe30
mov eax, dword [esi + 0x4a0]
lea ecx, [ebp - 0x94]
push eax
push str.SoftwareDownloadManager_ld
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push 0x80000001
call edi
cmp eax, ebx
je 0x5d2481
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.0060a593
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4d4]
push edx
call fcn.0056fe30
cmp dword [ebp + 8], ebx
je 0x5d248d
mov ecx, esi
call fcn.005d2ba0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5d2610
Capabilities:
Reference http user-agent string

Disassembly:
mov edx, dword [esp + 4]
push esi
test edx, edx
mov esi, ecx
je 0x5d2644
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x5d2644
push edx
add esi, 0x198
push 0x6c910c
push esi
call fcn.0061fae1
add esp, 0xc
pop esi
ret 4
add esi, 0x198
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.1__Trident_6.0_
push esi
call fcn.0061fae1
add esp, 8
pop esi
ret 4
Function at 0x5d2660
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push 0
push 0x400
push esi
push edi
call fcn.0060bb90
mov dword [esp + 0x20], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x28], edx
call fcn.0060bae0
mov ebx, eax
and ebx, 0x800003ff
jns 0x5d26b0
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x18]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.0060bae0
mov ebp, eax
and ebp, 0x800003ff
jns 0x5d26e6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0060bae0
lea ecx, [esp + 0x14]
push 8
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5d273a
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x5d27da
cmp ebp, 0x3e7
jg 0x5d27da
test ebp, ebp
jne 0x5d27b2
cmp ebx, 0x3e7
jg 0x5d27b2
test ebx, ebx
je 0x5d278a
mov eax, dword [esp + 0x20]
mov ecx, dword [0x6fd858]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x5d2802
mov ecx, dword [0x6fd854]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push ecx
push edx
push str._d___s
push eax
call fcn.0060a593
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x6fd85c]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x5d2802
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6fd860]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x38]
push str._d_s_03d___s
push eax
call fcn.0060a593
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x5d3670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.PrgrDlgVisiblity
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
not eax
and eax, ecx
add esp, 8
ret

Function at 0x5d36b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ComplDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, 1
jne 0x5d36e8
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x5dca90
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x5dcacf
mov eax, edi
cmp eax, edi
jne 0x5dcacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5dcacf
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push 1
push edi
push edi
push edx
call fcn.0060c730
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
mov ebp, dword [esi + 0x24]
adc ebp, edx
mov dword [esi + 0x24], ebp
mov ecx, dword [esi + 0x20]
mov eax, ebp
mov edx, ecx
or edx, eax
jne 0x5dcb03
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret
cmp eax, edi
jg 0x5dcb16
jl 0x5dcb11
cmp ecx, 0x2dc6c0
jae 0x5dcb16
mov ebp, dword [esi + 0x20]
jmp 0x5dcb1b
mov ebp, 0x2dc6c0
push ebp
call fcn.0060a459
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x5dcb35
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
pop ecx
ret
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push ebp
push ebx
mov ecx, esi
call fcn.005dcb80
mov edi, eax
test edi, edi
jge 0x5dcb4f
cmp edi, 0xfffffff5
jne 0x5dcb68
cmp edi, 1
je 0x5dcb68
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x5dcb3b
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x5dcb3b
push ebx
call fcn.00609aba
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5dd120
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jbe 0x5dd151
mov ecx, dword [esp + 8]
push edi
mov dl, byte [ecx]
mov edi, eax
and edx, 0xff
shr edi, 0x18
xor edx, edi
shl eax, 8
mov edx, dword [edx*4 + 0x664200]
xor eax, edx
inc ecx
dec esi
jne 0x5dd131
pop edi
pop esi
ret

Function at 0x5dd160
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], 0xffffffff
jne 0x5dd19d
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x5dd19d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5dd19d
xor eax, eax
pop esi
ret 4
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.0060c730
mov ecx, dword [esi + 0x10]
add ecx, eax
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x14]
adc eax, edx
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x10]
mov edx, ecx
or edx, eax
jne 0x5dd1cc
xor eax, eax
pop esi
ret 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
test eax, eax
jg 0x5dd1ed
jl 0x5dd1e8
cmp ecx, 0x5e0000
jae 0x5dd1ed
mov eax, dword [esi + 0x10]
jmp 0x5dd1f2
mov eax, 0x5e0000
push eax
mov dword [esi + 0x60], eax
call fcn.0060a459
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x64], eax
mov eax, ecx
pop esi
ret 4
Function at 0x5dd890
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
xor edx, edx
push edi
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
sub ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x58], edx
sbb eax, edi
mov edi, ecx
or edi, eax
mov dword [esi + 0x5c], edx
je 0x5dd8ef
mov edi, dword [esi + 0x60]
cmp eax, edx
jl 0x5dd8c2
jg 0x5dd8c0
cmp ecx, edi
jbe 0x5dd8c2
mov ecx, edi
lea eax, [esp + 8]
push edx
mov edx, dword [esi + 0x68]
push eax
mov dword [esi + 0x58], ecx
push ecx
mov ecx, dword [esi + 0x64]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5dd8e9
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x58]
cmp eax, ecx
je 0x5dd8ef
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x5de2e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test ecx, ecx
jle 0x5de306
push ebx
mov bl, byte [eax + edx]
xor bl, 0xf
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x5de2f7
pop ebx
ret

Function at 0x5de310
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
jle 0x5de32e
mov ecx, esi
xor word [ecx], 0xf
add ecx, 2
dec eax
jne 0x5de324
pop esi
ret

Function at 0x5de330
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653da8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x5de3da
push esi
lea ecx, [esp + 0x20]
call fcn.00622df8
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0
push eax
push esi
call fcn.004576f0
add esp, 8
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push str.SoftwareDownloadManager_sites_sf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5de3c9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5de3f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653dc8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x5de423
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push esi
lea ecx, [esp + 0x24]
call fcn.00622df8
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
push esi
call fcn.004576f0
add esp, 8
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push str.SoftwareDownloadManager_sites_sf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5de486
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00622d8a
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
xor esi, esi
push edx
mov edx, dword [esp + 8]
push eax
push esi
push esi
push ecx
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5de4c3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5de4c3
mov ecx, dword [esp + 0x24]
mov esi, 1
mov dword [ecx], eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5df050
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.0060b5c4
lea ecx, [esp + 0xc]
push ecx
call fcn.0060ccff
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x44]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.0060a593
mov eax, dword [esi + 0xa8]
add esp, 0x10
test eax, eax
je 0x5df0a4
push eax
call fcn.00622af4
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5df0f8
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5df0c2
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5df0f8
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x43c]
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x43c]
push str.lastResult
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x5df100
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.0060b5c4
lea ecx, [esp + 0xc]
push ecx
call fcn.0060ccff
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x74]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.0060a593
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x5df179
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5df155
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5df179
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x43c]
push str.dateAdded
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x5df190
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x35c], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x5df1e2
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5df1bb
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5df1e2
mov eax, dword [esi + 0x43c]
mov ecx, dword [esi + 0x35c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.nUrlT_fp
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8