joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2520
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62085b
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov byte [ecx + 0x14], 0
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b25ba
lea ecx, [esp + 8]
call fcn.004aceb0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteQAU__._r_n
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0
call fcn.004acfd0
lea ecx, [esp + 8]
mov dword [esp + 0x220], 0xffffffff
call fcn.004acfc0
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
mov edx, dword [esp]
push str.QAUWA
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x4b8d00
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagerProxyPac
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b8d89
mov edx, dword [esi + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push 0x6a9db8
push edx
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 8]
xor eax, eax
push 4
test ecx, ecx
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.bUse
setne al
push edx
mov dword [esp + 0x24], eax
call edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4b8e90
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x621208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6cd768]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareDownloadManagerProxyPac_s
push edx
mov dword [esp + 0x2c], esi
call fcn.005fc86b
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x6d1c98
push esi
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
cmp edx, esi
mov esi, dword [esp + 0x2c]
je 0x4b8f49
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push eax
push eax
push 0x6a9dfc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005b3170
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov ecx, ebp
call fcn.004b8f80
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4b96e0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x621260
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [esi + 0x544]
test eax, eax
jne 0x4b97ac
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4b9870
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x544], eax
je 0x4b9750
mov eax, dword [esi + 0x54c]
test eax, eax
jne 0x4b97ac
push 1
push 0
call edi
mov eax, dword [esi + 0x54c]
test eax, eax
je 0x4b973e
jmp 0x4b97ac
mov ecx, dword [0x6cd768]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x10]
push str.Gr_GetWW:CrTh_failed__err__ld_n
push edx
call fcn.005fc86b
mov ecx, dword [0x6d245c]
add esp, 0xc
test ecx, ecx
je 0x4b9791
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004acfd0
lea ecx, [esp + 0xc]
mov dword [esi + 0x54c], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, dword [esi + 0x548]
test eax, eax
jne 0x4b984f
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x4b9a80
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x548], eax
je 0x4b97f3
mov eax, dword [esi + 0x550]
test eax, eax
jne 0x4b984f
push 1
push 0
call edi
mov eax, dword [esi + 0x550]
test eax, eax
je 0x4b97e1
jmp 0x4b984f
mov edx, dword [0x6cd768]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.Gr_GetWW:CrTh2_failed__err__ld_n
push eax
call fcn.005fc86b
mov ecx, dword [0x6d245c]
add esp, 0xc
test ecx, ecx
je 0x4b9834
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.004acfd0
lea ecx, [esp + 0x10]
mov dword [esi + 0x550], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov eax, dword [esi + 0x54c]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4c6590
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6220a0
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 0x14]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
mov dword [esi + 0x4b0], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c6645
mov edx, dword [0x6cd768]
mov dword [esp + 4], edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 8]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push eax
call fcn.005fc86b
mov ecx, dword [0x6d245c]
add esp, 0xc
test ecx, ecx
je 0x4c6624
mov edx, dword [esp + 4]
push 1
push edx
call fcn.004acfd0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.maxProjectID
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c667c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x4b0], eax
jmp 0x4c66cd
cmp eax, 2
je 0x4c66cd
mov ecx, dword [0x6cd768]
mov dword [esp + 8], ecx
push eax
lea edx, [esp + 0xc]
push str.Gr_SetPID:RegQVE_failed__err_ld_n
push edx
mov dword [esp + 0x30], 1
call fcn.005fc86b
mov ecx, dword [0x6d245c]
add esp, 0xc
test ecx, ecx
je 0x4c66bc
mov eax, dword [esp + 8]
push 1
push eax
call fcn.004acfd0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6a9e78]
mov ecx, dword [esi + 0x4b0]
cmp eax, ecx
jl 0x4c66ee
inc eax
mov dword [esi + 0x4b0], eax
mov edx, dword [esi + 0x4b0]
mov dword [0x6a9e78], edx
mov eax, dword [esi + 0x4b0]
push eax
call fcn.004cb820
mov ecx, dword [0x6d2484]
add esp, 4
test ecx, ecx
je 0x4c671f
mov edx, dword [esi + 0x4b0]
push edx
call fcn.004aea30
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4c6730
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6220b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c67db
mov edx, dword [0x6cd768]
mov dword [esp + 8], edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xc]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push eax
call fcn.005fc86b
mov ecx, dword [0x6d245c]
add esp, 0xc
test ecx, ecx
je 0x4c67ba
mov edx, dword [esp + 8]
push 1
push edx
call fcn.004acfd0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00603a3c
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.maxProjectID
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esi + 0x4b0]
jne 0x4c6811
cmp eax, dword [esp + 4]
jle 0x4c6815
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push 0
push str.maxProjectID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4c9670
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6223fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 8]
push edi
cmp ecx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edx
jl 0x4c97b3
cmp ecx, dword [esi + 0xb0]
jge 0x4c97b3
xor ebx, ebx
cmp edx, dword [esi + 0x530]
jge 0x4c9725
mov eax, dword [esi + 0x52c]
lea edi, [edx*8]
add eax, edi
cmp ecx, dword [eax]
jne 0x4c9791
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x530]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x52c]
sub eax, edx
mov ebx, 1
dec eax
add ecx, edi
mov edi, ebx
dec ebx
test edi, edi
je 0x4c96f6
add ecx, 8
jmp 0x4c96ea
test eax, eax
je 0x4c9715
mov ecx, dword [esi + 0x52c]
shl eax, 3
push eax
lea eax, [ecx + edx*8 + 8]
lea ecx, [ecx + edx*8]
push eax
push ecx
call fcn.005e8260
add esp, 0xc
mov eax, dword [esi + 0x530]
mov ebx, dword [ebp + 8]
dec eax
mov dword [esi + 0x530], eax
test ebx, ebx
je 0x4c97b3
mov edx, dword [ebx]
push 0
push 0x1442
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 8], ebx
mov al, byte [ebx + 0x26]
mov byte [ebp - 4], 1
test al, al
je 0x4c9761
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4c975a
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x10]
call fcn.00401070
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0
call fcn.00603a3c
push ebx
call fcn.005ffe68
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edx
jmp 0x4c96af
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 0x4c97d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x530]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x4c989b
mov eax, dword [ebx + 0x52c]
push 0
push 0x1442
push 0x111
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x52c]
mov esi, dword [eax + edi*8 + 4]
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x4c988e
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 2
test al, al
je 0x4c9858
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4c9851
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00603a3c
push esi
call fcn.005ffe68
add esp, 4
mov dword [ebp - 4], 0
inc edi
jmp 0x4c97fb
mov dword [ebp - 4], 0
inc edi
jmp 0x4c97fb
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x528]
call fcn.004d2590
mov ecx, ebx
call fcn.004cedb0
mov esi, dword [ebx + 0x53c]
test esi, esi
je 0x4c9901
mov dword [ebp - 0x1c], esi
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 4
test al, al
je 0x4c98da
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4c98d3
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.00603a3c
push esi
call fcn.005ffe68
add esp, 4
mov dword [ebx + 0x53c], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6224bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
xor edi, edi
cmp edi, dword [esi + 0xb0]
jge 0x4cb7cc
mov eax, dword [0x6cd768]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x78], bx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x6c], bx
call fcn.0041cab0
mov eax, dword [0x6cd768]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.0041cab0
mov eax, dword [0x6cd768]
mov dword [ebp - 0xd8], 0x636674
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xd8]
push ebx
push eax
push edi
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.005d7f10
cmp al, bl
je 0x4cb79c
cmp byte [ebp - 0x90], bl
je 0x4cb79c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4cb77e
lea eax, [ebp - 0x3c]
push eax
call fcn.005e71bf
add esp, 4
test eax, eax
jbe 0x4cb79c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4cb795
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.00476b90
inc edi
jmp 0x4cb6dd
mov eax, dword [esi + 0x41c]
cmp eax, ebx
jne 0x4cb7dc
lea eax, [esi + 0x420]
push eax
call fcn.005e71bf
add esp, 4
test eax, eax
je 0x4cb802
mov eax, dword [esi + 0x41c]
cmp eax, ebx
jne 0x4cb7f9
lea eax, [esi + 0x420]
push eax
call fcn.005e9aa4
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cd7d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6226db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov al, byte [esi + 0x26]
mov dword [esp + 0x10], 0
test al, al
je 0x4cd80d
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4cd806
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4cedb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62280b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x53c]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4cee5b
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4cee09
mov ecx, dword [edi + 0x53c]
push ebx
push 0x1442
push 0x111
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.004c82c0
mov esi, dword [edi + 0x53c]
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x4cee55
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 1
cmp al, bl
je 0x4cee39
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4cee32
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], bl
call fcn.00603a3c
push esi
call fcn.005ffe68
add esp, 4
mov dword [edi + 0x53c], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d59b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
mov bl, 1
lea ecx, [edi + 0x620]
mov byte [ebp - 4], bl
call fcn.0050e370
mov ecx, dword [ebp + 8]
cmp ecx, eax
jge 0x4d5a4c
mov edx, dword [edi + ecx*4 + 0x624]
mov esi, dword [0x6d22c0]
mov byte [ebp - 0x11], bl
mov ebx, dword [0x6d22c4]
xor eax, eax
cmp eax, ebx
jge 0x4d5a42
lea ecx, [eax + eax*2]
cmp edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
jne 0x4d5a77
mov ecx, dword [ecx + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402410
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d5a36
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d5a7a
mov al, byte [ebp - 0x11]
test al, al
je 0x4d5a7a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [edi + 0x620]
call fcn.0050e580
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc eax
jmp 0x4d5a11
lea ecx, [edi + 0x4a8]
call fcn.004bb370
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d5a8f
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.004d7840
jmp 0x4d5a58
Function at 0x4d9360
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagermenuExt
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d9496
mov edx, dword [0x6d2cb4]
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl1_str
push edx
call esi
mov edx, dword [0x6d2c9c]
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
mov eax, dword [esp + 0x18]
push str.ffdownlAll_str
push eax
call esi
mov edx, dword [0x6d2cac]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
push str.ffdownlFLV_str
push ecx
call esi
mov edx, dword [0x6d2ca8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl10FLV_str
push edx
call esi
mov edx, dword [0x6d2cb0]
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
mov eax, dword [esp + 0x18]
push str.ffdownlppFLV_str
push eax
call esi
mov edx, dword [0x6d2ca4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
mov ecx, dword [esp + 0x14]
push eax
push str.ffdownlFLVa_str
push ecx
call esi
mov edx, dword [0x6d2ca0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push str.ffdownl10FLVa_str
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x4e6fc0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x623eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push edi
mov edi, ecx
push 0
mov dword [esp + 0xc], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x6cd768]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x184], 0
neg ebp
sbb ebp, ebp
test ebp, ebp
je 0x4e7142
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x4e7035
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x4e7035
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x4e7035
inc eax
add edx, 4
cmp eax, esi
jb 0x4e7027
mov ebp, dword [ecx]
test ebp, ebp
jne 0x4e705d
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x4e705d
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x4e705d
inc eax
add edx, 4
cmp eax, esi
jb 0x4e704f
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.00603b75
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.00603b75
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x4e7134
mov edx, dword [esp + 0x14]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [esp + 0x28]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea esi, [edx + 8]
push ecx
push ebx
mov ecx, esi
call fcn.0053a740
test eax, eax
jne 0x4e7111
mov eax, dword [esi + 4]
test eax, eax
jne 0x4e70ea
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.00423a00
mov ecx, esi
call fcn.004e79e0
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
lea esi, [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00603b75
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.00603b75
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x4e7014
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x4e7162
push 0
push 0x1446
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 1
call fcn.00603a3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret