joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db980
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aaa10
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
push eax
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebp
push 0xf003f
push ebp
push 0x663188
push ebp
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4dbb7d
mov edi, dword [esp + 0x30]
mov eax, str.IncludeFilters
cmp edi, ebp
jne 0x4db9e3
mov eax, str.ExcludeFilters
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp edi, ebp
mov eax, str.IncludeFilters
jne 0x4db9fd
mov eax, str.ExcludeFilters
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x663188
push ebp
push eax
mov eax, dword [esp + 0x38]
push eax
call ebx
test eax, eax
jne 0x4dbb7d
cmp edi, ebp
je 0x4dbacd
mov eax, dword [esi + 0x12c]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x4dbb69
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x128]
lea eax, [ecx + edi]
mov cl, byte [ecx + edi + 0xc]
test cl, cl
je 0x4dbab2
mov edx, dword [0x65ec1c]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x38]
push str._ld__s
push eax
mov dword [esp + 0x38], 0
call fcn.0058148b
mov ecx, dword [esi + 0x128]
mov edx, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [ecx + edi]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.005886c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x12c]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4dba49
jmp 0x4dbb69
mov eax, dword [esi + 0x140]
mov dword [esp + 0x30], ebp
cmp eax, ebp
jle 0x4dbb69
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x13c]
lea eax, [edi + ecx]
mov cl, byte [edi + ecx + 0xc]
test cl, cl
je 0x4dbb53
mov edx, dword [0x65ec1c]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._ld__s
push eax
mov dword [esp + 0x38], 1
call fcn.0058148b
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [edi + ecx]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.005886c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x140]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x4dbaea
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4dbba0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4dbbff
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push 4
push eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret 8
Function at 0x4e50f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0x650]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x4e51e8
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x624]
push eax
push ecx
mov byte [esi + 0x650], bl
mov edx, dword [0x663680]
push ebx
push ebx
push str.GrabberWindowPlacement
push edx
mov dword [ebp - 0x14], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e51e8
cmp dword [esi + 0x62c], 3
jne 0x4e516e
push 3
mov ecx, esi
call fcn.00587dc0
jmp 0x4e5198
mov eax, dword [esi + 0x644]
mov edx, dword [esi + 0x64c]
mov ecx, dword [esi + 0x640]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x648]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00587d71
mov ecx, dword [esi + 0x84]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ecx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, ecx
mov edi, dword [ebp - 0x24]
sub edx, eax
sub eax, ecx
mov ecx, dword [ebp - 0x28]
push ebx
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 0x55]
mov ecx, dword [ebp - 0x2c]
mov ebx, edx
sub ecx, edx
sub ebx, edi
push ebx
lea edx, [ecx + edi - 0x23]
push eax
push edx
lea ecx, [esi + 0x68]
call fcn.00587d30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab16b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x5f4]
mov dword [ebp - 4], edi
cmp eax, 4
je 0x4e53b4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push edi
push 0xf003f
push edi
push 0x663188
push edi
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4e52e0
lea ecx, [ebp - 0x120]
call fcn.00478b50
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.00478c60
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.00478c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, 7
jge 0x4e5306
mov edx, dword [esi + 0x520]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esi + edi*4 + 0x654], eax
inc edi
jmp 0x4e52e6
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x654]
push 4
push eax
push 4
push 0
push str.FileName
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x658]
push 4
push edx
push 4
push 0
push str.FileType
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x65c]
push 4
push ecx
push 4
push 0
push str.Size
push edx
call edi
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x660]
push 4
push eax
push 4
push 0
push str.Status
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x664]
push 4
push edx
push 4
push 0
push str.Description
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x668]
push 4
push ecx
push 4
push 0
push 0x63bbe8
push edx
call edi
mov eax, dword [ebp - 0x14]
add esi, 0x66c
push 4
push esi
push 4
push 0
push str.SaveTo
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e7be0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ab3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x65ec1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
xor edi, edi
push str._s_tvlda.pdb
push edx
mov dword [esp + 0x30], edi
call fcn.0058148b
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push edi
push 4
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
jne 0x4e7c5a
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
call fcn.005886c0
xor eax, eax
jmp 0x4e7d77
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4e7c96
test edi, edi
jne 0x4e7c96
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e7c96
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.005886c0
xor eax, eax
jmp 0x4e7d77
mov edx, dword [esp + 0x14]
push 1
push 0
push 0
push edx
call fcn.0056ee00
add ebx, eax
adc edi, edx
mov eax, ebx
or eax, edi
je 0x4e7d5a
push 0
push 0xc
push edi
push ebx
call fcn.0056e3a0
mov ebp, eax
mov eax, dword [esi + 8]
cmp ebp, eax
jl 0x4e7d23
mov eax, dword [esi + 0xc]
push eax
call fcn.00584a85
lea eax, [ebp + 0x1f4]
mov dword [esi + 8], eax
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
call fcn.00584a5c
mov edi, eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], edi
add esp, 8
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4e7d23
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.005886c0
xor eax, eax
jmp 0x4e7d77
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e7d53
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.005886c0
xor eax, eax
jmp 0x4e7d77
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x2c]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.005886c0
mov eax, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4e96c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x663680]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4e9701
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x663680]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4e972c
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret

Function at 0x4e9d20
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa10
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x10]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 4], 0
jne 0x4e9e8d
push str..easy_share.com
mov byte [ebx + 0x10], 1
call fcn.004e9bd0
push str.www.uploading.com
mov ecx, ebx
call fcn.004e9bd0
push str..uploaded.to
mov ecx, ebx
call fcn.004e9bd0
mov eax, dword [0x663680]
test eax, eax
je 0x4e9e8d
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x118]
push ecx
push edx
push 0
push 0
push str.AppDataIDMFolder
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e9e8d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4e9e8d
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x14], ecx
mov al, byte [ebp + ecx - 0x119]
cmp al, 0x5c
mov eax, 0x63a4cc
jne 0x4e9df3
mov eax, 0x663188
push str.sts_list.dat
lea ecx, [ebp - 0x118]
push eax
push ecx
lea edx, [ebp - 0x21c]
push 0x6399cc
push edx
call fcn.0056d05a
lea eax, [ebp - 0x21c]
push 0x63b074
push eax
call fcn.0056dabf
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4e9e8d
push esi
lea ecx, [ebp - 0xa1c]
push 0x800
push ecx
call fcn.0056dc9a
add esp, 0xc
test eax, eax
je 0x4e9e84
lea edx, [ebp - 0xa1c]
push 0xd
push edx
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x4e9e5c
mov byte [eax], 0
lea eax, [ebp - 0xa1c]
push 0xa
push eax
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x4e9e74
mov byte [eax], 0
lea ecx, [ebp - 0xa1c]
push ecx
mov ecx, ebx
call fcn.004e9bd0
jmp 0x4e9e2b
push esi
call fcn.0056d8d8
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 0x4e9eb0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, 3
push edi
cmp dword [ebp + 8], esi
jle 0x4e9fb5
mov eax, dword [0x663680]
test eax, eax
je 0x4e9fb5
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.AppDataIDMFolder
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e9fb5
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4e9fb5
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
mov al, byte [esp + ecx + 0x13]
cmp al, 0x5c
mov eax, 0x63a4cc
jne 0x4e9f39
mov eax, 0x663188
push str.sts_list.dat
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x124]
push 0x6399cc
push edx
call fcn.0056d05a
lea eax, [esp + 0x12c]
push 0x63add8
push eax
call fcn.0056dabf
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4e9fb5
cmp dword [ebp + 8], esi
jle 0x4e9fac
mov ecx, dword [ebp + 4]
xor eax, eax
push ebx
mov edx, dword [ecx + esi*4]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0056d955
push ebx
push 2
push 1
push 0x639b3c
call fcn.0056d955
mov eax, dword [ebp + 8]
add esp, 0x20
inc esi
cmp esi, eax
jl 0x4e9f76
push ebx
call fcn.0056d8d8
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x4eb480
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x4eb616
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x5d8648
push 2
call fcn.004eb3a0
cmp eax, ebx
je 0x4eb4fc
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x4eb515
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
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 0x4ec080
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x4ec0f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4ec0cf
mov eax, dword [0x663a84]
test eax, eax
jne 0x4ec0d1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x663a84]
test eax, eax
je 0x4ec0af
mov dword [edi + 0x24], eax
pop esi
mov dword [0x663a84], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x663a84], 0
pop edi
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab966
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x5d8edc
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x5d8ed8
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.005928ec
call fcn.005928ec
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ed4d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5abac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x4ed52a
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x639b3c
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4ed540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abaeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 4]
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x4ed64b
push 0x650c14
lea ecx, [ebp - 0x14]
call fcn.0058872e
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 1
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.0051adf0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.00588a72
cmp dword [esi + 0x38], ebx
je 0x4ed5cb
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00588a36
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x14]
push eax
call fcn.00588a36
cmp dword [esi + 0x3c], ebx
je 0x4ed5e9
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00588a36
mov ecx, dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00588a36
mov edx, dword [esi + 0x17c]
add esi, 0x17c
cmp dword [edx - 8], ebx
je 0x4ed610
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00588a36
push esi
lea ecx, [ebp - 0x14]
call fcn.00588a72
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00588a36
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005886c0
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 0x4ef7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5abcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
push ebx
mov edx, dword [0x663680]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x7e8]
push eax
push ecx
push 0
push 0
mov esi, 0x7d0
push str.Extensions
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ef7fc
xor eax, eax
jmp 0x4ef8fa
mov ebx, dword [esp + 0xfcc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x4ef8fa
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x30000000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x7e8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.004ef670
mov ebp, eax
test ebp, ebp
jne 0x4ef8f8
push 0x3f
push ebx
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x4ef8f8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30000000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
and ecx, 3
mov dword [esp + 0x14], 0x7d0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x18]
push 0x3f
push ecx
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x4ef8f8
mov ecx, dword [esp + 0x14]
mov byte [eax], 0
lea edx, [esp + 0x7e8]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.004ef670
mov ebp, eax
mov eax, ebp
mov ecx, dword [esp + 0xfbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfb8
ret 4