joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569180
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movzx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x569193
jmp dword [ecx*4 + 0x56921c]
mov al, 0x41
ret 4
mov al, 0x42
ret 4
mov al, 0x43
ret 4
mov al, 0x44
ret 4
mov al, 0x45
ret 4
mov al, 0x46
ret 4
mov al, 0x47
ret 4
mov al, 0x48
ret 4
mov al, 0x49
ret 4
mov al, 0x4a
ret 4
mov al, 0x4b
ret 4
mov al, 0x4c
ret 4
mov al, 0x4d
ret 4
mov al, 0x4e
ret 4
mov al, 0x4f
ret 4
mov al, 0x50
ret 4
mov al, 0x51
ret 4
mov al, 0x52
ret 4
mov al, 0x53
ret 4
mov al, 0x54
ret 4
mov al, 0x55
ret 4
mov al, 0x56
ret 4
mov al, 0x57
ret 4
mov al, 0x58
ret 4
mov al, 0x59
ret 4
mov al, 0x5a
ret 4

Function at 0x5698f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6671d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.00621c2e
add esp, 0x20
cmp eax, 6
jne 0x5699c0
lea ecx, [esp + 0x30]
call fcn.00402510
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push str._04d_02d_02d__02d:_02d:_02d_GMT
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x50]
add esp, 0x20
push edx
mov ecx, esi
call fcn.005694d0
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402580
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x5699e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x56a780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660bd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [edi + 4]
cmp word [eax], bx
je 0x56a836
cmp byte [edi + 0x418], bl
je 0x56a836
xor esi, esi
cmp dword [edi + 0x41c], 0xffffffff
jne 0x56a7f8
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x56a836
mov dword [ebp - 0x14], ebx
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56a800
sub eax, edx
test esi, esi
mov ecx, esi
jne 0x56a815
mov ecx, dword [edi + 0x41c]
push 0
lea edx, [ebp - 0x18]
push edx
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x56a82f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 4

Function at 0x56a883
Capabilities:
Delete file
Get file size

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x41c], 0xffffffff
jne 0x56a8ae
push 0
push 0
push 4
push 0
push 7
push 0xc0000000
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x41c], eax
mov eax, dword [esi + 0x41c]
cmp eax, 0xffffffff
je 0x56a997
push ebx
push ebp
push edi
lea ecx, [esp + 0x18]
push ecx
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
jne 0x56a8e5
test ebx, ebx
jne 0x56a8e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x56a908
mov edx, dword [esp + 0x18]
push 1
push 0
push 0
push edx
call fcn.00624b80
add eax, edi
adc edx, ebx
mov dword [esp + 0x14], edx
js 0x56a90d
jg 0x56a908
cmp eax, 0x4c4b40
jbe 0x56a90d
mov ebp, 1
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x56a97e
mov eax, dword [esi + 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 4
push 0
push 7
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x41c], eax
cmp eax, 0xffffffff
je 0x56a994
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push str.Log_h_b_cleared_n
mov ecx, esi
call fcn.0056a780
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
mov ecx, dword [esi + 0x41c]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x56a9a0
Capabilities:
Delete file
Get file size

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp dword [esi + 0x41c], 0xffffffff
je 0x56aab0
lea eax, [esp + 0x10]
push eax
call fcn.00623d61
mov eax, dword [esi + 0x420]
add esp, 4
test eax, eax
jne 0x56a9d9
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x420], ecx
pop esi
add esp, 0x18
ret
lea edx, [eax + 5]
mov eax, dword [esp + 0x10]
cmp edx, eax
jge 0x56aab0
mov ecx, dword [esi + 0x41c]
push ebx
push ebp
push edi
mov dword [esi + 0x420], eax
lea eax, [esp + 0x10]
push eax
push ecx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
jne 0x56aa1c
test ebx, ebx
jne 0x56aa1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x56aa3f
mov edx, dword [esp + 0x10]
push 1
push 0
push 0
push edx
call fcn.00624b80
add eax, edi
adc edx, ebx
mov dword [esp + 0x18], edx
js 0x56aa44
jg 0x56aa3f
cmp eax, 0x4c4b40
jbe 0x56aa44
mov ebp, 1
mov dword [esp + 0x14], ebx
test ebp, ebp
je 0x56aaad
mov eax, dword [esi + 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 4
push 0
push 7
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x41c], eax
cmp eax, 0xffffffff
je 0x56aaad
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push str.Log_h_b_cleared_n
mov ecx, esi
call fcn.0056a780
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x18
ret

