joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4862b0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4863cc
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x486310
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x486310
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x48632b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
test ebp, ebp
jne 0x486342
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
lea edi, [ebp + 1]
push edi
call fcn.005380a1
mov esi, eax
add esp, 4
test esi, esi
jne 0x486367
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4863c3
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4863c3
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004856f0
push esi
call fcn.005380ca
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.005380ca
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4873f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5534e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5b5ecc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebp
call fcn.00537c8d
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.00487c40
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [esp + 0x14]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.00537c3d
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x30], edx
test ebp, ebp
mov byte [esp + 0x28], 1
jne 0x48748a
mov eax, str.ftp:__
jmp 0x4874a5
cmp ebp, 1
jne 0x487496
mov eax, str.http:__
jmp 0x4874a5
cmp ebp, 3
mov eax, str.mms:__
je 0x4874a5
mov eax, str.https:__
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.0053091a
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x487510
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push eax
push str.number
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00537b04
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x487540
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
push 7
push str.http:__
mov esi, ecx
push ebx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x48756b
mov dword [esp + 0x10], 1
jmp 0x4875a6
push 8
push str.https:__
push ebx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x487589
mov dword [esp + 0x10], 2
jmp 0x4875a6
push 6
push str.mms:__
push ebx
call fcn.0051e650
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push ebx
call fcn.0051c7f0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4876ba
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ebx - 2]
cmp ebp, eax
jae 0x4876ba
mov eax, dword [esi + 8]
add ebp, 2
xor edi, edi
test eax, eax
jle 0x487675
xor ebx, ebx
mov ecx, dword [esi + 4]
push ebp
mov eax, dword [ebx + ecx]
push eax
call fcn.0051c942
add esp, 8
test eax, eax
jne 0x487606
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + edx + 4]
je 0x487613
mov eax, dword [esi + 8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x4875e5
jmp 0x487671
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
lea ebp, [edi + edi*2]
sub ebx, edi
shl ebp, 2
dec ebx
mov dword [esp + 0x18], ebp
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.00478dd0
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x487630
test ebx, ebx
je 0x48766e
mov eax, dword [esi + 4]
lea edx, [ebx + ebx*2]
shl edx, 2
lea ecx, [edi + edi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.0051d640
add esp, 0xc
dec dword [esi + 8]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareDownloadManagerMCN
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4876ba
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x4890f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5536d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x5ba8bc]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0
push str.bShTtRIT
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x489189
mov ecx, dword [0x5ba8bc]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.bShTtRIT
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x489189
push eax
lea ecx, [esp + 0xc]
call fcn.004bec20
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.00533ae5
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00533726
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x48aeb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5ba8bc]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push str.FSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x48aee6
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x48e1c5
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
mov eax, dword [esi + 0x98]
cmp dword [eax + 0xc], ebp
jle 0x48e249
push edi
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x1e4]
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x100d
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
jl 0x48e22f
mov ecx, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
push 0xf000
push eax
mov edi, dword [ecx + 8]
push 0x102c
add edi, edx
mov edx, dword [esi + 0x1e4]
push edx
call ebx
shr eax, 0xc
dec eax
mov dword [edi + 8], eax
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
inc ebp
add edx, 0xc
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
cmp ebp, ecx
jl 0x48e1e0
pop edi
mov ecx, dword [esi + 0x98]
add ecx, 4
call fcn.00405ca0
mov ecx, dword [esi + 0x98]
call fcn.0040d3a0
mov ecx, dword [esi + 0x1a8]
push 0
push 0
push 0xf0
push ecx
call ebx
lea edx, [esp + 0x10]
push 4
push edx
mov dword [esp + 0x18], eax
mov eax, dword [0x5ba8bc]
push 4
push 0
push str.FindApps
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x48e580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x16c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x5ba8bc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x48e5f3
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00536f01
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x5ba8bc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x48e640
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00536f01
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x48f0e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x220]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.0040b070
test eax, eax
je 0x48f11b
mov ecx, dword [esi + 0x98]
call fcn.0040b2d0
mov eax, dword [0x5ba8bc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x48f16d
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00536f01
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x5ba8bc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x48f1ba
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00536f01
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x492520
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x554b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5b5ecc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x218]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x147
push ecx
mov dword [esp + 0x30], ebx
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x1fc]
push edx
push eax
call fcn.0053f983
mov eax, dword [esi + 0x8c]
xor edi, edi
mov ecx, dword [eax + 8]
cmp ecx, ebx
jle 0x4925af
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0051c942
add esp, 8
test eax, eax
je 0x49262c
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x14
cmp edi, dword [eax + 8]
jl 0x492583
mov edx, dword [esi + 0x90]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
mov ecx, dword [0x5ba8bc]
push edx
push 1
push eax
push str.LocalPath
push ecx
call edi
mov edx, dword [esi + 0x1dc]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x5ba8bc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.RememberLastSave
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
lea edi, [edi + edi*4]
push edx
mov ecx, dword [eax + 4]
push 0x597ddc
shl edi, 2
lea edx, [ecx + edi + 8]
push edx
call fcn.0053091a
mov eax, dword [esi + 0x1dc]
add esp, 0xc
push 0
push 0
push 0xf0
push eax
call ebp
mov edx, dword [esi + 0x8c]
test eax, eax
mov eax, dword [edx + 4]
setne cl
mov byte [eax + edi + 0x10], cl
mov ecx, dword [esi + 0x8c]
call fcn.0045be00
jmp 0x492608
Function at 0x49341d
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x554d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5b5ecc]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0xa8]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x8c]
push edx
push eax
call fcn.0053f983
mov esi, dword [0x5bad3c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x493481
test cl, cl
je 0x49347d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x493481
add eax, 2
add esi, 2
test cl, cl
jne 0x49345d
xor eax, eax
jmp 0x493486
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4934b0
mov ecx, dword [0x5ba8bc]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RememberDuplLinksA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x493574
mov eax, dword [0x5ba8bc]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.RememberDuplLinksA
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x5bad38]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x493505
test cl, cl
je 0x493501
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x493505
add eax, 2
add esi, 2
test cl, cl
jne 0x4934e1
xor eax, eax
jmp 0x49350a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x493518
mov dword [esp + 8], 1
jmp 0x493557
mov esi, dword [0x5bad34]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x493544
test cl, cl
je 0x493540
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x493544
add eax, 2
add esi, 2
test cl, cl
jne 0x493520
xor eax, eax
jmp 0x493549
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x5ba8bc]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.DuplLinksA
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4962f0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x555358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5b5ecc]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x30], 0
call fcn.00537c8d
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x20]
push ebx
call fcn.00537c8d
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.00483e00
mov esi, eax
test esi, esi
jne 0x49639d
mov eax, dword [edi + 4]
test eax, eax
jne 0x49636a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00497690
mov ecx, edi
call fcn.00497700
mov ecx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x38]
push ecx
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00537c8d
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x38]
mov dword [edx + eax*4], esi
lea ecx, [esp + 0x1c]
add esi, 0xc
push ecx
mov ecx, esi
call fcn.00537c3d
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.00537c3d
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x18]
call fcn.00537b72
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x30], 1
call fcn.00537ee0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push ebp
push eax
push eax
push 0x5a5d74
push ecx
call esi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push eax
push eax
push 0x5a5d68
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00537b04
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 2
call fcn.00537b04
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4964a0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x555380
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4965bd
mov ebp, dword [esp + 0x28]
push ebp
call fcn.005309cb
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea ebx, [eax + edx*4]
je 0x4965bd
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.0051c942
add esp, 8
test eax, eax
je 0x496507
mov ebx, esi
mov esi, dword [esi]
test esi, esi
jne 0x4964e9
jmp 0x4965bd
mov ecx, dword [esi]
xor ebp, ebp
mov dword [ebx], ecx
lea ebx, [esi + 0xc]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x20], 0
call fcn.00537b04
mov ecx, ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.00537b04
add ebx, 8
mov edx, ebp
dec ebp
mov dword [esp + 0x14], ebx
test edx, edx
jne 0x496514
lea eax, [esi + 8]
push 1
push eax
call fcn.005309a7
mov ecx, dword [edi + 0x10]
mov dword [esi], ecx
mov eax, dword [edi + 0xc]
dec eax
mov dword [edi + 0x10], esi
mov dword [edi + 0xc], eax
jne 0x4965bd
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x49659d
mov eax, dword [edi + 8]
xor ebx, ebx
cmp eax, ebp
jbe 0x49659d
mov edx, dword [edi + 4]
mov esi, dword [edx + ebx*4]
cmp esi, ebp
je 0x496595
lea eax, [esi + 0xc]
push 1
push eax
call fcn.00497660
lea ecx, [esi + 8]
push 1
push ecx
call fcn.005309a7
mov esi, dword [esi]
cmp esi, ebp
jne 0x496579
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jb 0x49656f
mov eax, dword [edi + 4]
push eax
call fcn.005380ca
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [edi + 4], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
call fcn.00532a33
mov dword [edi + 0x14], ebp
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.00537b72
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x24], 1
call fcn.00537ee0
mov eax, dword [esp + 0x10]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x499d60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x555a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov esi, 1
or ebp, 0xffffffff
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.00499390
test eax, eax
je 0x499dc3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x499dc3
lea ecx, [esp + 0x10]
inc esi
mov dword [esp + 0x1c], ebp
call fcn.00537b04
jmp 0x499d86
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebp
call fcn.00537b04
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x18], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x49cef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, 0x564180
mov eax, 0x563f80
sub esi, ecx
xor edx, edx
mov dx, word [eax]
and edx, 0x800000ff
jns 0x49cf17
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [esi + ecx]
add eax, 2
xor dl, bl
mov byte [ecx], dl
inc ecx
cmp eax, 0x56417e
jle 0x49cf02
pop esi
pop ebx
ret 4

