joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54a350
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x65bb18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
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 dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 0x21c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ecx + 4], 0xffffffff
je 0x54a4b6
push 0x6a7820
lea ecx, [ebp - 0x14]
call fcn.004030b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x20]
call fcn.0058fee0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e6c0
cmp dword [esi + 0x38], ebx
je 0x54a3f9
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00403070
mov edx, dword [esi + 0x38]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403070
cmp dword [esi + 0x3c], ebx
je 0x54a417
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00403070
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403070
lea edi, [esi + 0x1a8]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x54a43a
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00403070
push edi
lea ecx, [ebp - 0x14]
call fcn.0040e6c0
add esi, 0x1ac
mov eax, dword [esi]
cmp eax, ebx
je 0x54a471
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a450
sub eax, edx
je 0x54a471
push str._r_nUser_Agent:
lea ecx, [ebp - 0x14]
call fcn.00403070
push esi
lea ecx, [ebp - 0x14]
call fcn.0040e6c0
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00403070
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
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.0061d2ff
add ebp, 0x214
mov esp, ebp
pop ebp
ret 4
Function at 0x54b020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5214]
mov eax, 0x5214
call fcn.0061ea30
push 0xffffffffffffffff
push 0x65bbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x5210], 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 - 0x1c], esi
mov edi, dword [ebp + 0x521c]
mov dword [ebp - 4], 0
mov ebx, 0x2800
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x2a10]
push ecx
push 0
push 0
push str.Extensions
mov edx, dword [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54b1b1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54b0a8
sub eax, edx
cmp eax, ebx
jae 0x54b1b1
mov dword [ebp - 0x14], ebx
mov ecx, edi
lea edx, [ebp + 0x210]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x54b0c4
push 0x30000000
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x210]
push ecx
mov edx, ecx
push edx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
call ebx
lea eax, [ebp + 0x2a10]
push eax
lea ecx, [ebp + 0x210]
push ecx
mov ecx, esi
call fcn.0054aea0
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x54b179
push 0x3f
push edi
call fcn.0061e8e0
add esp, 8
test eax, eax
je 0x54b179
mov ecx, edi
lea edx, [ebp + 0x210]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x54b120
mov dword [ebp - 0x14], 0x2800
push 0x30000000
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x210]
push eax
mov ecx, eax
push ecx
call ebx
push 0x3f
lea edx, [ebp + 0x210]
push edx
call fcn.0061e8e0
add esp, 8
test eax, eax
je 0x54b179
mov byte [eax], 0
lea eax, [ebp + 0x2a10]
push eax
lea ecx, [ebp + 0x210]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0054aea0
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, esi
jmp 0x54b1b3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5210]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x5214
mov esp, ebp
pop ebp
ret 4
Function at 0x54b1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5004]
mov eax, 0x5004
call fcn.0061ea30
push 0xffffffffffffffff
push 0x65bc20
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x5000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x500c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54b235
sub eax, edx
mov edi, 0x2800
cmp eax, edi
jae 0x54b379
push edi
push 0
lea eax, [ebp]
push eax
call fcn.0061d9e0
add esp, 0xc
mov ecx, esi
lea edx, [ebp]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x54b260
push 0x25
lea ecx, [ebp]
push ecx
call fcn.0061e8e0
add esp, 8
test eax, eax
je 0x54b2f2
lea edx, [ebp]
push edx
call fcn.0054ae30
mov bl, al
push str.Shlwapi.dll
call fcn.00447580
add esp, 8
mov esi, eax
test esi, esi
je 0x54b2c2
push str.UrlUnescapeA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b2b9
push 0x2100000
push 0
push 0
lea ecx, [ebp]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x54b2db
mov dword [ebp - 0x1c], edi
push 0x30000000
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test bl, bl
je 0x54b2f2
mov edx, dword [ebp + 0x5010]
push edx
lea eax, [ebp]
push eax
call fcn.005b5030
add esp, 8
push 0x3f
lea ecx, [ebp]
push ecx
call fcn.0061e8e0
add esp, 8
test eax, eax
jne 0x54b379
cmp dword [0x75abd8], eax
jne 0x54b32f
push eax
push 0x75abd8
push eax
push 0xf003f
push eax
push eax
push eax
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x54b379
mov dword [ebp - 0x18], edi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 0x2800]
push eax
push 0
push 0
push str.Extensions
mov ecx, dword [0x75abd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54b379
lea edx, [ebp + 0x2800]
push edx
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0054aea0
jmp 0x54b37b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5000]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x5004
mov esp, ebp
pop ebp
ret 8
Function at 0x54d0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x65bf06
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
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 edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi], vtable.CUrlHistory.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 4], 2
cmp dword [edi + 0x20], 0
je 0x54d154
mov eax, dword [edi + 0x20]
jmp 0x54d157
lea eax, [edi + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x54d160
sub eax, edx
sar eax, 1
jne 0x54d182
lea ecx, [edi + 4]
call fcn.005fef62
mov byte [ebp - 4], 1
jmp 0x54d269
cmp dword [edi + 0x20], 0
je 0x54d18d
mov eax, dword [edi + 0x20]
jmp 0x54d190
lea eax, [edi + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x54d179
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1c], 0
je 0x54d206
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [edi + 4]
call fcn.00406c90
push eax
lea ecx, [ebp - 0x14]
call fcn.004058f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x67c060
push esi
call ebx
jmp 0x54d1c8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 1
jmp 0x54d255
cmp esi, 0xffffffff
je 0x54d261
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 4]
call fcn.005fef62
mov byte [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.005fefa4
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.0061d2ff
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x54d780
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x65c006
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
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 edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi], vtable.CUrlHistory2.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 4], 2
cmp dword [edi + 0x20], 0
je 0x54d7e4
mov eax, dword [edi + 0x20]
jmp 0x54d7e7
lea eax, [edi + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x54d7f0
sub eax, edx
sar eax, 1
jne 0x54d812
lea ecx, [edi + 4]
call fcn.005fef62
mov byte [ebp - 4], 1
jmp 0x54d8f9
cmp dword [edi + 0x20], 0
je 0x54d81d
mov eax, dword [edi + 0x20]
jmp 0x54d820
lea eax, [edi + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x54d809
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1c], 0
je 0x54d896
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [edi + 4]
call fcn.00406c90
push eax
lea ecx, [ebp - 0x14]
call fcn.004058f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x67c060
push esi
call ebx
jmp 0x54d858
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 1
jmp 0x54d8e5
cmp esi, 0xffffffff
je 0x54d8f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 4]
call fcn.005fef62
mov byte [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.005fefa4
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.0061d2ff
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x54d960
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x65c069
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x400], 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
mov dword [edi], vtable.CUrlHistory2.0
push 0xa
lea ecx, [edi + 4]
call fcn.005feeb3
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x20]
mov dword [esi], ebx
mov dword [esi + 8], ebx
xor eax, eax
mov word [esi + 4], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0xffffffff
mov byte [ebp - 4], 2
mov eax, dword [0x75ac2c]
cmp eax, ebx
jne 0x54d9e1
mov eax, 0x75ac30
push ebx
push str.UrlHistory2.txt
push eax
push 0x675de0
mov ecx, esi
call fcn.00402320
push 0x676974
lea ecx, [ebp - 0x14]
call fcn.004030b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 4
cmp dword [esi], ebx
je 0x54da19
mov esi, dword [esi]
jmp 0x54da1c
add esi, 4
push ebx
push ebx
push 4
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
jne 0x54da60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 1
mov dword [ebp - 4], esi
jmp 0x54db7c
push 0x400
push ebx
lea ecx, [ebp]
push ecx
call fcn.0061d9e0
add esp, 0xc
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x3ff
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x54db07
cmp dword [ebp - 0x20], ebx
jbe 0x54db07
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403070
lea esp, [esp]
push ebx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004b96f0
mov esi, eax
cmp esi, 0xffffffff
jle 0x54daff
lea ecx, [ebp - 0x14]
cmp esi, ebx
jne 0x54dac3
push 1
push ebx
call fcn.005073d0
jmp 0x54daa0
push esi
lea edx, [ebp - 0x28]
push edx
call fcn.004fe090
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.004058f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402570
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [edi + 4]
call fcn.005ff1d9
inc esi
push esi
push ebx
lea ecx, [ebp - 0x14]
call fcn.005073d0
jmp 0x54daa0
mov esi, dword [ebp - 0x1c]
jmp 0x54da60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 1
jmp 0x54db6b
or ebx, 0xffffffff
cmp esi, ebx
je 0x54db79
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x404
mov esp, ebp
pop ebp
ret
Function at 0x54de10
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65c118
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x75abd8]
push str.WBProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0x676974
push 0
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x54df38
lea eax, [esp + 0x1c]
push eax
call fcn.0062393a
mov eax, dword [ebp + 8]
add esp, 4
xor edi, edi
test eax, eax
jle 0x54df2d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
jl 0x54df4c
cmp edi, eax
jge 0x54df4c
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + edi*4]
mov edx, dword [esp + 0x1c]
sub edx, dword [esi + 4]
lea eax, [ecx + edi*4]
cmp edx, 0x278d00
jge 0x54df21
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 4]
cdq
push edx
push eax
lea eax, [esp + 0x1c]
push str._I64d
push eax
call fcn.00402f70
mov esi, dword [esi]
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54def4
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push 0
push ecx
push edx
call ebx
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x54de9c
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.005f16d5
int3
Function at 0x54e0c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c170
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x54e1be
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x54e1ad
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push eax
call fcn.005f15c2
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.005f15c2
add esp, 8
mov edi, eax
cmp esi, ebx
je 0x54e1ad
cmp edi, ebx
je 0x54e1ad
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
push edx
push edi
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push esi
push ebx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x54e1d0
push esi
call fcn.005f15b7
push edi
call fcn.005f15b7
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
test eax, eax
jne 0x54e226
push esi
call fcn.0061eb3c
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x54e1f0
lea eax, [ebp - 0x20]
push eax
call fcn.0062393a
add esp, 4
push 8
call fcn.005f1588
add esp, 4
test eax, eax
je 0x54e207
mov ecx, eax
call fcn.0054dcf0
jmp 0x54e209
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
push edi
call fcn.0054e080
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0054dcd0
inc ebx
jmp 0x54e16d
Function at 0x552720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65c6e1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x755898]
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.AMFObjectProperty.0
mov dword [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.00402570
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x1c]
call fcn.005525c0
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

