joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100271e0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100af8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x1002721e
mov eax, dword [edi]
jmp 0x10027220
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x10027228
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1002723b
mov al, 1
jmp 0x100273a9
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], eax
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.10028290
movzx ecx, byte [esp + 0xf]
test al, al
mov edx, 1
mov dword [esp + 0x24], 0
cmovne ecx, edx
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0x50], dl
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.10028290
test al, al
jne 0x100272c9
cmp byte [esp + 0x10], al
je 0x10027346
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
cmovae ecx, dword [esp + 0x14]
cmp dword [esp + 0x40], 8
push ecx
cmovae eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10027346
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x10027309
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x1002733b
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
mov al, 1
jmp 0x10027399
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x1002735e
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x10027390
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
xor al, al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10033901
add esp, 0x48
ret
Function at 0x100273d0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100af938
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x1002740f
mov eax, dword [esi]
jmp 0x10027411
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x10027419
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push eax
push ecx
call ebx
test eax, eax
je 0x10027430
mov al, 1
jmp 0x10027613
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x70], eax
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.10028290
movzx ecx, byte [esp + 0x17]
test al, al
mov edx, 1
mov dword [esp + 0x44], 0
cmovne ecx, edx
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x70], dl
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.10028290
test al, al
jne 0x100274be
cmp byte [esp + 0x18], al
je 0x100274eb
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
push 0xb
cmovae ecx, dword [esp + 0x38]
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call ebx
test eax, eax
je 0x100274eb
mov bl, 1
jmp 0x100275b0
mov ecx, esi
call fcn.100270e0
cmp eax, 0xffffffff
je 0x100275ae
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.10007c60
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x1c]
call fcn.10027f00
test al, al
je 0x1002757f
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.100271e0
test al, al
je 0x1002757f
mov edx, esi
mov ecx, edi
call fcn.100271e0
lea ecx, [esp + 0x1c]
test al, al
je 0x10027578
call fcn.10027840
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x1c]
call fcn.10006f00
mov bl, 1
jmp 0x100275b0
mov edx, esi
call fcn.100271e0
mov byte [esp + 0x70], 1
cmp dword [esp + 0x30], 8
jb 0x10027597
push dword [esp + 0x1c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
xor bl, bl
mov byte [esp + 0x70], 0
cmp dword [esp + 0x48], 8
jb 0x100275c8
push dword [esp + 0x34]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x100275fa
push dword [esp + 0x4c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
mov al, bl
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10033901
add esp, 0x64
ret
Function at 0x10027640
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x100af8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1002767c
mov eax, dword [esi]
jmp 0x1002767e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x10027690
mov al, 1
jmp 0x1002771d
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.10028290
test al, al
je 0x100276e7
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x100276e7
mov bl, 1
jmp 0x100276e9
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x10027704
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10033901
add esp, 0x28
ret

Function at 0x10027740
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x100af8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1002777c
mov eax, dword [esi]
jmp 0x1002777e
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10027792
mov al, 1
jmp 0x10027821
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.10028290
test al, al
je 0x100277eb
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100277eb
mov bl, 1
jmp 0x100277ed
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x10027808
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10033901
add esp, 0x28
ret
Function at 0x10027840
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100af980
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1002787d
mov eax, dword [esi]
jmp 0x1002787f
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x10027893
mov al, 1
jmp 0x10027a50
cmp dword [esi + 0x14], 8
jb 0x1002789d
mov edx, dword [esi]
jmp 0x1002789f
mov edx, esi
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [edx], ax
jne 0x100278cf
xor ecx, ecx
jmp 0x100278e3
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100278d4
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.10008230
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.100270e0
mov ebx, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x1002791c
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp ebx, 0xffffffff
jne 0x1002793f
xor al, al
jmp 0x10027a50
cmp dword [esi + 0x14], 8
jb 0x10027949
mov eax, dword [esi]
jmp 0x1002794b
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.10007750
mov dword [esp + 0x50], 1
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.10026fd0
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x10027990
push dword [esp + 0x2c]
call fcn.10034183
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test al, al
jne 0x10027938
cmp dword [esi + 0x14], 8
jb 0x100279b5
mov eax, dword [esi]
jmp 0x100279b7
mov eax, esi
push eax
call edi
test eax, eax
jne 0x1002788c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], 2
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.10028290
test al, al
je 0x10027a0b
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x10027a0b
mov bl, 1
jmp 0x10027a3d
cmp dword [esi + 0x14], 8
jb 0x10027a13
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.10007750
mov byte [esp + 0x50], 3
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.10026fd0
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x14]
call fcn.10006f00
xor bl, bl
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10006f00
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10033901
add esp, 0x44
ret
Function at 0x10027a70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100af9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x100eef64]
mov dword [esp + 8], 0x100eef64
test eax, eax
je 0x10027ac2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x100eadc4], 0
je 0x10027b10
cmp esi, 0x100eadb4
je 0x10027aee
push 0xffffffffffffffff
push 0
push 0x100eadb4
mov ecx, esi
call fcn.10007c60
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x100eef64]
test eax, eax
je 0x10027b09
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x10027beb
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10027bce
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10027bbd
test eax, eax
je 0x10027bbd
add eax, eax
cmp eax, 0x412
jae 0x10027bb8
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.1000bc30
jmp 0x10027aee
call fcn.100343e4
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.1000bc30
jmp 0x10027aee
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x100eef64]
test eax, eax
je 0x10027be9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.10033901
add esp, 0x634
ret
Function at 0x10027c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
xor eax, eax
push esi
push edi
push 0x20a
push eax
mov word [esp + 0x14], ax
mov edi, edx
lea eax, [esp + 0x16]
mov esi, ecx
push eax
call fcn.10037070
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x10027c64
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x10027c6c
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10027cf6
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x10027cb9
xor ecx, ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.10008230
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10033901
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027cc0
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10008230
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10033901
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10033901
add esp, 0x210
ret
Function at 0x10027f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100afa60
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x3c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x34]
push edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.10007c60
mov dword [esp + 0x80], 0
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.1002b6d0
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x10028022
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10017320
add esp, 0xc
mov esi, eax
mov byte [esp + 0x80], 2
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x10027ff0
cmp dword [esp + 0x40], 8
jb 0x10027fcf
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.10007c00
mov byte [esp + 0x80], 1
cmp dword [esp + 0x28], 8
jb 0x1002800b
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x80], 3
lea esi, [eax + 1]
lea eax, [esp + 0x44]
push eax
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x34]
call fcn.10028170
add esp, 8
test al, al
jne 0x10028097
mov edi, edi
inc esi
cmp esi, 0x100000
jg 0x10028165
lea eax, [esp + 0x44]
push eax
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x34]
call fcn.10028170
add esp, 8
test al, al
je 0x10028070
lea eax, [esp + 0x44]
cmp edi, eax
je 0x100280ab
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10007c60
mov bl, 1
mov byte [esp + 0x80], 1
cmp dword [esp + 0x58], 8
jb 0x100280c8
push dword [esp + 0x44]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x80], al
cmp dword [esp + 0x70], 8
jb 0x100280f9
push dword [esp + 0x5c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x1002812e
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov al, bl
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10033901
add esp, 0x74
ret
xor bl, bl
jmp 0x100280ad
Function at 0x10028d70
Capabilities:
Read file on windows

Disassembly:
mov edx, ecx
mov eax, dword [edx]
test eax, eax
jne 0x10028d7d
xor al, al
ret 0xc
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10028d78
cmp dword [eax], 0xffffffff
je 0x10028d78
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [edx]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x10028e30
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x10028e5d
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10033901
add esp, 8
ret 4
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10028e49
push esi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10028e97
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10028e97
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10033901
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, esi
mov dword [edi], eax
mov al, 1
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.10033901
add esp, 8
ret 4

Function at 0x10028f50
Capabilities:
Clear file content

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x10028f6a
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
movlpd qword [esp + 0x28], xmm0
call fcn.10028ec0
test al, al
je 0x10028f5e
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
mov ebp, dword [esp + 0x28]
xorps xmm0, xmm0
push eax
push 0
push edi
push ebp
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.10028ec0
test al, al
je 0x10028f5e
xor bl, bl
cmp dword [esp + 0x10], ebp
jne 0x10028fd7
cmp dword [esp + 0x14], edi
jne 0x10028fd7
mov eax, dword [esi]
test eax, eax
jne 0x10028fc4
xor bl, bl
jmp 0x10028fd7
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10028fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne bl
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0
push dword [esp + 0x24]
mov ecx, esi
movlpd qword [esp + 0x1c], xmm0
push dword [esp + 0x24]
call fcn.10028ec0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x14
ret 8
Function at 0x10029260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100ae606
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov byte [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x1c]
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], eax
mov word [esi + 0x1c], ax
call fcn.10007c60
mov byte [esp + 0x18], 1
cmp dword [esi + 0x2c], 0
jne 0x100292db
push 3
push 0x100cd498
lea ecx, [esi + 0x1c]
call fcn.10008230
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1002b930
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x1002b946
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 8]
mov word [esi + 4], 0
cmp dword [eax + 0x10], 0
je 0x1002b960
cmp dword [eax + 0x14], 8
jb 0x1002b962
mov eax, dword [eax]
jmp 0x1002b962
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x1002b984
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002b984
mov byte [esi + 5], 1
cmp dword [esi], 0
pop esi
setne al
ret 4

Function at 0x1002c120
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100b02b1
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call edi
mov ebp, eax
test ebp, ebp
je 0x1002c210
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x848], esi
cmp ebp, 0x3fe
jbe 0x1002c23a
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009016e
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x84c], 1
mov esi, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], 0
mov byte [esp + 0x84c], 0
push 0
call fcn.100342a7
add esp, 8
push ebx
push ebp
call edi
test eax, eax
je 0x1002c1fc
cmp eax, ebp
ja 0x1002c1fc
xor ecx, ecx
mov ebp, eax
mov dword [ebx + eax*2], ecx
jmp 0x1002c266
mov dword [esp + 0x848], 0xffffffff
push ebx
call fcn.100342a7
add esp, 4
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.10033901
add esp, 0x838
ret
lea eax, [ebp*2]
cmp eax, 0x800
jae 0x1002c302
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x1002c302
mov word [esp + eax + 0x3c], cx
xor eax, eax
xor edi, edi
test ebp, ebp
je 0x1002c2e7
mov esi, dword [esp + 0x14]
mov ebx, 2
cmp word [esi + ebx - 2], 0
jne 0x1002c2db
cmp eax, edi
je 0x1002c2db
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x24]
call fcn.10007750
mov byte [esp + 0x848], 2
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.1001e100
mov byte [esp + 0x848], 0
cmp dword [esp + 0x34], 8
jb 0x1002c2c1
push dword [esp + 0x20]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [edi + 1]
mov dword [esp + 0x30], 0
inc edi
add ebx, 2
cmp edi, ebp
jb 0x1002c277
mov esi, dword [esp + 0x38]
mov dword [esp + 0x848], 0xffffffff
push esi
call fcn.100342a7
add esp, 4
mov al, 1
jmp 0x1002c212
call fcn.100343e4
int3