Function at 0x56aaf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x54
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov esi, ecx
cmp dword [esi + 0x41c], 0xffffffff
je 0x56ab5b
lea eax, [esp + 4]
push eax
call fcn.00623d61
movzx ecx, word [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
lea eax, [esp + 0x20]
push str.Time:__ld._ld_n
push eax
call fcn.0062311b
lea eax, [esp + 0x28]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56ab38
push 0
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esi + 0x41c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x54]
pop esi
xor ecx, esp
call fcn.0062023e
add esp, 0x54
ret
Function at 0x56ac60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660c30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 ebx, ebx
mov dword [ebp - 4], ebx
xor esi, esi
cmp dword [edi + 0x41c], 0xffffffff
jne 0x56acd3
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x56acff
mov dword [ebp - 0x14], ebx
push 2
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, ebx
je 0x56acd3
mov edi, esi
jmp 0x56acd9
mov edi, dword [edi + 0x41c]
push ebx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, ebx
je 0x56acf8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 8
Function at 0x56b090
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebp
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push ebp
sub eax, 4
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
sbb ecx, ebp
push eax
mov dword [esp + 0x2c], ecx
call ebx
cmp eax, 0xffffffff
jne 0x56b0f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
jne 0x56b251
mov eax, dword [edi + 0x14]
push ebp
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56b286
cmp dword [esp + 0x10], 4
jne 0x56b286
lea ecx, [esp + 0x24]
push ecx
call fcn.005aa450
add esp, 4
cmp eax, ebp
jbe 0x56b286
xor edx, edx
mov ecx, 0xfffffffc
sub ecx, eax
mov eax, 0xffffffff
sbb eax, edx
add dword [esi], ecx
mov ecx, dword [esi]
adc dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, ebp
jl 0x56b286
jg 0x56b163
cmp ecx, ebp
jbe 0x56b286
push ebp
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
push ecx
push eax
mov dword [esp + 0x28], ecx
call ebx
cmp eax, 0xffffffff
jne 0x56b18d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
jne 0x56b251
mov eax, dword [edi + 0x14]
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x56b1b7
cmp dword [esp + 0x10], 0xc
jne 0x56b286
cmp byte [esp + 0x38], 0
je 0x56b1c5
cmp byte [esp + 0x24], 8
jmp 0x56b1da
cmp byte [esp + 0x24], 9
jne 0x56b0c0
mov cl, byte [esp + 0x2f]
and cl, 0xf0
cmp cl, 0x10
jne 0x56b0c0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jl 0x56b0c0
lea edx, [esp + 0x28]
push edx
call fcn.0056b060
movsx ecx, byte [esp + 0x2f]
mov edx, dword [esp + 0x24]
add esp, 4
shl ecx, 0x18
or ecx, eax
push 2
lea eax, [esp + 0x18]
push eax
mov dword [edx], ecx
mov ecx, dword [edi + 0x14]
push ebp
push ecx
mov dword [esp + 0x24], ebp
call ebx
cmp eax, 0xffffffff
jne 0x56b26f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebp
je 0x56b26f
mov ecx, edi
call fcn.0056af30
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0062023e
add esp, 0x24
ret 0x10
mov ecx, edi
call fcn.0056af30
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0062023e
add esp, 0x24
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0062023e
add esp, 0x24
ret 0x10
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.0062023e
add esp, 0x24
ret 0x10
Function at 0x56b2a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push 0
lea ecx, [esp + 0x1c]
push ecx
mov byte [eax], 0
mov edx, dword [esi + 0x14]
push edi
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
call ebp
cmp eax, 0xffffffff
jne 0x56b2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
test eax, eax
je 0x56b2fc
mov ecx, esi
call fcn.0056af30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56b334
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], ecx
jne 0x56b334
mov edx, dword [esp + 0x34]
mov byte [edx], 1
mov eax, dword [esp + 0x28]
xor ecx, ecx
add eax, edi
push 0
adc ecx, ebx
add eax, 4
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
adc ecx, 0
push eax
mov dword [esp + 0x28], ecx
call ebp
cmp eax, 0xffffffff
jne 0x56b37e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x56b37e
mov ecx, esi
call fcn.0056af30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x18
Function at 0x56b600
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 0x14]
cmp eax, 0xffffffff
jne 0x56b60f
xor eax, eax
pop ecx
ret 4
push esi
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], 0
cmp eax, 0xffffffff
jne 0x56b64e
cmp dword [esi + 4], 0
jne 0x56b64e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x56b64e
mov dword [esi], eax
mov dword [esi + 4], 0
xor eax, eax
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.00624b80
add dword [esi], eax
mov eax, 1
adc dword [esi + 4], edx
pop esi
pop ecx
ret 4

Function at 0x56b680
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push edi
mov edi, ecx
call fcn.0056af30
mov eax, dword [esp + 0x18]
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
jne 0x56b6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x56b7c6
mov eax, 1
pop edi
add esp, 0x10
ret 0xc
push ebx
push esi
lea esi, [edi + 8]
push esi
mov ecx, edi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056b600
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x56b6fb
mov eax, dword [ebx]
cdq
cmp edx, dword [esi + 4]
jl 0x56b6fb
jg 0x56b6f7
cmp eax, dword [esi]
jbe 0x56b6fb
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [ebx]
mov ecx, dword [esi]
cdq
sub ecx, eax
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
sbb eax, edx
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
push ecx
push eax
mov dword [esp + 0x28], ecx
call ebp
cmp eax, 0xffffffff
jne 0x56b735
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x56b78e
mov eax, dword [ebx]
test eax, eax
je 0x56b7a1
mov edx, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [edi + 0x14]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56b7ad
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx]
jne 0x56b7ad
mov eax, dword [edi + 0x14]
push 2
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov dword [esp + 0x24], 0
call ebp
cmp eax, 0xffffffff
jne 0x56b7a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x56b7a1
mov ecx, edi
call fcn.0056af30
pop ebp
mov eax, esi
pop esi
pop ebx
pop edi
add esp, 0x10
ret 0xc
pop ebp
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0x10
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov esi, eax
call fcn.0056af30
test esi, esi
jne 0x56b795
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
pop edi
add esp, 0x10
ret 0xc
Function at 0x56b990
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, ecx
test edi, edi
je 0x56bad2
mov eax, dword [esi + 0x3c]
fld qword [esi + 0x28]
mov ecx, dword [esi + 0x40]
fstp qword [esp + 0x1c]
mov edx, dword [esi + 0x44]
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x3c]
push 0x6aeba0
push ecx
mov dword [esp + 0x3c], edx
call fcn.0062311b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
push 0x18
lea edx, [esp + 0x24]
push edx
push 0
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
cmp dword [ebp + 0x54], 0
je 0x56ba3b
mov ecx, dword [esi + 0x38]
push ecx
lea edx, [esp + 0x3c]
push str.fn_d
push edx
call fcn.0062311b
mov edx, dword [esi + 0x48]
mov eax, edx
add esp, 0xc
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56ba23
sub eax, ebp
inc eax
push eax
push edx
push 1
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, eax
or edx, ecx
je 0x56ba86
mov edx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x3c]
push str.fl_d
push eax
mov dword [esp + 0x20], ecx
call fcn.0062311b
add esp, 0xc
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x48]
push edx
push edi
call ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, eax
or edx, ecx
je 0x56bad1
mov edx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x3c]
push str.fse_d
push ecx
mov dword [esp + 0x20], edx
call fcn.0062311b
add esp, 0xc
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
pop ebx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0062023e
add esp, 0x3c
ret 8

Function at 0x56bc20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x56bc3b
mov edx, dword [esp + 8]
jmp 0x56bc30
cmp edx, dword [eax + 0x38]
je 0x56bc3e
mov eax, dword [eax]
test eax, eax
jne 0x56bc30
ret 8
mov dword [eax + 0x44], 1
mov dword [esp + 8], eax
jmp fcn.0056b990
Function at 0x56bc90
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x56bd49
push ebx
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x56bcb7
push ebx
push edi
mov ecx, esi
call fcn.0056b990
mov ebx, dword [ebx]
test ebx, ebx
jne 0x56bca8
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x56bcc0
sub eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push ecx
push 1
push 0
push str.f_templ
push edi
call ebx
mov eax, dword [esi + 0x10]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.f_tfc
push edi
mov dword [esp + 0x28], eax
call ebx
xor edx, edx
cmp byte [esi + 0xc], dl
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.f_uf
push edi
mov dword [esp + 0x28], edx
call ebx
push 8
lea ecx, [esi + 0x18]
push ecx
push 0
push 0
push str.f_td
push edi
call ebx
xor edx, edx
cmp dword [esi + 0x54], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.f_uu
push edi
mov dword [esp + 0x28], edx
call ebx
pop ebx
pop edi
pop esi
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x660cdb
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
lea ecx, [esi + 8]
mov dword [esi], vtable.CFragmentsList.0
call fcn.00402510
xor eax, eax
mov dword [esp + 0x14], eax
fldz
fstp qword [esi + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0xc], al
mov byte [esi + 0x20], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x56d130
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660f10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc8]
cmp dword [eax + 0x28], 2
je 0x56d1ed
mov ecx, dword [str.NOOP_r_n]
mov dword [ebp - 0x1c], ecx
mov dx, word [0x6aeda8]
mov word [ebp - 0x18], dx
mov al, byte [0x6aedaa]
mov byte [ebp - 0x16], al
push str.Sending_NOOP_n
mov ecx, esi
call fcn.00561d40
lea eax, [ebp - 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56d1a4
sub eax, edx
push str.send___NOOP
push 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [esi + 0x3204]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
test eax, eax
je 0x56d1df
mov ecx, dword [esi + 0x3214]
mov dword [ecx + 0x14c], eax
jmp 0x56d21b
mov ecx, esi
call fcn.0056cdb0
mov byte [esi + 0x322c], 1
xor eax, eax
jmp 0x56d21b
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

Function at 0x56d400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660f70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x3214]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
push ecx
push edx
mov ecx, dword [esi + 0xc8]
cmp dword [ebp + 0xc], ebx
je 0x56d458
call fcn.005d3550
jmp 0x56d45d
call fcn.005d14f0
mov eax, dword [esi + 0x3214]
mov ecx, dword [eax + 0xc8]
or ecx, dword [eax + 0xcc]
je 0x56d4b2
mov byte [ebp - 0x11], bl
mov dword [ebp + 8], 4
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push str.bIgnMTCh
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56d4a6
cmp dword [ebp + 0xc], ebx
je 0x56d4a6
mov byte [ebp - 0x11], 1
jmp 0x56d4b2
push ebx
mov ecx, dword [esi + 0x3214]
call fcn.00578610
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 8