joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100154c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10091e88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x100b84c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 0x100a36b4
lea ecx, [esp + 0x14]
mov esi, 1
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.100157b0
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
call fcn.10010ad0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x10015555
push dword [esp + 0xc]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
test bl, bl
je 0x10015589
mov eax, 2
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10009ed0
test al, al
jne 0x100155ab
mov eax, 3
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.10015c60
test al, al
mov ecx, 6
cmovne esi, ecx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100155e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x100b84c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10010f20
push 1
call fcn.1006ea1e
add esp, 4
test eax, eax
je 0x1001561c
mov byte [eax], 0
jmp 0x1001561e
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push ecx
call fcn.100154c0
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10015652
push eax
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0x10], 0
test bl, bl
jne 0x1001566b
mov eax, 0xfffffff5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push dword [0x100bc6a8]
push 0x10015d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov ecx, 0xb
mov edx, 0xfffffff4
cmove ecx, edx
mov dword [0x100bc6ac], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [0x100bb7cc], 0xc
cmp eax, 0x100ba67c
je 0x10018649
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100ba67c
call fcn.10014ef0
mov eax, dword [ebp + 0x14]
mov dword [0x100b998c], 2
cmp eax, 0x100ba694
je 0x1001866c
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100ba694
call fcn.10014ef0
mov eax, dword [ebp + 0x18]
cmp eax, 0x100ba6ac
je 0x10018685
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100ba6ac
call fcn.10014ef0
push 0
push 0
push esi
push 0x1001b6c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1001b3a0
push 0x36ee80
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0x14
Function at 0x10024c50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100948ad
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x464], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10024d00
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.10014c10
jmp 0x10024dea
lea eax, [ebp - 0x460]
push eax
push edi
mov dword [ebp - 0x460], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10024dc2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10024d87
cmp ebx, dword [ebp - 0x458]
je 0x10024d6c
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10024d50
jmp 0x10024d87
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1007004b
add esp, 0xc
cmp word [ebp - 0x218], 0
jne 0x10024d95
xor ecx, ecx
jmp 0x10024daf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024da0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100157b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.10014c10
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x10024e0f
push dword [ebp - 0x230]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x10024e50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100947a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x49c], edi
mov ebx, ecx
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4b0], ebx
mov dword [ebp - 0x4b4], edi
xor eax, eax
mov dword [ebp - 0x4ac], eax
cmp dword [ebx + 0x10], eax
je 0x10024ee7
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x4a4], esi
cmp esi, 0xffffffff
je 0x10024ee7
mov dword [ebp - 0x498], 0x22c
lea eax, [ebp - 0x498]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1002509d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100250b8
mov edi, dword [ebp - 0x49c]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100250a8
cmp dword [ebx + 0x14], 8
jb 0x10024f1b
mov eax, dword [ebx]
jmp 0x10024f1d
mov eax, ebx
lea ecx, [ebp - 0x474]
push ecx
push eax
call fcn.1006f948
add esp, 8
test eax, eax
jne 0x10024ef6
cmp dword [edi + 0x10], eax
jne 0x10024f41
mov ebx, dword [ebp - 0x490]
jmp 0x100250ae
push dword [ebp - 0x490]
mov ecx, 0x410
call fcn.10024620
add esp, 4
mov edi, eax
mov dword [ebp - 0x4a0], edi
test edi, edi
je 0x10024ef0
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push eax
lea eax, [ebp - 0x21e]
push eax
call fcn.10073e30
add esp, 8
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.10024b60
add esp, 8
test eax, eax
jne 0x10024f9b
push edi
call esi
jmp 0x10024ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.10013600
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x49c]
lea ecx, [ebp - 0x250]
call fcn.10020220
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x268]
call fcn.10020220
mov byte [ebp - 4], 3
push 0
push esi
mov ecx, eax
call fcn.100202f0
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.100136d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.100136d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100136d0
test bl, bl
je 0x1002504a
push edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x4a8]
jmp 0x10024ef0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x490]
push edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x100250ae
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10024ef6
mov ebx, dword [ebp - 0x4ac]
push dword [ebp - 0x4a4]
call esi
mov eax, ebx
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.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x10025d20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009490d
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x444], 0
mov edi, dword [edx]
mov dword [ebp - 0x454], esi
test edi, edi
jne 0x10025d6e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10073e30
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10073e30
add esp, 0x18
xor eax, eax
push 0x10
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.SeDebugPrivilege
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.100157b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.10025930
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 8
jb 0x10025e3f
push dword [ebp - 0x438]
call fcn.1006e29c
add esp, 4
xor eax, eax
push edi
mov ecx, 0x400
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.10024620
mov edi, eax
add esp, 4
test edi, edi
je 0x10025f36
call fcn.10024410
test eax, eax
je 0x10025f36
lea ecx, [ebp - 0x440]
push ecx
push 8
push edi
call eax
test eax, eax
je 0x10025f36
call fcn.100244c0
mov ebx, eax
test ebx, ebx
je 0x10025f36
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push 0
push 1
push dword [ebp - 0x440]
call ebx
test eax, eax
jne 0x10025ecb
call fcn.100246f0
cmp eax, 0x7a
jne 0x10025f36
push dword [ebp - 0x43c]
call fcn.1006fab4
mov edi, eax
add esp, 4
test edi, edi
je 0x10025f36
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push edi
push 1
push dword [ebp - 0x440]
call ebx
test eax, eax
je 0x10025f2d
call fcn.10024570
test eax, eax
je 0x10025f2d
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [edi]
push 0
call eax
push edi
call fcn.1006f910
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x10025f56
xor ecx, ecx
jmp 0x10025f6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025f60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.100157b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x444], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x100261b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094705
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], 0
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x454], ebx
mov dword [ebp - 4], 1
test eax, eax
jne 0x1002621f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x460], eax
test eax, eax
jne 0x10026251
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
jmp 0x100263bf
push 0x424
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
mov dword [ebp - 0x450], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x100262ad
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x100263a1
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x10026393
mov esi, dword [ebp - 0x460]
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x100262e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x230], ax
je 0x10026323
lea eax, [ebp - 0x230]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026314
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.100157b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x45c]
call fcn.100265d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x1002635b
push dword [ebp - 0x28]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x450]
push eax
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call edi
test eax, eax
jne 0x100262e0
mov ebx, dword [ebp - 0x458]
mov edi, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x468]
mov eax, dword [ebp - 0x454]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x100263f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
mov ecx, dword [esi + ebx + 0x10]
mov edi, edx
mov edx, dword [esi + ebx + 0x1c]
add edx, ebx
mov dword [ebp - 0xd4], edx
mov edx, dword [esi + ebx + 0x24]
mov dword [ebp - 0xe0], eax
mov eax, dword [esi + ebx + 0x20]
add edx, ebx
add eax, ebx
mov dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xdc], eax
test edi, 0xffff0000
jne 0x1002647e
cmp edi, ecx
jb 0x100264d3
mov eax, dword [esi + ebx + 0x14]
dec eax
add eax, ecx
cmp edi, eax
ja 0x100264d3
sub edi, ecx
mov eax, dword [edx + edi*4]
pop edi
pop esi
add eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
xor esi, esi
cmp dword [ecx + ebx + 0x18], esi
jle 0x100264d3
lea esp, [esp]
mov eax, dword [eax + esi*4]
mov ecx, edi
add eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100264b7
test dl, dl
je 0x100264b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100264b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x10026497
xor eax, eax
jmp 0x100264bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x100264e6
mov eax, dword [ebp - 0xd0]
inc esi
cmp esi, dword [eax + ebx + 0x18]
mov eax, dword [ebp - 0xdc]
jl 0x10026490
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
movzx eax, word [eax + esi*2]
mov esi, dword [ebp - 0xd4]
mov esi, dword [esi + eax*4]
add esi, ebx
lea eax, [ebx + ecx]
cmp esi, eax
jb 0x100265b1
mov eax, dword [ebp - 0xe0]
add eax, ebx
add eax, ecx
cmp esi, eax
ja 0x100265b1
push 0x63
lea eax, [ebp - 0x67]
push 0
push eax
mov byte [ebp - 0x68], 0
call fcn.10073e30
push 0x63
lea eax, [ebp - 0xcb]
push 0
push eax
mov byte [ebp - 0xcc], 0
call fcn.10073e30
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x18
lea eax, [ebp - 0x68]
push esi
push eax
call edi
lea eax, [ebp - 0x68]
push 0x2e
push eax
call fcn.1006ff20
add esp, 8
test eax, eax
je 0x100265b1
mov byte [eax], 0
inc eax
push eax
lea eax, [ebp - 0xcc]
push eax
call edi
push str..dll
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100265b1
lea edx, [ebp - 0xcc]
mov ecx, eax
call fcn.100263f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x10028be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ecx + 0x10], 0
push edi
mov edi, edx
jne 0x10028bf6
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 8
jb 0x10028bfe
mov ecx, dword [ecx]
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10028c27
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov byte [ebp - 1], 1
push edi
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
neg ebx
sbb bl, bl
and bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10028c60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x10], 0
push ebx
mov ebx, edx
jne 0x10028c76
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 8
jb 0x10028c7e
mov ecx, dword [ecx]
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10028ca7
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], 0
mov edi, eax
je 0x10028cd2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x10028ceb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp edi, eax
jbe 0x10028d07
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0
test eax, eax
lea ecx, [ebp - 0xc]
push ecx
cmove eax, edi
push eax
push ebx
push esi
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov ebx, eax
neg ebx
sbb bl, bl
and bl, byte [ebp - 1]
push esi
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028f10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009532d
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x84], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x88], esi
jne 0x10028f8a
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x100a3664
mov byte [esi], 0
call fcn.10014850
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 1
jmp 0x10029067
push ecx
lea ecx, [ebp - 0x140]
call fcn.1002bc30
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x10028fa5
mov edi, dword [edi]
sub esp, 8
lea ecx, [ebp - 0x130]
push edi
call fcn.1002c0f0
test eax, eax
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
mov eax, dword [eax + 4]
jne 0x10028fda
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10028fe9
or eax, 4
jmp 0x10028fe9
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
mov edx, 4
cmove eax, edx
push 0
push eax
call fcn.10027cd0
cmp dword [ebp - 0xe0], 0
jne 0x10029008
push 0x100a3664
mov ecx, esi
call fcn.10013340
jmp 0x1002904e
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.1003d5d0
push esi
lea ecx, [ebp - 0x80]
call fcn.1003e070
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.10029090
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret
Function at 0x100292b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100953f8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x100292ec
xor al, al
jmp 0x10029402
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10014ef0
mov dword [ebp - 4], 0
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.1001fc00
mov edx, 0x5c
lea ecx, [ebp - 0x28]
call fcn.1001fc00
cmp dword [ebp - 0x18], 3
ja case.default.0x10029358
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x10029358
jmp dword [eax*4 + 0x10029420]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x100293b8
mov eax, dword [esi + 0x10]
lea edx, [eax - 1]
cmp eax, edx
ja 0x10029391
push str.invalid_string_position
call fcn.10088fa9
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x1002939d
mov ecx, dword [esi]
jmp 0x1002939f
mov ecx, esi
cmp word [ecx + edx*2], 0x5c
je case.0x10029358.3
cmp eax, 8
jb 0x100293ad
mov esi, dword [esi]
cmp word [esi + edx*2], 0x2f
jne case.0x10029358.0
mov bl, 1
jmp 0x100293d4
test byte [ebp - 0x278], 0x10
push eax
je 0x100293cc
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x100293d4
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x100293ec
push dword [ebp - 0x28]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret