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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor edi, edi
push eax
push ecx
mov dword [esi + 0x224], edi
mov edx, dword [0x5c74b0]
push edi
push edi
push str.ConnectionSpeed
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fe8bb
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x224], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x24]
push ecx
push edx
mov ecx, 0x5c7390
call fcn.0048de20
push eax
mov ecx, esi
call fcn.004fda60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fec50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
je 0x4fec93
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1a8], 3
jmp 0x4feca0
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1ac], 3
mov ebx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4fed5e
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x38]
test eax, eax
jne 0x4fecc4
mov eax, 0x5c6ff0
push eax
lea ecx, [ebp + 0xc]
call fcn.0054222c
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 8]
mov eax, 0x5be44c
test ecx, ecx
jg 0x4fece5
mov eax, 0x5c6ff0
push eax
lea ecx, [ebp + 0xc]
call fcn.0054259a
push ebx
lea ecx, [ebp + 0xc]
call fcn.0054259a
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00509da0
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x4fed21
mov ecx, dword [esi + 0x64]
push ecx
push 0x139e
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x4fed3f
mov ecx, dword [esi + 0x64]
push ecx
push 0x139e
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], 5
jne 0x4fed52
mov edx, dword [esi + 0xc]
mov dword [edx + 0x1ac], 3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.005421be
mov eax, dword [esi + 0x294]
test eax, eax
je 0x4fedb3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4fed91
mov ecx, dword [esi + 0xc]
push 4
add ecx, 0x1a8
push ecx
push 4
push 0
push str.fGDFB
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp + 8], 5
jne 0x4fedb3
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x294]
add edx, 0x1ac
push 4
push edx
push 4
push 0
push str.fGDFE
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x502230
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x790]
test eax, eax
je 0x50228c
mov eax, dword [esi + 0x420]
mov dword [esi + 0x780], 0x7540
mov ecx, dword [0x5c8160]
push 1
push eax
push ecx
push 0x7540
lea ecx, [esi + 0x20]
call fcn.00508060
push str.Cancel_by_user._n
lea ecx, [esi + 0x444]
call fcn.004d1cc0
push 2
mov ecx, esi
call fcn.00502b50
mov eax, dword [esi + 0x790]
test eax, eax
jne 0x5023ea
mov eax, dword [esi + 0x780]
test eax, eax
jne 0x5023e2
mov al, byte [esi + 0x784]
test al, al
je 0x5022b8
mov edx, dword [esi + 0x430]
mov eax, dword [esi + 0x434]
or edx, eax
jne 0x5022b8
push 0
jmp 0x5022ba
push 3
mov ecx, esi
call fcn.00502b50
mov eax, dword [esi + 0x54]
test eax, eax
je 0x5022e0
mov eax, dword [esi + 0x1c0]
test eax, eax
jne 0x5022e0
push 1
mov ecx, esi
call fcn.00502750
jmp 0x5023e2
mov eax, dword [esi + 0x794]
test eax, eax
jne 0x5022f4
mov al, byte [esi + 0x784]
test al, al
je 0x5022ff
lea ecx, [esi + 0x444]
call fcn.004d1db0
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x502327
mov eax, dword [esi + 4]
test eax, eax
jne 0x502327
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x54]
lea eax, [esi + 0x444]
push eax
push ecx
push edx
call fcn.00505710
add esp, 0xc
lea eax, [esi + 0xbc]
push str..m3u
push eax
call fcn.0052f680
add esp, 8
test eax, eax
jne 0x50235c
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x5023e2
mov ecx, esi
call fcn.00506ba0
test al, al
jne 0x502485
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x5023e2
mov eax, dword [esi + 4]
test eax, eax
jne 0x5023e2
mov eax, dword [esi + 8]
test eax, eax
jne 0x5023e2
mov ecx, esi
call fcn.00505b10
test eax, eax
je 0x5023e2
mov eax, dword [esi + 0x440]
test eax, eax
je 0x5023db
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5023db
mov ecx, dword [esi + 0x440]
call fcn.0044af20
mov ecx, dword [esi + 0x440]
push 0x43
push 0
push 0
push 0
push 0
push 0x5c9d10
call fcn.00541d87
mov ecx, dword [esi + 0x440]
push 1
call fcn.00541dd6
mov edx, dword [esi + 0x440]
push 0
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00502490
mov eax, dword [esi + 0x790]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x502445
mov eax, dword [esi + 0x780]
test eax, eax
je 0x50242f
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x50242f
mov al, byte [esi + 0x7a0]
test al, al
jne 0x50242f
mov eax, dword [esi + 4]
cmp eax, 4
je 0x502421
cmp eax, 5
je 0x502421
mov eax, 1
jmp 0x502423
xor eax, eax
push 0
push 1
push eax
mov ecx, esi
call fcn.00501190
mov eax, dword [esi + 0x14]
test eax, eax
je 0x502445
push 0
push 0x138a
push 0x111
push eax
call edi
mov eax, dword [esi + 0x788]
test eax, eax
je 0x502485
mov ecx, dword [esi + 0x78c]
cmp ecx, 0xfffffffb
je 0x50246b
push ecx
push 0x138a
push 0x111
push eax
call edi
pop edi
pop esi
ret
push esi
push 0
push 0x1411
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
ret
Function at 0x502f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
lea edi, [esi + 0x20]
mov dword [ebp - 0x10], esp
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00509b70
test eax, eax
jne 0x5030ea
mov eax, dword [esi + 0x420]
test eax, eax
je 0x503068
mov ecx, dword [esi + 0x3e0]
test ecx, ecx
jne 0x502fe3
push eax
mov ecx, edi
call fcn.0050a460
mov ebx, dword [esi + 0x3e0]
test ebx, ebx
je 0x503068
mov edx, dword [esi + 0x54]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.LocalNameForSave
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call ebx
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push 0x5a3e24
push eax
mov byte [ebp - 4], 1
call fcn.0053afda
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
call fcn.00507990
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x3e0]
push eax
push eax
push str.EncLNFS
push edx
call ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
cmp dword [esi + 0x65c], 3
jne 0x5030b9
cmp dword [esi + 0x1c4], 2
jne 0x5030b0
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0050a190
test eax, eax
je 0x5030b0
mov eax, dword [esi + 0x28]
mov ecx, dword [0x5c813c]
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x5030b0
mov ecx, edi
call fcn.0050a230
test eax, eax
jne 0x5030ea
push 1
mov ecx, esi
call fcn.00502750
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 0x504f90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x3e0]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x504fd5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x3e0], ebx
mov eax, dword [esi + 0x420]
lea ecx, [ebp - 0x3c]
push eax
push str.SoftwareDownloadManager_ldChList
push ecx
call fcn.00527718
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
push reloc.WSOCK32.dll_accept
call edi
cmp eax, ebx
je 0x50502d
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xbc]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.00527718
add esp, 0x10
lea edx, [ebp - 0xbc]
lea ecx, [esi + 0x444]
push edx
call fcn.004d1cc0
mov eax, dword [esi + 0x420]
lea ecx, [ebp - 0x3c]
push eax
push str.SoftwareDownloadManager_ld
push ecx
call fcn.00527718
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
push reloc.WSOCK32.dll_accept
call edi
cmp eax, ebx
je 0x50507f
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xbc]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.00527718
add esp, 0x10
lea edx, [ebp - 0xbc]
lea ecx, [esi + 0x444]
push edx
call fcn.004d1cc0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x505250
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005288f0
mov dword [esp + 0x10], 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 + 0x30], edx
call fcn.00528840
mov ebx, eax
and ebx, 0x800003ff
jns 0x5052a0
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 + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.00528840
mov ebp, eax
and ebp, 0x800003ff
jns 0x5052d6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.00528840
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x50532a
mov edi, 0x5a6888
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
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 + 0x14]
test esi, esi
jne 0x5053ca
cmp ebp, 0x3e7
jg 0x5053ca
test ebp, ebp
jne 0x5053a2
cmp ebx, 0x3e7
jg 0x5053a2
test ebx, ebx
je 0x50537a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5c7c30]
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 + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x5053f2
mov ecx, dword [0x5c7c2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.00527718
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x5c7c34]
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 + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x5053f2
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x5c7c38]
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 + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push str._d_s_03d___s
push eax
call fcn.00527718
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x505ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5c74b0]
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 0x505b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5c74b0]
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 0x505b48
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x507990
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 0x5079b6
push ebx
mov bl, byte [eax + edx]
xor bl, 0xf
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x5079a7
pop ebx
ret
Function at 0x507f20
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.005283b0
lea ecx, [esp + 0xc]
push ecx
call fcn.005296b0
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x3c]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.00527718
mov eax, dword [esi + 0x19c]
add esp, 0x10
test eax, eax
je 0x507f74
push eax
call fcn.00542796
add esp, 4
mov dword [esi + 0x19c], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x507fc8
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
jne 0x507f92
push eax
mov ecx, esi
call fcn.0050a460
test al, al
je 0x507fc8
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 + 0x3c0]
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x3c0]
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 0x507fd0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005283b0
lea ecx, [esp + 0xc]
push ecx
call fcn.005296b0
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x6c]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.00527718
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x508049
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
jne 0x508025
push eax
mov ecx, esi
call fcn.0050a460
test al, al
je 0x508049
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 + 0x3c0]
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 0x508060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
je 0x508110
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x5080aa
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x19c], edx
jne 0x5080ee
push str.URL::set_lastResult__:_Not_enough_memory__n
mov ecx, esi
call fcn.00507f00
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 [ebp - 0x14]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x508246
push eax
lea edx, [ebp - 0x48]
push str.SoftwareDownloadManager_ld
push edx
call fcn.00527718
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x50817f
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
push 0xf003f
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5081a6
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x5c6ff0
lea ecx, [ebp - 0x48]
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x508246
test ebx, ebx
je 0x50821d
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7ff
jbe 0x5081f8
push 0x7ff
lea edx, [ebp - 0x848]
push ebx
push edx
call fcn.005270a0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x848]
mov byte [ebp - 0x49], 0
push 0x801
push eax
push 1
push 0
push str.lastResult
push ecx
jmp 0x508217
mov edx, dword [esi + 0x19c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push eax
push str.lastResult
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push 4
push ecx
push 4
push 0
push str.dwnlrs
push edx
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x509080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
je 0x5090bd
push eax
call fcn.00542796
add esp, 4
mov esi, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5090e4
mov dword [ebx + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x20], edx
jne 0x509125
push str.URL::set_LastModified__:_Not_enough_memory__n
mov ecx, ebx
call fcn.00507f00
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x50915e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x3c0]
test ecx, ecx
jne 0x50918c
push eax
mov ecx, ebx
call fcn.0050a460
test al, al
jne 0x50918c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebx + 0x3c0]
push edx
push 1
push eax
push str.LastModified
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5096a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x3c0]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x5096ff
mov eax, dword [ebp + 8]
push eax
call fcn.0050a460
test al, al
jne 0x5096ff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x3c0]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x118]
push ecx
push edx
push 0
push 0
push str.LocalPath
push eax
mov dword [ebp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x509743
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x118]
push ecx
call fcn.005297d3
add esp, 4
test eax, eax
je 0x50976e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x50977e
push eax
call fcn.00542796
add esp, 4
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x2c], edx
jne 0x5097c3
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, ebx
call fcn.00507f00
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x118]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x3c0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp + 8]
mov edi, 0x104
push ecx
push edx
push 0
push 0
push str.LocalFileName
push eax
mov dword [ebp + 8], edi
call esi
test eax, eax
je 0x50982d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call fcn.00509ce0
test eax, eax
je 0x509857
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x3c0]
lea edx, [ebp + 8]
lea eax, [ebp - 0x118]
push edx
push eax
push 0
push 0
push str.LogFileName
push ecx
mov dword [ebp + 8], edi
call esi
test eax, eax
je 0x509893
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x3b8]
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50a590
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x330], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x50a5e9
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
jne 0x50a5bb
push eax
mov ecx, esi
call fcn.0050a460
test al, al
je 0x50a5e9
mov edx, dword [esi + 0x330]
mov eax, dword [esi + 0x3c0]
xor ecx, ecx
push 4
test edx, edx
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.needER
setne cl
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8