joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53bba0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x65d1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
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 esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0x75c], 4
je 0x53bc41
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x53bc66
lea ecx, [ebp]
call fcn.004c14c0
mov byte [ebp - 4], 1
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp]
call fcn.004c1630
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004c1620
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.0062023e
add ebp, 0x214
mov esp, ebp
pop ebp
ret
xor bl, bl
mov byte [ebp - 0x24], bl
mov edi, 0x60
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x24]
call fcn.00435c40
cmp eax, edi
je 0x53bc84
mov bl, 1
xor edi, edi
mov dword [ebp - 0x18], edi
cmp edi, 7
jge 0x53bcb1
push edi
lea ecx, [esi + 0x628]
call fcn.00437ce0
test bl, bl
je 0x53bca7
push eax
lea ecx, [ebp - 0x24]
call fcn.004a6000
mov dword [esi + edi*4 + 0x7bc], eax
inc edi
jmp 0x53bc86
push 4
lea edx, [esi + 0x7bc]
push edx
push 4
push 0
push str.FileName
mov eax, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
push 4
lea ecx, [esi + 0x7c0]
push ecx
push 4
push 0
push str.FileType
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
lea eax, [esi + 0x7c4]
push eax
push 4
push 0
push str.Size
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
lea edx, [esi + 0x7c8]
push edx
push 4
push 0
push 0x68c200
mov eax, dword [ebp - 0x14]
push eax
call edi
push 4
lea ecx, [esi + 0x7cc]
push ecx
push 4
push 0
push 0x68aeb4
mov edx, dword [ebp - 0x14]
push edx
call edi
push 4
lea eax, [esi + 0x7d0]
push eax
push 4
push 0
push 0x68aec8
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
add esi, 0x7d4
push esi
push 4
push 0
push str.SaveTo
mov edx, dword [ebp - 0x14]
push edx
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x53bc41
Function at 0x53c440
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x646c18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], cx
mov dword [esp + 0x38], ebx
push ebx
push eax
push str._s_tvlda.pdb
lea ecx, [esp + 0x2c]
call fcn.004021c0
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x53c4a9
lea eax, [esp + 0x24]
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x53c4ef
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x53c507
test ebx, ebx
jne 0x53c507
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x53c507
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401210
xor eax, eax
jmp 0x53c5c5
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
call fcn.00624b80
add edi, eax
adc ebx, edx
mov ecx, edi
or ecx, ebx
je 0x53c5a8
push 0
push 0xc
push ebx
push edi
call fcn.00624220
mov ebp, eax
cmp ebp, dword [esi + 8]
jl 0x53c582
mov eax, dword [esi + 0xc]
push eax
call fcn.005f4517
xor ecx, ecx
lea eax, [ebp + 0x1f4]
mov dword [esi + 8], eax
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f4522
mov ecx, dword [esi + 8]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
mov dword [esi + 0xc], eax
call fcn.00620920
add esp, 0x14
cmp dword [esi + 0xc], 0
je 0x53c4ef
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x53c4ef
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0062023e
add esp, 0x28
ret 4
Function at 0x545540
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [esp + 8]
push eax
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x54557f
cmp dword [esp + 0xc], eax
setne al
mov byte [edi + 7], al
mov eax, dword [0x75dbe4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x5455aa
mov byte [edi + 4], 1
mov eax, dword [0x75dbe4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.StImmOATQ
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x5455db
cmp dword [esp + 0xc], eax
setne cl
mov byte [edi + 6], cl
pop edi
pop esi
add esp, 8
ret

Function at 0x545ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65dda8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], 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
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 8], 3
jle 0x545b6a
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x545b2c
mov eax, 0x75dc3c
push ebx
push 0x6aa15c
push eax
push 0x678de0
lea ecx, [ebp - 0x20]
call fcn.00402330
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x545b4a
lea eax, [ebp - 0x1c]
push 0x67c5b0
push eax
call fcn.00622f0d
add esp, 8
mov esi, eax
cmp esi, ebx
jne 0x545b86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret
mov ebx, 3
mov dword [ebp - 0x28], ebx
cmp ebx, dword [edi + 8]
jge 0x545bcb
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + ebx*4]
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x545ba0
sub eax, edi
push esi
push eax
push 1
push ecx
call fcn.00622dc5
push esi
push 2
push 1
push 0x67b29c
call fcn.00622dc5
add esp, 0x20
inc ebx
mov edi, dword [ebp - 0x24]
jmp 0x545b8b
push esi
call fcn.00622be7
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x545b6a

Function at 0x546050
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [0x75dbe4]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x20], eax
call edi
mov edx, dword [0x75dbe4]
xor eax, eax
cmp byte [esi + 0xd], al
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
setne al
push 0
push str.kbUPFBoErfCD
push edx
mov dword [esp + 0x20], eax
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x5461c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x65df74
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x758898]
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.CSystemProxySettings2.0
mov dword [esp + 0x14], 0xa
lea ecx, [esi + 0x3c]
call fcn.004ac3f0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x30]
call fcn.00402580
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x2c]
call fcn.00402580
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x28]
call fcn.00402580
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x24]
call fcn.00402580
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x20]
call fcn.00402580
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x1c]
call fcn.00402580
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x18]
call fcn.00402580
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x14]
call fcn.00402580
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x10]
call fcn.00402580
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.00402580
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 8]
call fcn.00402580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x546cc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65e118
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.00402510
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push str.SoftwareDownloadManagerProxyServers_s
push ecx
call fcn.00402f80
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
test edx, edx
je 0x546d9a
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x546d60
sub eax, edi
inc eax
push eax
push esi
push 0
push 0
push 0x68cb9c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push ebp
push str.EncPassword
push edx
call fcn.005ba340
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00546430
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc
Function at 0x547150
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esi + 0x14]
push 0
call fcn.00546dd0
mov edx, dword [0x75dbe4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.nProxyMode
mov ebp, 4
push edx
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x54719f
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x547274
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.UseHttpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5471cc
cmp dword [esp + 0x10], eax
je 0x5471cc
mov byte [esi + 8], 1
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.UseHttpsProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5471f9
cmp dword [esp + 0x10], eax
je 0x5471f9
mov byte [esi + 0xa], 1
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.UseFtpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x547226
cmp dword [esp + 0x10], eax
je 0x547226
mov byte [esi + 9], 1
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.bUseSocks
push eax
mov dword [esp + 0x24], ebp
call edi
cmp byte [esi + 8], 0
jne 0x54725d
cmp byte [esi + 9], 0
jne 0x54725d
cmp byte [esi + 0xa], 0
jne 0x54725d
cmp byte [esi + 0xb], 0
je 0x547264
mov dword [esi + 4], 0x10
cmp dword [0x75e750], 0
je 0x547274
mov dword [esi + 4], 8
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.kbUPFBoErfCD
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5472a1
cmp dword [esp + 0x10], eax
setne cl
mov byte [esi + 0xd], cl
test byte [esi + 4], 8
je 0x5472cd
mov edi, dword [0x75e74c]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5472b2
sub eax, edx
je 0x5472cd
push edi
mov ecx, 0x75e740
call fcn.004ccac0
mov dword [0x75e750], eax
cmp dword [esi + 4], 2
jne 0x54730b
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.00546dd0
test byte [esi + 0x18], 8
je 0x54730b
mov esi, dword [esi + 0x20]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5472f0
sub eax, edx
je 0x54730b
push esi
mov ecx, 0x75e740
call fcn.004ccac0
mov dword [0x75e750], eax
pop edi
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x547440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5474a6
mov eax, dword [esi + 4]
cmp eax, dword [esp + 8]
je 0x5474a6
mov ecx, 0x75e740
call fcn.004cc880
mov ecx, esi
call fcn.00547150
cmp dword [esi + 4], 2
jne 0x5474a6
push 0
push 0
push 0
push 0
push 0
push 0x545f30
call fcn.005ffc0d
pop esi
add esp, 8
ret
Function at 0x548730
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x164]
sub esp, 0x164
push 0xffffffffffffffff
push 0x65e400
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x160], 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 edi, dword [ebp + 0x16c]
mov ebx, dword [ebp + 0x170]
mov esi, dword [ebp + 0x174]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x5488e2
push 0x160
push 0
lea eax, [ebp]
push eax
call fcn.00620920
add esp, 0xc
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x6aa670
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00548650
test eax, eax
je 0x5487dd
push 0x410c
push 0x160
lea edx, [ebp]
push edx
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x18], eax
jmp 0x5487f4
push 0x400c
push 0x160
lea eax, [ebp]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 1
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 4]
push eax
mov ecx, dword [esi]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea edx, [ebp - 0x40]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 3
push 0
push 0
push 0x30
push 0x30
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
sub eax, 0x30
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 eax, dword [esi + 4]
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [ebp - 0x30]
push ecx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x20]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push ebx
call esi
mov eax, dword [ebp - 0x1c]
jmp 0x5488e4
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 + 0x160]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x164
mov esp, ebp
pop ebp
ret 0x10
Function at 0x54a980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push 0x54a820
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x54a9e4
lea esp, [esp]
mov eax, dword [0x75e7d8]
cmp eax, esi
jne 0x54a9eb
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x54a9d0
xor eax, eax
mov dword [0x75e7d8], eax
mov dword [edi + 0x24], eax
mov dword [0x75e7d8], esi
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

