joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x427b4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x18], 0
call dword [0x42c42c]
add esp, 4
mov edi, 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edi
call dword [0x42c3d8]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov byte [esp + 0x28], 2
call dword [0x42c3dc]
push 0x42edf8
push eax
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x30], 3
call fcn.004053f0
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push esi
mov byte [esp + 0x3c], 4
call fcn.00405380
add esp, 0x18
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edi
mov byte [esp + 0x24], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
mov edi, dword [0x42c538]
jne 0x40b4c9
mov ecx, dword [esp + 8]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0xc]
mov byte [esp + 0x24], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40b4e5
mov ecx, dword [esp + 0xc]
push ecx
call edi
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [0x42c4c4]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x24], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40b510
mov ecx, dword [esp + 0x10]
push ecx
call edi
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x413950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428b64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0xc], esi
call dword [0x42c40c]
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esi], 0x42fa1c
call dword [0x42cd24]
mov eax, dword [0x42c51c]
mov dword [esi + 0x1c], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [0x42c51c]
mov dword [esi + 0x20], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov dword [esi + 0x24], ebx
mov eax, dword [0x42c51c]
mov dword [esi + 0x2c], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
push 0x10
mov byte [esp + 0x1c], 4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00425c14
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 5
cmp eax, ebx
je 0x413a10
mov ecx, eax
call fcn.0040f900
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42ada9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x28]
push edi
mov esi, ecx
call dword [0x42c9f8]
movzx eax, al
add esp, 4
push eax
mov ecx, esi
call dword [0x42c9f4]
push edi
mov ecx, esi
call dword [0x42cd00]
mov eax, dword [esi + 0x10]
add eax, 0x28
push eax
lea ecx, [esp + 0x2c]
call dword [0x42c9f0]
xor edi, edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edi
call dword [0x42c9ec]
cmp eax, 2
jne 0x422fc9
lea ecx, [esp + 0x28]
call dword [0x42c9e8]
cmp eax, 0xb
jl 0x422fc9
mov edi, 1
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add ecx, edi
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [0x42cdbc]
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00422ed0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call dword [0x42c9e4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x2c03700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02c0378f
jae 0x2c0370e
xor ecx, ecx
call fcn.02c0378f
jae 0x2c0373d
xor eax, eax
call fcn.02c0378f
jae 0x2c0374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02c0378f
adc al, al
jae 0x2c0372f
jne 0x2c03779
stosb byte es:[edi], al
jmp 0x2c03711
call fcn.02c0379b
sub ecx, ebx
jne 0x2c03756
call fcn.02c03799
jmp 0x2c03775
lodsb al, byte [esi]
shr eax, 1
je 0x2c03783
adc ecx, ecx
jmp 0x2c03772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02c03799
cmp eax, 0x7d00
jae 0x2c03772
cmp ah, 5
jae 0x2c03773
cmp eax, 0x7f
ja 0x2c03774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2c03711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x98ef00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x80000]
push edi
jmp 0x98ef1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x98ef21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x98ef10
mov eax, 1
add ebx, ebx
jne 0x98ef33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x98ef44
jne 0x98ef63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x98ef63
dec eax
add ebx, ebx
jne 0x98ef50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x98ef28
add ebx, ebx
jne 0x98ef5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x98efb5
xor ecx, ecx
sub eax, 3
jb 0x98ef7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x98efea
sar eax, 1
mov ebp, eax
jmp 0x98ef86
add ebx, ebx
jne 0x98ef86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x98ef54
inc ecx
add ebx, ebx
jne 0x98ef94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x98ef54
add ebx, ebx
jne 0x98efa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x98ef96
jne 0x98efb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x98ef96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x98efd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x98efc6
jmp 0x98ef16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x98efd4
add edi, ecx
jmp 0x98ef16
pop esi
mov edi, esi
mov ecx, 0x28a5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x98eff2
cmp byte [edi], 0x13
jne 0x98eff2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x98eff7
lea edi, [esi + 0x58b000]
mov eax, dword [edi]
or eax, eax
je 0x98f06f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x590bd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x590ce8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x98f024
mov ecx, edi
jns 0x98f053
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x590cec]
or eax, eax
je 0x98f069
mov dword [ebx], eax
add ebx, 4
jmp 0x98f041
call dword [esi + 0x590cfc]
mov ebp, dword [esi + 0x590cf0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x98f0a3
sub esp, 0xffffff80
jmp 0x44b342
Function at 0x402603
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x402681
mov eax, dword [esi]
test eax, eax
je 0x402681
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402681
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], eax
cmp ecx, eax
jge 0x40263e
mov eax, ecx
mov dword [esp + 4], eax
lea ecx, [esi + 4]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402676
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x402681
mov edx, dword [esi + 0x14]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret 8
xor eax, eax
pop esi
add esp, 0x14
ret 8
Function at 0x30026c5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
je 0x30026ce8
mov eax, dword [ebp + 8]
test eax, 3
je 0x30026c9b
cmp byte [eax], 0
je 0x30026cdf
lea eax, [eax + 1]
test eax, 3
je 0x30026c9b
cmp byte [eax], 0
je 0x30026cdf
lea eax, [eax + 1]
test eax, 3
je 0x30026c9b
cmp byte [eax], 0
je 0x30026cdf
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x30026c9b
test cl, cl
lea eax, [eax - 4]
je 0x30026cdf
test ecx, 0xff00
lea eax, [eax + 1]
je 0x30026cdf
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x30026cdf
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x30026cdf
lea eax, [eax + 1]
jmp 0x30026c9b
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x30026cee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
je 0x30026d60
mov eax, dword [ebp + 8]
test eax, 3
je 0x30026d1f
cmp word [eax], 0
je 0x30026d18
lea eax, [eax + 2]
test eax, 3
je 0x30026d1f
jmp 0x30026d06
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30026d5a
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x30026d1f
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30026d5a
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30026d5a
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x30026d1f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x401c57
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0xa380c0]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x401ca0
push str.SetDefaultDllDirectories
push 0xa05570
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401ca0
push 0xc00
call eax
test eax, eax
jne 0x401d3c
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x401d3c
cmp eax, 0x104
ja 0x401d3c
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x401cd7
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
mov cl, byte [str.userenv]
push esi
mov esi, str.userenv
test cl, cl
je 0x401d3b
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov edx, edi
inc esi
movzx eax, cl
mov cl, byte [esi]
inc esi
mov word [edx], ax
lea edx, [edx + 2]
test cl, cl
jne 0x401cf8
push 0x2e
pop eax
push 0x64
mov word [edx], ax
pop eax
mov word [edx + 2], ax
xor eax, eax
push 8
push eax
mov word [edx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov word [edx + 4], bx
mov word [edx + 6], bx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov cl, byte [esi]
test cl, cl
jne 0x401cf5
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0098b297
leave
ret
Function at 0x4053f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
lea ebx, [esi + 0xc8]
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], edx
cmova eax, ecx
mov dword [esi + 0x7c], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x4054a8
mov edi, ebx
mov dword [ebp - 4], ecx
mov eax, ecx
cmp dword [edi + 8], edx
je 0x405484
push edi
call fcn.004053c5
mov eax, dword [ebp - 4]
xor edx, edx
add edi, 0x28
sub eax, 1
mov dword [ebp - 4], eax
jne 0x405474
cmp dword [esi + 0x5c], 0
je 0x4054a3
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
and dword [esi + 0x5c], 0
mov eax, dword [esi]
mov dword [esi + 0x20], eax
push dword [esi + 0x10]
lea eax, [esi + 0x98]
push eax
call fcn.0040639a
mov ecx, dword [esi + 0x58]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
lea eax, [ecx + 5]
imul edx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add edx, esi
push edx
mov dword [ebp - 4], edx
call fcn.0040539f
mov edi, eax
test edi, edi
jne 0x405529
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.0040652c
mov edi, eax
test edi, edi
jne 0x405529
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call fcn.0040652c
mov edi, eax
test edi, edi
jne 0x405529
push dword [ebp - 4]
call fcn.00406311
mov edi, eax
test edi, edi
je 0x405529
and dword [esi + 0x44], 0
push 0x20
pop esi
push ebx
call fcn.00405321
add ebx, 0x28
sub esi, 1
jne 0x405518
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x40553d
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x405551
cmp dword [esi + 0x40], edx
jne 0x405551
cmp dword [esi + 0x3c], edx
jne 0x405551
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
leave
ret 4

Function at 0x406639
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.009e39fb
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x406665
call fcn.0040654b
mov esi, eax
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x408108
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0xa0237b
call fcn.0098b54a
cmp byte [0xa39f54], 0
mov edi, dword [ebp + 8]
jne 0x408155
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.004076e2
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
jne 0x408163
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408167
xor al, al
jmp 0x40819c
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x408144
mov al, 1
jmp 0x40819c
lea ecx, [ebp - 0x50]
call fcn.0040898f
lea ecx, [ebp - 0x28]
call fcn.00406b2f
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00408b57
test al, al
je 0x408191
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.0098b514
pop ecx
mov al, bl
call fcn.0098b527
ret 4

Function at 0x4081a4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa39f54], 0
jne 0x4081e2
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
pop esi
jne 0x4081de
xor al, al
jmp 0x4081f2
mov al, 1
jmp 0x4081f2
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x408368
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00409168
cmp eax, 0xffffffff
je 0x408395
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x408395
and eax, 0xfffffffe
push eax
push esi
call fcn.004088fe
test al, al
je 0x4083bf
cmp byte [0xa39f54], 0
push esi
jne 0x4083c7
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
jne 0x4083c3
xor al, al
jmp 0x4083d2
mov al, 1
jmp 0x4083d2
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
leave
ret 4