Function at 0x49d0b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov si, word [eax]
mov dx, word [eax + 2]
mov cx, word [eax + 4]
mov ax, word [eax + 6]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
lea ebp, [edi + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebp
mov di, ax
mov bx, cx
jmp 0x49d0f9
mov ebp, dword [esp + 0x20]
shl eax, 0xb
shr di, 5
or eax, edi
mov edi, ecx
not edi
and edi, esi
sub eax, edi
mov edi, ecx
and edi, edx
sub eax, edi
mov edi, edx
sub ax, word [ebp + 2]
shl ecx, 0xd
shr bx, 3
not edi
or ecx, ebx
and edi, eax
sub ecx, edi
mov edi, edx
and edi, esi
mov dword [esp + 0x10], eax
sub ecx, edi
mov edi, edx
mov dx, word [esp + 0x1c]
sub cx, word [ebp]
shl edi, 0xe
shr dx, 2
or edi, edx
mov edx, esi
not edx
and edx, ecx
mov dword [esp + 0x14], ecx
sub edi, edx
mov edx, eax
and edx, esi
sub edi, edx
sub di, word [ebp - 2]
mov edx, edi
mov edi, esi
mov si, word [esp + 0x18]
mov dword [esp + 0x1c], edx
shl edi, 0xf
shr si, 1
or edi, esi
mov esi, eax
not esi
and esi, edx
sub edi, esi
mov esi, eax
and esi, ecx
sub edi, esi
sub di, word [ebp - 4]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xb
mov esi, edi
mov dword [esp + 0x18], esi
je 0x49d194
cmp ebp, 5
jne 0x49d1e8
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0x30]
and eax, 0x3f
and edx, 0x3f
and esi, 0x3f
sub di, word [ecx + eax*2]
sub bx, word [ecx + edx*2]
mov dx, word [ecx + esi*2]
sub word [esp + 0x1c], dx
mov word [esp + 0x10], di
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], bx
mov edx, eax
and edx, 0x3f
mov cx, word [ecx + edx*2]
mov edx, dword [esp + 0x1c]
sub word [esp + 0x18], cx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x49d1f2
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
dec ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
sub ebp, 8
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
jge 0x49d0f5
mov eax, dword [esp + 0x2c]
mov dx, word [esp + 0x18]
mov cx, word [esp + 0x1c]
mov word [eax + 6], di
pop edi
pop esi
mov word [eax + 4], bx
pop ebp
mov word [eax], dx
mov word [eax + 2], cx
pop ebx
add esp, 0x18
ret 8