Function at 0x552bc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x65c756
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [esi], vtable.AMF3ClassDefinition.0
call fcn.00402500
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esi + 0xc], vtable.CIDMStringsList.0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov byte [esp + 0x20], 1
mov edi, dword [esp + 0x28]
mov al, byte [esp + 0x2c]
mov cl, byte [esp + 0x30]
mov byte [esi + 8], al
mov byte [esi + 9], cl
cmp edi, edx
jne 0x552c30
xor eax, eax
jmp 0x552c3e
mov eax, edi
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, dl
jne 0x552c35
sub eax, ebp
push eax
push edi
mov ecx, ebx
call fcn.00402960
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x552c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65c6e1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.AMFObjectProperty.0
call fcn.00402500
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x1c]
call fcn.00552560
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.00402500
mov byte [esp + 0x14], 2
mov ecx, esi
call fcn.00552ab0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5539c0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [ecx + 0xd4]
jmp fcn.00568c40
Function at 0x554730
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c8e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x55479c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
cmp eax, 0xffffffff
jne 0x5547e7
cmp ebx, ebx
jne 0x5547e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp eax, ebx
je 0x5547e7
mov dword [esi], ebx
mov dword [esi + 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push ebx
push ebx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00621c40
add dword [esi], eax
adc dword [esi + 4], edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
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 0x554830
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x65c900
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x80], 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 - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xdc], edi
je 0x55491c
mov eax, dword [esi + 0x90]
cmp eax, edi
je 0x5548a0
push eax
push str.SoftwareDownloadManager_ldChList
lea eax, [ebp]
push eax
call fcn.006201db
add esp, 0xc
jmp 0x5548b9
mov ecx, dword [esi + 8]
push ecx
mov edx, dword [esi + 4]
push edx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ldChList
lea eax, [ebp]
push eax
call fcn.006201db
add esp, 0x10
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xdc]
cmp eax, edi
je 0x5548ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
jmp 0x5548e3
lea ecx, [ebp]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [ebp - 0x18]
push edx
add esi, 0xdc
push esi
push 0
push 0xf003f
push 0
push 0x676974
push 0
lea eax, [ebp]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x84
mov esp, ebp
pop ebp
ret