joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5657dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5657f8
call fcn.00566f20
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x565814
test bl, 1
je 0x565814
call fcn.005701bc
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x5659f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00566abc
test byte [ebp + 0xd], 0xc0
jne 0x565a1c
mov eax, dword [0x6da238]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x565a29
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x565a56
je 0x565a68
sub ecx, 0x100
je 0x565a76
sub ecx, 0x100
je 0x565a7d
sub ecx, 0x100
je 0x565a6f
jmp 0x565a84
sub ecx, 0x600
je 0x565a7d
sub ecx, 0x100
je 0x565a68
jmp 0x565a84
mov edi, 1
jmp 0x565a89
mov edi, 2
jmp 0x565a89
mov edi, 4
jmp 0x565a89
mov edi, 5
jmp 0x565a89
mov edi, 3
test byte [ebp + 0xd], 1
je 0x565ab0
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x6d9cb0]
test al, 0x80
je 0x565aa9
mov ebx, 0x80
jmp 0x565ac2
mov ebx, 1
jmp 0x565ac2
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x565ac2
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x565ad4
je 0x565add
dec eax
je 0x565ae6
jmp 0x565aef
mov dword [ebp - 4], 0x80000000
jmp 0x565afe
mov dword [ebp - 4], 0x40000000
jmp 0x565afe
mov dword [ebp - 4], 0xc0000000
jmp 0x565afe
push 1
call fcn.00566eb4
pop ecx
mov ebx, eax
jmp 0x565bee
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x565b1a
sub eax, 0x10
je 0x565b21
sub eax, 0x10
je 0x565b2a
sub eax, 0x10
je 0x565b33
jmp 0x565b33
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x565b3a
mov dword [ebp - 8], 1
jmp 0x565b3a
mov dword [ebp - 8], 2
jmp 0x565b3a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x565ba7
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x565b9c
test byte [ebp + 0xd], 1
je 0x565b97
mov ebx, 0x50
jmp 0x565b9c
mov ebx, 2
push ebx
call fcn.00566eb4
pop ecx
mov ebx, eax
jmp 0x565bee
mov edi, esi
push edi
call fcn.0056595c
pop ecx
test eax, eax
je 0x565bbb
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x565bc7
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00566bdc
add esp, 8
mov ebx, eax
inc eax
jne 0x565bee
push 4
call fcn.00566eb4
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00566af0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56685c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
call fcn.005606a8
pop ecx
mov ebx, eax
test eax, eax
jne 0x566880
xor eax, eax
jmp 0x566929
lea edx, [ebp - 4]
push edx
push ebx
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
mov esi, eax
test esi, esi
je 0x5668a1
cmp esi, 0x104
jb 0x5668ac
push ebx
call fcn.005606b8
pop ecx
xor eax, eax
jmp 0x566929
cmp byte [ebx + 1], 0x3a
jne 0x5668dc
mov dl, byte [ebx]
lea ecx, [ebp - 8]
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0
push ecx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jae 0x5668dc
push ebx
call fcn.005606b8
pop ecx
xor eax, eax
jmp 0x566929
inc esi
test edi, edi
je 0x56691f
cmp esi, dword [ebp + 0x10]
jbe 0x5668f1
push ebx
call fcn.005606b8
pop ecx
xor eax, eax
jmp 0x566929
push edi
mov esi, edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.005606b8
pop ecx
mov eax, edi
jmp 0x566929
push esi
push ebx
call fcn.005606c8
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x566978
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x5669be
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
je 0x5669ac
cmp eax, dword [ebp + 0x10]
jle 0x566a47
call fcn.005701bc
mov dword [eax], 8
xor eax, eax
jmp 0x566ab4
cmp dword [0x72a36c], 1
jne 0x566a03
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x566a47
xor eax, eax
jmp 0x566ab4
call sub.KERNEL32.DLL_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x566a43
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
jmp 0x566a47
xor eax, eax
jmp 0x566ab4
lea edx, [ebp - 0x10c]
push edx
call fcn.005643bc
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x566a68
call fcn.005701bc
mov dword [eax], 0x22
xor eax, eax
jmp 0x566ab4
test edi, edi
jne 0x566a8b
mov edx, dword [ebp + 0x10]
push edx
call fcn.005606a8
pop ecx
mov edi, eax
test eax, eax
jne 0x566a8b
call fcn.005701bc
mov dword [eax], 8
xor eax, eax
jmp 0x566ab4
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56b574
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.005642b0
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.005643bc
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.005643bc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x6dafdd
lea ecx, [ebp - 0x200]
push ecx
call fcn.005642b0
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.005643bc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0056ce0c
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x56b685
push esi
call fcn.005643bc
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.005643bc
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005606a8
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x56b65c
xor eax, eax
jmp 0x56b70c
push esi
call fcn.005643bc
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.005643bc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0056420c
add esp, 0xc
jmp 0x56b6c5
mov edi, dword [ebx + 0x24]
push edi
call fcn.005643bc
pop ecx
push eax
push esi
call fcn.005643bc
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005643bc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005606c8
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x56b6c5
xor eax, eax
jmp 0x56b70c
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005642b0
add esp, 8
push 0x6dafdf
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005642b0
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.005642b0
add esp, 8
push 0x6dafe1
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005642b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x570154
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x5701b6
call fcn.00570104
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.005643bc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.005643bc
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x570234
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x6db75c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x57030e
cmp dword [0x6db758], 0
jne 0x57030e
cmp dword [0x6dba48], 0
je 0x5702c8
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0056fc14
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5702ae
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0056fc14
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5702ae
lea ebx, [ebp - 0x84]
jmp 0x5702af
inc ebx
call fcn.005701f0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x570349
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x6db760
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005643bc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x6db763
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x570349
cmp dword [0x6db758], 0
je 0x570328
cmp dword [0x6db758], 0xffffffff
je 0x570349
push esi
call dword [0x6db758]
pop ecx
mov eax, dword [0x6db75c]
test eax, eax
je 0x570349
cmp dword [0x6db75c], 0xffffffff
je 0x570349
cmp byte [eax], 0
je 0x570349
push esi
push eax
call fcn.00570154
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5720d8
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
and eax, 1
mov dword [0x6dba48], eax
call fcn.0056d5b4
mov edx, dword [esi + 0x20]
push edx
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0056dbc0
add esp, 8
mov eax, dword [esi + 0x28]
push eax
call fcn.00566264
pop ecx
mov edx, dword [esi + 0x44]
push edx
call fcn.00566274
pop ecx
mov dword [0x72a3dc], 1
mov dword [0x72a3e0], esi
lea ecx, [ebp - 8]
mov dword [0x72a3c4], ecx
call fcn.0056575c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x72a3b4], eax
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x72a3b0], eax
mov eax, dword [esi + 0x30]
push eax
mov edx, dword [esi + 0x2c]
push edx
call fcn.005708c4
add esp, 8
mov ecx, dword [esi + 0x40]
push ecx
mov eax, dword [esi + 0x3c]
push eax
mov edx, dword [esi + 0x38]
push edx
mov ecx, dword [esi + 0x34]
push ecx
call fcn.00570908
add esp, 0x10
call fcn.00571f5c
mov edi, eax
test eax, eax
je 0x5721b7
mov edx, dword [edi]
mov dword [edi + edx*4 + 4], 0xffffffff
push 0
push edi
call fcn.00571f64
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea ebx, [edi + 4]
jmp 0x5721b0
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push edx
push 0
call dword [eax + 0x18]
add esp, 8
inc dword [ebp - 0xc]
add ebx, 4
mov ecx, dword [edi]
cmp ecx, dword [ebp - 0xc]
jg 0x57219c
push 0
push 0x72a3dc
call fcn.00571f64
add esp, 8
test byte [esi + 0x10], 1
je 0x572233
mov ebx, dword [0x72a3b0]
jmp 0x5721d5
inc ebx
mov al, byte [ebx]
cmp al, 0x20
je 0x5721d4
cmp al, 9
je 0x5721d4
cmp byte [ebx], 0x22
jne 0x5721e9
mov dl, 0x22
inc ebx
jmp 0x5721ee
mov dl, 0x20
jmp 0x5721ee
inc ebx
mov al, byte [ebx]
test al, al
je 0x5721fc
cmp dl, al
je 0x5721fc
cmp al, 9
jne 0x5721ed
cmp byte [ebx], 0x22
jne 0x572205
inc ebx
jmp 0x572205
inc ebx
mov al, byte [ebx]
test al, al
je 0x57220f
cmp al, 0x20
je 0x572204
cmp al, 9
je 0x572204
call fcn.0057225c
push eax
push ebx
push 0
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push eax
call dword [esi + 0x18]
add esp, 0x10
push eax
call fcn.00570798
pop ecx
jmp 0x572254
mov edx, dword [0x72a3ac]
push edx
mov ecx, dword [0x72a3a8]
push ecx
mov eax, dword [0x72a3a4]
push eax
call dword [esi + 0x18]
add esp, 0xc
push eax
call fcn.00570798
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x572684
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x5726aa
test esi, esi
je 0x5726aa
call fcn.005701bc
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x57271c
call fcn.00572398
mov ebx, eax
test eax, eax
jne 0x5726c5
call fcn.005701bc
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x57271c
mov edx, dword [ebp + 0x10]
mov dword [ebx + 4], edx
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x54], eax
push edx
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
push 0x5725e0
push esi
mov eax, dword [ebp + 0x14]
push eax
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x572710
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x572709
push 0x59
call fcn.00566eb4
pop ecx
jmp 0x57271c
call fcn.00566f20
jmp 0x57271c
mov dword [ebx + 8], eax
test edi, edi
je 0x57271c
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x576d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, 0x56498f
mov dword [ecx + 8], 0x6dd274
mov dword [ecx + 0xc], esp
mov dword [ecx + 4], eax
mov word [ecx + 0x10], 0
xor eax, eax
mov dword [ecx + 0x1c], eax
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
mov word [ecx + 0x10], 8
mov ebx, dword [edx]
mov eax, 0x6ace7c
mov dword [ebx], eax
mov eax, 0x6ace94
mov ebx, dword [edx]
mov dword [ebx], eax
mov eax, 0x6dd7cc
inc dword [ecx + 0x1c]
mov ebx, dword [edx]
mov dword [ebx], eax
xor ebx, ebx
mov eax, dword [edx]
add eax, 4
mov dword [eax], ebx
xor ebx, ebx
mov dword [eax + 4], ebx
xor ebx, ebx
mov dword [eax + 0xc], ebx
xor ebx, ebx
mov dword [eax + 0x10], ebx
xor ebx, ebx
mov byte [eax + 0x18], 0
mov dword [eax + 0x14], ebx
xor ebx, ebx
inc dword [ecx + 0x1c]
inc dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [eax + 0x24], ebx
xor ebx, ebx
mov eax, dword [edx]
mov dword [eax + 0x20], ebx
xor ebx, ebx
mov eax, dword [edx]
mov dword [eax + 0x30], ebx
xor ebx, ebx
mov eax, dword [edx]
mov byte [eax + 0x34], 0
mov eax, dword [edx]
mov dword [eax + 0x38], ebx
xor ebx, ebx
mov eax, dword [edx]
mov dword [eax + 0x3c], ebx
xor ebx, ebx
mov eax, dword [edx]
mov dword [eax + 0x2c], ebx
mov eax, dword [edx]
mov dword [eax + 0x28], ebx
mov ecx, dword [ecx]
mov dword fs:[0], ecx
mov eax, dword [edx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dbe18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, 0x6ea4e4
mov edi, eax
xor ecx, ecx
mov eax, edi
cmp edx, ecx
jle 0x5dbe4f
mov bl, byte [eax]
xor byte [0x7b0a80], bl
mov bl, byte [0x7b0a80]
mov ebp, dword [esi]
xor byte [ebp + 0x7af880], bl
inc dword [esi]
and dword [esi], 0xfff
inc ecx
inc eax
cmp edx, ecx
jg 0x5dbe2b
xor eax, eax
mov al, byte [edi]
and eax, 1
add dword [esi], eax
and dword [esi], 0xfff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5dc820
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x5dcbb4
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
ret

Function at 0x5dcbc0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
dec eax
jg 0x5dcbc3
pop ebx
ret
Function at 0x5eb404
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor edx, edx
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x24], 0x6eacf4
mov dword [ebp - 0x20], esp
mov eax, 0x56498f
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov edx, dword [0x71d060]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x24]
push eax
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x5eb465
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x5eb62d
mov byte [ebp - 0x2d], 0
mov word [ebp - 0x1c], 8
mov ecx, dword [0x6eac6c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x6eac70]
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x1c], 8
push 2
lea eax, [ebp - 0x38]
push eax
call sub.USER32.DLL_GetPriorityClipboardFormat
cmp eax, 0xd
jne 0x5eb548
push 0xd
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x5eb5f7
mov edx, dword [ebp - 0x3c]
push edx
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
test esi, esi
je 0x5eb5f7
mov word [ebp - 0x1c], 0x14
mov word [ebp - 0x1c], 0x20
mov edi, esi
mov eax, edi
call fcn.00408c54
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
mov esi, edx
mov eax, dword [esi]
test eax, eax
je 0x5eb4ea
inc dword [eax]
mov eax, dword [ebx]
test eax, eax
je 0x5eb4f5
call fcn.00408920
mov edx, dword [esi]
mov dword [ebx], edx
dec dword [ebp - 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x5eb508
call fcn.00408920
mov word [ebp - 0x1c], 0x14
mov byte [ebp - 0x2d], 1
mov word [ebp - 0x1c], 8
jmp 0x5eb53a
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
jmp 0x5eb5f7
dec eax
jne 0x5eb5f7
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x5eb5f7
mov eax, dword [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
test esi, esi
je 0x5eb5f7
mov word [ebp - 0x1c], 0x38
mov word [ebp - 0x1c], 0x44
mov edi, esi
mov eax, edi
call fcn.00408d58
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
inc dword [ebp - 0x10]
mov esi, edx
mov eax, dword [esi]
test eax, eax
je 0x5eb59e
inc dword [eax]
mov eax, dword [ebx]
test eax, eax
je 0x5eb5a9
call fcn.00408920
mov edx, dword [esi]
mov dword [ebx], edx
dec dword [ebp - 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x5eb5bc
call fcn.00408920
mov word [ebp - 0x1c], 0x38
mov byte [ebp - 0x2d], 1
mov word [ebp - 0x1c], 8
jmp 0x5eb5ee
mov ecx, dword [ebp - 0x40]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
mov word [ebp - 0x1c], 0
jmp 0x5eb61b
call sub.USER32.DLL_CloseClipboard
mov al, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f0eec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov dword [ebp - 4], eax
mov ebx, 0x56498f
mov dword [ebp - 0x20], 0x6ebecc
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x18], 0
xor ebx, ebx
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword fs:[0]
mov dword [ebp - 0x28], ebx
lea ebx, [ebp - 0x28]
mov dword fs:[0], ebx
mov word [ebp - 0x18], 8
mov esi, dword [eax]
mov ebx, 0x6d6c5c
mov dword [esi], ebx
mov ebx, 0x6ec054
inc dword [ebp - 0xc]
mov esi, dword [eax]
mov dword [esi], ebx
mov ebx, dword [eax]
mov dword [ebx + 8], ecx
mov ecx, dword [eax]
mov ebx, dword [ebp + 0x14]
mov dword [ecx + 0xc], ebx
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ecx + 0x40], ebx
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ecx + 0x1c], ebx
mov ecx, dword [eax]
mov ebx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax]
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov ebx, dword [eax]
mov ecx, dword [eax]
mov ebx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x10]
mov dword [ecx + 0x30], esi
mov esi, dword [ebx + 0x14]
mov dword [ecx + 0x34], esi
mov ecx, dword [eax]
mov byte [ecx + 0x44], 0
mov ecx, dword [eax]
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov ecx, dword [eax]
mov dword [ecx + 0x24], 0xffffffff
mov ebx, dword [eax]
mov ecx, edx
mov dword [ebx + 4], ecx
inc dword [ecx + 4]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, dword [eax]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x6027fc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
push ebx
push esi
mov dword [ebp - 0x24], 0x6f0d8c
mov esi, eax
mov eax, 0x56498f
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
cmp dword [0x6a7c70], 0
jne 0x6028b2
mov word [ebp - 0x1c], 8
cmp dword [esi], 0
je 0x602864
mov eax, dword [esi]
test eax, eax
jne 0x602854
xor edx, edx
jmp 0x60286a
cmp dword [eax + 4], 0
je 0x60285f
mov edx, dword [eax + 4]
jmp 0x60286a
lea edx, [eax + 8]
jmp 0x60286a
mov edx, dword [0x6a9384]
lea eax, [ebp - 8]
call fcn.0043ac80
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
mov edx, 2
setne al
and eax, 1
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x10]
call fcn.0043ad64
pop eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x6028ef
cmp dword [esi], 0
je 0x6028d1
mov ebx, dword [esi]
test ebx, ebx
jne 0x6028c1
xor ecx, ecx
jmp 0x6028d7
cmp dword [ebx + 4], 0
je 0x6028cc
mov ecx, dword [ebx + 4]
jmp 0x6028d7
lea ecx, [ebx + 8]
jmp 0x6028d7
mov ecx, dword [0x6a9384]
push ecx
call sub.KERNEL32.DLL_DeleteFileW
test eax, eax
setne al
and eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6028f8
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
push ebx
push esi
mov dword [ebp - 0x24], 0x6f0dcc
mov esi, eax
mov eax, 0x56498f
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
cmp dword [0x6a7c74], 0
jne 0x6029ae
mov word [ebp - 0x1c], 8
cmp dword [esi], 0
je 0x602960
mov eax, dword [esi]
test eax, eax
jne 0x602950
xor edx, edx
jmp 0x602966
cmp dword [eax + 4], 0
je 0x60295b
mov edx, dword [eax + 4]
jmp 0x602966
lea edx, [eax + 8]
jmp 0x602966
mov edx, dword [0x6a9384]
lea eax, [ebp - 8]
call fcn.0043ac80
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
mov edx, 2
setne al
and eax, 1
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x10]
call fcn.0043ad64
pop eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x6029eb
cmp dword [esi], 0
je 0x6029cd
mov ebx, dword [esi]
test ebx, ebx
jne 0x6029bd
xor ecx, ecx
jmp 0x6029d3
cmp dword [ebx + 4], 0
je 0x6029c8
mov ecx, dword [ebx + 4]
jmp 0x6029d3
lea ecx, [ebx + 8]
jmp 0x6029d3
mov ecx, dword [0x6a9384]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryW
test eax, eax
setne al
and eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret