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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ee3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [edi], 0x6632c0
lea esi, [edi + 0x20]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x1c], 0xffffffff
mov byte [ebp - 4], 1
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x5566de
lea ecx, [edi + 4]
call fcn.006212da
jmp 0x5567b6
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
je 0x5567b6
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x55674e
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00622ec3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call edi
lea eax, [ebp - 0x20]
push 0
push eax
push 1
push 0x6cc6d4
push esi
call edi
jmp 0x556717
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x556795
cmp esi, 0xffffffff
mov dword [ebp - 4], 0
je 0x5567a8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.006212da
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.0062130f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5568d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ee9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0xa
lea ecx, [edi + 4]
mov dword [ebp - 0x1c], edi
call fcn.0062129b
lea esi, [edi + 0x20]
push 0x6fc41c
push esi
mov dword [ebp - 4], 0
mov dword [edi], 0x6632c4
mov dword [ebp - 0x20], 0xffffffff
call fcn.0060aac7
mov eax, dword [0x6fca48]
add esp, 8
test eax, eax
mov byte [ebp - 4], 1
jne 0x55693a
mov eax, 0x6fca4c
push str.UrlHistory2.txt
push eax
push 0x6ca5f0
push esi
call fcn.0060aac7
add esp, 0x10
lea ecx, [ebp - 0x14]
push 0x6fc418
call fcn.00622df8
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x18], eax
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x20], ebx
jne 0x5569b2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x428]
push eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x428]
push ecx
push 0x3ff
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x556a58
mov eax, dword [ebp - 0x28]
test eax, eax
jbe 0x556a58
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x14]
push eax
call fcn.0062308c
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00623177
mov esi, eax
cmp esi, 0xffffffff
jle 0x5569b2
test esi, esi
jne 0x556a15
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0061f46f
jmp 0x5569f3
lea ecx, [ebp - 0x24]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0061f6e3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00622ec3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00622d8a
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [eax + 4]
call fcn.00621444
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0
call fcn.0061f46f
jmp 0x5569f3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x556aab
cmp ebx, 0xffffffff
je 0x556ab7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x556af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64eece
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [edi], 0x6632c4
lea esi, [edi + 0x20]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x1c], 0xffffffff
mov byte [ebp - 4], 1
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x556b4e
lea ecx, [edi + 4]
call fcn.006212da
jmp 0x556c26
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
je 0x556c26
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x556bbe
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00622ec3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call edi
lea eax, [ebp - 0x20]
push 0
push eax
push 1
push 0x6cc6d4
push esi
call edi
jmp 0x556b87
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x556c05
cmp esi, 0xffffffff
mov dword [ebp - 4], 0
je 0x556c18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.006212da
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.0062130f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55ee50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0055e58b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0055e540
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0055e58b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0055e540
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0055e57b
dec eax
invalid
Function at 0x55f280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0055e58b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0055e540
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0055e57b
sub eax, 0xff172df2
mov ch, 0x68
stc
invalid
Function at 0x562840
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x562874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
ret
lea edx, [esp + 0xc]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 4], 0
cmp dword [esi], 0xffffffff
jne 0x5628c2
mov eax, dword [esi + 4]
test eax, eax
jne 0x5628c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
je 0x5628c2
mov dword [esi], 0
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0xc]
push 1
push 0
push 0
push edx
call fcn.0060c730
mov ecx, dword [esi]
push edi
add ecx, eax
mov dword [esi], ecx
mov ecx, dword [esi + 4]
adc ecx, edx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
Function at 0x563a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1c]
mov edx, dword [esi + 0xdc]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x4c]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push 0x6d1064
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x10
call edi
test eax, eax
jne 0x563c52
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
push eax
push str._dkf
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push edx
mov edx, dword [esi + 0xdc]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call edi
cmp eax, ebx
jne 0x563b5d
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
jne 0x563bda
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
fild qword [ebp - 0x24]
fmul qword [0x663820]
fcom qword [esi + 0xb8]
fnstsw ax
test ah, 1
je 0x563b5b
fld qword [esi + 0xb8]
fsub st(1)
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
fstp st(0)
mov eax, dword [ebp - 0x48]
cmp eax, 0xffffffff
je 0x563c52
push eax
lea ecx, [ebp - 0x3c]
push 0x6c9150
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
push edx
mov edx, dword [esi + 0xdc]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call edi
test eax, eax
jne 0x563c52
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jbe 0x563ae5
cmp eax, 0xffffffff
je 0x563ae5
sub eax, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x34]
fmul qword [0x663820]
fsubr qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x563ae5
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jbe 0x563c03
sub eax, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x2c]
fmul qword [0x663820]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x563b5d
jae 0x563b5d
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x14], edx
push eax
mov eax, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.error_in_chlist__id_d__next_d__starttime_ld__ts_ld_n
push edx
mov byte [ebp - 4], 1
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push eax
call fcn.0055c480
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
jmp 0x563b5d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5652e0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [ecx + 0xdc]
sub esp, 0x84
test eax, eax
push esi
lea esi, [ecx + 0xdc]
je 0x565373
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x565316
push eax
lea eax, [esp + 0xc]
push str.SoftwareDownloadManager_ldChList
push eax
call fcn.0060a593
add esp, 0xc
jmp 0x565330
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
push edx
push eax
lea ecx, [esp + 0x10]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ldChList
push ecx
call fcn.0060a593
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x56533d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 8]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push esi
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop esi
add esp, 0x84
ret
Function at 0x566090
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x5660be
push str.GetDiskFreeSpaceExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5660c2
mov ecx, 1
jmp 0x5660c4
mov eax, dword [esp + 0x30]
xor ecx, ecx
or esi, 0xffffffff
or edi, 0xffffffff
test ecx, ecx
je 0x5660f2
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
push edx
call eax
test eax, eax
je 0x56613a
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x56613a
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x56613a
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push 0
push edx
push 0
push eax
call fcn.0060c730
mov ecx, dword [esp + 0x14]
push 0
push ecx
push edx
push eax
call fcn.0060c730
mov esi, eax
mov edi, edx
cmp edi, dword [esp + 0x2c]
jg 0x566169
jl 0x566148
cmp esi, dword [esp + 0x28]
ja 0x566169
and esi, edi
cmp esi, 0xffffffff
je 0x566169
push str.Not_enough_disk_space_to_rebuild_downloaded_chunks._n
mov ecx, ebx
call fcn.0055c480
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret 0xc
Function at 0x566c30
Capabilities:
Get file size
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64fb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00566ad0
mov eax, dword [0x6f7b78]
mov dword [esp + 0xc], eax
xor edi, edi
push str.Trace_list_2._r_n
mov ecx, ebp
mov dword [esp + 0x48], edi
call fcn.0055c480
mov esi, dword [ebp + 0x88]
mov dword [esp + 0x1c], edi
cmp esi, edi
mov dword [esp + 0x20], edi
je 0x566df9
push ebx
mov ecx, dword [esi + 0x10]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x566d34
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp + 0x100]
cmp eax, 0xffffffff
jne 0x566d01
mov eax, dword [ebp + 0x104]
test eax, eax
jne 0x566d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x566d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.Error_during_GetFileSize____errcode___d._n
push eax
call fcn.0061fae1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, ebp
call fcn.0055c480
xor edi, edi
jmp 0x566d29
mov edx, dword [esp + 0x14]
push 1
push 0
push 0
push edx
call fcn.0060c730
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x24]
adc ebx, edx
add ecx, edi
adc eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x60]
push edx
push 0x6c9150
push eax
call fcn.0060a593
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
lea eax, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0xdc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x566d94
mov eax, dword [eax + 0x60]
jmp 0x566d97
or eax, 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x566da5
mov ecx, dword [ecx + 0x88]
jmp 0x566da8
or ecx, 0xffffffff
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x44]
push ebx
push edi
mov edi, dword [esi + 0x14]
push edx
mov edx, dword [esp + 0x4c]
push edx
xor edx, edx
test edi, edi
setne dl
push edx
push eax
mov eax, dword [esi + 0x60]
push ecx
push eax
lea ecx, [esp + 0x38]
push str.Item_id_d__conn_d__next_d__compl_d__start_I64d__fsize_I64d__total_I64d_r_n
push ecx
call fcn.0061fae1
mov edx, dword [esp + 0x40]
add esp, 0x30
mov ecx, ebp
push edx
call fcn.0055c480
mov esi, dword [esi + 0x58]
test esi, esi
jne 0x566c84
pop ebx
push str.End_trace_list._r_n
mov ecx, ebp
call fcn.0055c480
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x5672f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x56736c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0x60]
lea eax, [ebp + 8]
push edx
push str.sk_d
push eax
mov byte [ebp - 4], 1
call fcn.0061fae1
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x68]
add esp, 0xc
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00622d8a
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 0x567400
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 0x68]
sub esp, 8
test eax, eax
je 0x567445
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0
push str.mmsIndex
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x567445
mov eax, dword [esp]
test eax, eax
setne al
add esp, 8
ret
xor al, al
add esp, 8
ret