Function at 0x408646
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa39f54], 0
jne 0x408682
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
pop esi
jne 0x40867e
xor al, al
jmp 0x408690
mov al, 1
jmp 0x408690
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret 4
Function at 0x408858
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa39f54], 0
jne 0x40888c
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
pop esi
jmp 0x408897
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x4088fe
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa39f54], 0
jne 0x40893d
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
test esi, esi
pop esi
jne 0x408939
xor al, al
jmp 0x40894e
mov al, 1
jmp 0x40894e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
leave
ret 8

Function at 0x409168
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa39f54], 0
jne 0x40919c
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004076e2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0098b514
pop ecx
mov eax, esi
pop esi
jmp 0x4091af
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
leave
ret 4

Function at 0x4093a5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4093cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4093cf
xor al, al
jmp 0x4093e3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41652b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa031ba
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xa380c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.004165dd
lea ecx, [esi + 0x78]
call fcn.004165dd
push dword [esi + 0x30]
call fcn.0098b514
push dword [esi + 0x24]
call fcn.0098b514
push dword [esi + 0x18]
call fcn.0098b514
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41658f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4165a3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4165b7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4165ca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x419716
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0xa021e3
call fcn.0098b54a
mov esi, ecx
push 0
push dword [ebp + 0xc]
lea ecx, [esi + 0x68]
push dword [ebp + 8]
call fcn.0041928c
push 0xce4
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a06a
push dword [ebp - 0x1c]
and dword [ebp - 4], 0
push dword [esi + 0x6c]
call fcn.0040a381
push dword [ebp - 0x1c]
call fcn.0098b514
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
call fcn.0098b527
ret 8
Function at 0x41cb8e
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0xa03a54
call fcn.0098b54a
mov edi, ecx
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0041cbfb
xor ecx, ecx
add esp, 0xc
mov ebx, dword [eax]
mov dword [eax], ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], ecx
je 0x41cbcd
push 8
push dword [ebp + 0xc]
call fcn.0098b4fd
pop ecx
pop ecx
xor ecx, ecx
lea esi, [edi + 4]
push esi
push ecx
push ebx
push 0x41cb39
push ecx
push ecx
call fcn.009e39fb
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x41cbf0
call fcn.0098b527
ret 8
and dword [esi], 0
push 6
call fcn.0098cc43
int3
Function at 0x43c7f0
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0xa03a54
call fcn.0098b54a
mov edi, ecx
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0041cbfb
xor ecx, ecx
add esp, 0xc
mov ebx, dword [eax]
mov dword [eax], ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], ecx
je 0x43c82f
push 8
push dword [ebp + 0xc]
call fcn.0098b4fd
pop ecx
pop ecx
xor ecx, ecx
lea esi, [edi + 4]
push esi
push ecx
push ebx
push 0x43c79a
push ecx
push ecx
call fcn.009e39fb
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x43c852
call fcn.0098b527
ret 8
and dword [esi], 0
push 6
call fcn.0098cc43
int3
Function at 0x48cdf4
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0xa380c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
or esi, 0xffffffff
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
push ecx
push eax
call dword [ebx + 0x18]
mov edi, eax
cmp edi, esi
je 0x48ce48
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push ecx
push ecx
push 0x2d1080
push edi
call dword [ebx + 8]
test eax, eax
push edi
cmovne esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0098b297
leave
ret 4
Function at 0x946a79
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x96c5f2
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
push eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
add ecx, 0x14
push 0xa077c2
call fcn.0043c5e2
ret