Function at 0x54adc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e93b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], 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 esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [edi + 4]
cmp edx, 0xffffffff
je 0x54ae4a
mov eax, esi
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54ae10
sub eax, ebx
push 0
lea ecx, [ebp - 0x228]
push ecx
push eax
push esi
push edx
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
push 0
lea edx, [ebp - 0x228]
push edx
push 2
push 0x67b29c
mov eax, dword [edi + 4]
push eax
call esi
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 - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 4

Function at 0x54aeb0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x408]
cmp eax, 0x3fe
jne 0x54af0b
push edi
push 0x400
lea edi, [esi + 8]
push 0
push edi
call fcn.00620920
mov ecx, dword [esi + 4]
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
push 0x3ff
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
test eax, eax
je 0x54af04
cmp dword [esp + 4], 0
jbe 0x54af04
mov dword [esi + 0x408], 0
jmp 0x54af12
xor al, al
pop esi
pop ecx
ret 4
inc eax
mov dword [esi + 0x408], eax
mov edx, dword [esi + 0x408]
mov al, byte [esi + edx + 8]
mov ecx, dword [esp + 0xc]
mov byte [ecx], al
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x54b500
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x65ea28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x758898]
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 0x54b666
push 0x6aad00
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402510
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x20]
call fcn.005924c0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e300
cmp dword [esi + 0x38], ebx
je 0x54b5a9
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00403080
mov edx, dword [esi + 0x38]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403080
cmp dword [esi + 0x3c], ebx
je 0x54b5c7
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00403080
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403080
lea edi, [esi + 0x1b8]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x54b5ea
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00403080
push edi
lea ecx, [ebp - 0x14]
call fcn.0040e300
add esi, 0x1bc
mov eax, dword [esi]
cmp eax, ebx
je 0x54b621
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54b600
sub eax, edx
je 0x54b621
push str._r_nUser_Agent:
lea ecx, [ebp - 0x14]
call fcn.00403080
push esi
lea ecx, [ebp - 0x14]
call fcn.0040e300
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00403080
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.00402580
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402580
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.0062023e
add ebp, 0x214
mov esp, ebp
pop ebp
ret 4
Function at 0x54c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5214]
mov eax, 0x5214
call fcn.00621970
push 0xffffffffffffffff
push 0x65eb08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
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 [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54c361
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x54c258
sub eax, edx
cmp eax, ebx
jae 0x54c361
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 0x54c274
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.0054c050
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x54c329
push 0x3f
push edi
call fcn.00621820
add esp, 8
test eax, eax
je 0x54c329
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 0x54c2d0
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.00621820
add esp, 8
test eax, eax
je 0x54c329
mov byte [eax], 0
lea eax, [ebp + 0x2a10]
push eax
lea ecx, [ebp + 0x210]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0054c050
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, esi
jmp 0x54c363
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.0062023e
add ebp, 0x5214
mov esp, ebp
pop ebp
ret 4