Function at 0x567450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fc18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5674f5
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x60]
lea edx, [ebp - 0x14]
push ecx
push str.sk_d
push edx
mov byte [ebp - 4], 1
call fcn.0061fae1
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x68]
push ecx
push ebx
push ebx
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x5674ea
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
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
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
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
Function at 0x567880
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fc60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x68]
test eax, eax
je 0x567964
mov eax, dword [esi + 0x60]
lea ecx, [ebp - 0x2c]
push eax
push 0x6c9150
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push edx
mov edx, dword [esi + 0x68]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x567930
push eax
lea eax, [ebp - 0x170]
push str.Error_reading_registry__errCode___d._n
push eax
call fcn.0060a593
add esp, 0xc
lea ecx, [ebp - 0x170]
push ecx
mov ecx, esi
call fcn.00567220
mov eax, dword [esi + 0x58]
test eax, eax
je 0x567924
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x20], edx
jmp 0x56792a
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0x24], ecx
mov edx, dword [esi + 0x24]
push 1
push 0
push 0
push edx
call fcn.0060c730
mov ecx, dword [esi + 0x1c]
xor edi, edi
add eax, ecx
mov ecx, dword [esi + 0x68]
adc edx, edi
push 0x10
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5693f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x64fdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f7b78]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x184]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x14c]
mov edx, dword [eax + 0x148]
push ecx
push edx
lea eax, [esp + 0x18]
push str.___s__s
push eax
call fcn.0061fae1
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
mov ebx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [edx], 1
mov ebp, ecx
mov ecx, dword [esi + 0x184]
push str.sending_socks5_auth
mov edi, dword [ecx + 0x148]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
mov byte [ebx + 1], dl
mov eax, dword [esi + 0x184]
and edx, 0xff
mov edi, dword [eax + 0x14c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
mov byte [edx + ebx + 2], cl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ebp
push ecx
push edx
call fcn.00601130
push eax
mov ecx, esi
call fcn.00567b10
push str.socks5:_sending_auth_n
mov ecx, esi
mov edi, eax
call fcn.00567a50
cmp edi, 0x2733
mov dword [esi + 0x30], 0
jne 0x5694d2
xor edi, edi
jmp 0x5694d6
test edi, edi
jne 0x5694e0
mov dword [esi + 0x8c], 0x1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4