joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ab49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xc], 0x67
xor ecx, ecx
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0x24
mov byte [ebp - 7], 0x34
mov byte [ebp - 6], 0x7c
mov byte [ebp - 5], 0x29
mov byte [ebp - 4], 0x34
mov byte [ebp - 3], 0x3c
mov byte [ebp - 2], 0x7c
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xc]
sub byte [ebp + ecx - 0xc], 4
inc ecx
cmp ecx, 0xb
jb 0x1005ab83
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.1005c610
add esp, 0xc
leave
ret 8
Function at 0x1005c408
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push edi
push 8
mov ebp, ecx
call fcn.10079903
mov ebx, dword [esp + 0x1c]
mov edi, eax
and ebx, 0xfffff000
mov dword [esp + 0x10], edi
pop ecx
and dword [edi + 4], 0
cmp dword [esp + 0x18], 0
mov dword [edi], vtable.MemoryAllocator.0
cmove ebx, dword [esp + 0x18]
push 0x40
push 0x3000
push 0x200
add ebx, 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi + 4], eax
test eax, eax
je 0x1005c43a
lea ecx, [ebp + 4]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1005c471
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x1005c47c
lea edx, [esp + 0x18]
push edx
push eax
call fcn.1005e16c
mov eax, dword [edi + 4]
pop edi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x1005c4a5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
and dword [esp], 0
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push eax
push 0x40
mov ebp, ecx
mov esi, edx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x1005c551
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push ebx
push ebp
push esi
mov ebx, edx
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1005c56a
sub esi, ecx
mov ebp, 0x100
cmp esi, ebp
jae 0x1005c606
push 0x228
lea eax, [esp + 0x1c]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [esp + 0x30], 0
lea eax, [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x20], edi
push ebx
push ebp
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
lea ecx, [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x18], bl
call fcn.10061b3e
test eax, eax
je 0x1005c606
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x14]
push eax
push 0x40
push dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push edi
call esi
push ebx
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push dword [esp + 0x30]
push edi
call esi
mov eax, dword [esp + 0x28]
jmp 0x1005c608
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005c9fb
Capabilities:
Enumerate pe sections
Parse pe header
Read file on windows

Disassembly:
mov eax, 0x1008b4fe
call fcn.10088f4c
sub esp, 0x214
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1005cafa
push esi
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push 0x1009bfe0
push eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, dword [sym.imp.msvcrt.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.msvcrt.dll_ftell]
mov edi, eax
xor eax, eax
push eax
push eax
push ebx
call esi
push edi
call fcn.10079d70
push ebx
push 1
mov esi, eax
push edi
push esi
call dword [sym.imp.msvcrt.dll_fread]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
mov eax, 0x5a4d
add esp, 0x3c
xor ebx, ebx
cmp word [esi], ax
jne 0x1005caf1
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x1005caf1
movzx edi, word [ecx + 0x14]
mov edx, ebx
movzx eax, word [ecx + 6]
add edi, 0x18
add edi, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
test eax, eax
je 0x1005caf1
mov ecx, ebx
mov eax, str..bind
movzx eax, byte [eax + ecx]
cmp al, byte [edi + ecx]
jne 0x1005cb0b
inc ecx
cmp ecx, 6
jne 0x1005cab7
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
imul edx, edx, 0x28
mov ecx, dword [edx + ebx + 0xc]
add ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [edx + ebx + 0x10]
cmp ecx, dword [edx + ebx + 8]
mov eax, dword [ebp + 0x14]
cmovbe ecx, dword [edx + ebx + 8]
mov bl, 1
mov dword [eax], ecx
push esi
call fcn.100798fe
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
inc edx
add edi, 0x28
cmp edx, dword [ebp - 0x10]
jl 0x1005cab5
jmp 0x1005caf1
Function at 0x1005ccf3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008b551
call fcn.10088f4c
sub esp, 0x68
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [edi*2 + 1]
push eax
call fcn.10079d70
mov byte [ebp - 0x21], 0x31
mov esi, eax
mov byte [ebp - 0x20], 0x32
mov edx, dword [ebp + 8]
mov byte [ebp - 0x1f], 0x33
mov byte [ebp - 0x1e], 0x34
mov byte [ebp - 0x1d], 0x35
mov byte [ebp - 0x1c], 0x36
mov byte [ebp - 0x1b], 0x37
mov byte [ebp - 0x1a], 0x38
mov byte [ebp - 0x19], 0x39
mov byte [ebp - 0x18], 0x3a
mov byte [ebp - 0x17], 0x42
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x45
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x47
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x21]
pop ecx
mov ecx, esi
mov eax, ebx
dec byte [ebp + eax - 0x21]
inc eax
cmp eax, 0x10
jb 0x1005cd65
test edi, edi
je 0x1005cd95
movzx eax, byte [edx]
shr eax, 4
mov al, byte [ebp + eax - 0x21]
mov byte [ecx], al
movzx eax, byte [edx]
and eax, 0xf
mov al, byte [ebp + eax - 0x21]
mov byte [ecx + 1], al
add ecx, 2
inc edx
sub edi, 1
jne 0x1005cd73
push 0x700
push dword [ebp + 0x10]
mov byte [ecx], bl
lea ecx, [ebp - 0x38]
call fcn.1005cf39
mov dword [ebp - 4], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x6c], bl
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], bl
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005cdd8
sub ecx, edx
lea eax, [ebp - 0x38]
push esi
push ecx
push eax
lea eax, [ebp - 0x70]
lea edx, [ecx + esi]
mov ecx, esi
push eax
call fcn.1005ded1
add esp, 0x10
push 0xc
pop edi
test al, al
je 0x1005ce5b
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x68]
cdq
idiv edi
mov ecx, eax
lea eax, [ebp - 0x44]
test ecx, ecx
cmovne eax, dword [ebp - 0x68]
mov eax, dword [eax]
sub eax, dword [ebp - 0x70]
cdq
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x44]
sar ebx, 1
add ebx, dword [ebp + 8]
test ecx, ecx
cmovne eax, dword [ebp - 0x68]
mov edi, dword [eax]
sub edi, dword [ebp - 0x70]
add edi, ecx
add edi, esi
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1005ce39
push edi
push ecx
lea eax, [ebp - 0x38]
sub edx, ecx
push eax
lea eax, [ebp - 0x70]
add edx, edi
push eax
mov ecx, edi
call fcn.1005ded1
add esp, 0x10
push 0xc
pop edi
push esi
call fcn.100798fe
pop ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x1005ce7d
mov eax, dword [ebp - 0x60]
sub eax, ecx
cdq
idiv edi
imul eax, eax, 0xc
push eax
push ecx
call fcn.1000c6e6
pop ecx
pop ecx
lea ecx, [ebp - 0x38]
call fcn.1005d0ae
lea ecx, [ebp - 0x2c]
call fcn.1005bf09
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x1005d44a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1005d456
pop esi
mov eax, edx
ret 4

Function at 0x1005f042
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1005f1d8
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1005f1d8
cmp eax, 0x29
jne 0x1005f0ae
cmp dword [esi + 0x10], 0
jne 0x1005f1d8
test dword [esi + 0x50], edx
je 0x1005f1de
cmp eax, 0x5d
jne 0x1005f089
test dword [esi + 0x50], edx
je 0x1005f16e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1005fc28
mov bl, 1
mov ecx, esi
call fcn.1005f01a
test bl, bl
je 0x1005f0aa
mov ecx, esi
call fcn.1005fb43
mov cl, 1
jmp 0x1005f049
cmp eax, 0x2e
jne 0x1005f0c6
push 5
lea ecx, [esi + 0x24]
call fcn.1005f2a5
mov ecx, esi
call fcn.1005f01a
jmp 0x1005f0a3
cmp eax, 0x5c
jne 0x1005f112
mov ecx, esi
call fcn.1005f01a
test byte [esi + 0x50], 0x80
je 0x1005f109
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1005f0f2
push 4
lea ecx, [esi + 0x24]
call fcn.1005f2a5
mov ecx, esi
call fcn.1005f01a
jmp 0x1005f0aa
cmp al, 0x42
jne 0x1005f109
push 4
lea ecx, [esi + 0x24]
call fcn.1005f2a5
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1005f0e9
mov ecx, esi
call fcn.1005f9dc
jmp 0x1005f0a3
cmp eax, 0x5b
jne 0x1005f172
mov ecx, esi
call fcn.1005f01a
lea ecx, [esi + 0x24]
call fcn.1006090f
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1005f13f
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.1005f01a
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1005f15d
cmp eax, 0x5d
jne 0x1005f15d
push eax
lea ecx, [esi + 0x24]
call fcn.10060957
mov ecx, esi
call fcn.1005f01a
mov ecx, esi
call fcn.100605da
cmp dword [esi + 0x4c], 0x5d
je 0x1005f0bd
push 4
jmp 0x1005f1e0
cmp eax, 0x28
jne 0x1005f192
mov ecx, esi
call fcn.1005f01a
mov ecx, esi
call fcn.1005fab4
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1005f1de
jmp 0x1005f098
cmp eax, 0x5e
jne 0x1005f19e
push 2
jmp 0x1005f0e1
cmp eax, 0x24
jne 0x1005f1aa
push 3
jmp 0x1005f0e1
cmp eax, 0x2a
je 0x1005f1d4
cmp eax, 0x2b
je 0x1005f1d4
cmp eax, 0x3f
je 0x1005f1d4
cmp eax, 0x7b
je 0x1005f1d4
cmp eax, 0x7d
jne 0x1005f07b
test dword [esi + 0x50], edx
jne 0x1005f089
push 6
jmp 0x1005f1e0
push 0xa
jmp 0x1005f1e0
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.1005e4e9
int3
Function at 0x10069f31
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x10069f58
sub edx, esi
mov cl, byte [esi + edx]
lea eax, [ecx - 0x41]
cmp al, 0x19
seta al
dec al
and al, 0x20
xor al, cl
mov byte [esi], al
inc esi
sub edi, 1
jne 0x10069f3f
pop edi
pop esi
ret
Function at 0x1006d1d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, edx
push ebp
xor ebx, ebx
mov esi, ecx
push ebx
push edi
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, ebp
movzx eax, cl
add esp, 0xc
imul eax, eax, 0xd
imul edx, ecx
mov cl, al
mov dword [esp + 0x14], eax
add edx, esi
xor cl, 0x6e
test ebp, ebp
jle 0x1006d224
sub edi, edx
mov al, byte [edx]
xor al, cl
mov byte [edx + edi], al
mov al, byte [edx]
add al, byte [esp + 0x14]
add al, bl
add cl, al
inc ebx
inc edx
cmp ebx, ebp
jl 0x1006d20d
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1006feb2
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
mov ebx, 0x1018c578
push 8
xor eax, eax
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov edi, ebx
lea esi, [edx + 0x1016e1f0]
sub edi, edx
mov cl, byte [esi]
xor cl, dl
xor cl, 0x6e
mov byte [edi + edx], cl
inc edx
inc esi
test cl, cl
jne 0x1006fecf
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x10071a3f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x10071aaa
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
sub edi, 1
jne 0x10071a53
pop edi
test esi, esi
je 0x10071ac6
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
inc edx
sub esi, 1
jne 0x10071aae
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x10077e19
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x10077e38
or eax, 0xffffffff
jmp 0x10077f26
cmp dword [esi + 0x14], 1
je 0x10077e46
push 0xfffffffffffffffc
pop eax
jmp 0x10077f26
cmp edi, dword [esi + 0x10]
jb 0x10077e4f
push 0xfffffffffffffff6
jmp 0x10077e40
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
jne 0x10077e60
push 0xfffffffffffffff5
jmp 0x10077e40
movzx ebx, word [eax + 0x1c]
add eax, 0x2e
cmp dword [esi + 0x5c], 0
mov dword [esp + 0xc], eax
je 0x10077e83
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
and dword [esi + 0x5c], 0
mov eax, dword [esp + 0x10]
pop ecx
push ecx
push ecx
mov edx, ebx
mov ecx, eax
call fcn.10077967
mov dword [esi + 0x5c], eax
pop ecx
pop ecx
test eax, eax
jne 0x10077e9b
push 0xfffffffffffffffe
jmp 0x10077e40
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.10077937
pop ecx
test eax, eax
jne 0x10077eb2
push 0xfffffffffffffffd
jmp 0x10077e40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x26]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x4e010], eax
xor eax, eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x4e014], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007adf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d1040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1007ae17
mov ecx, 5
int 0x29
push 2
call fcn.1007a766
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1007af22
test esi, esi
jne 0x1007af22
push 2
call fcn.1007a766
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007a228
mov esp, ebp
pop ebp
ret
Function at 0x100838b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d1040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x1008e388
push edi
mov dword [ebp - 0x210], edi
call sub.msvcrt.dll_wcspbrk
add esp, 8
test eax, eax
jne 0x100838f0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a228
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor esi, esi
call sub.msvcrt.dll__errno
mov ebx, dword [eax]
call sub.msvcrt.dll__errno
push 0x104
push edi
mov dword [eax], esi
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll__wfullpath
add esp, 0xc
mov edi, eax
call sub.msvcrt.dll__errno
test edi, edi
je 0x1008392c
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x1008395b
cmp dword [eax], 0x22
jne 0x10083a6a
call sub.msvcrt.dll__errno
push 0
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
push ebx
push 0
call sub.msvcrt.dll__wfullpath
mov esi, eax
add esp, 0xc
mov edi, esi
test edi, edi
je 0x10083a6a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083960
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x10083a42
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083980
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x10083a6a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x100839a9
cmp eax, 0x2f
jne 0x10083a6a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x100839bb
cmp eax, 0x2f
jne 0x10083a6a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x10083a6a
cmp eax, 0x2f
je 0x10083a6a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x10083a02
mov ecx, eax
cmp cx, 0x5c
je 0x100839ff
cmp cx, 0x2f
je 0x100839ff
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x100839e1
jmp 0x10083a02
movzx edi, cx
test di, di
je 0x10083a6a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x10083a6a
cmp cx, 0x5c
je 0x10083a33
cmp cx, 0x2f
je 0x10083a33
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10083a15
jmp 0x10083a36
movzx edi, cx
test di, di
je 0x10083a42
cmp word [edx + 2], 0
jne 0x10083a6a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x10083a6b
call sub.msvcrt.dll_free
add esp, 4
mov al, 1
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a228
mov esp, ebp
pop ebp
ret
push esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop esi
pop ebx
pop edi
call fcn.1007a228
mov esp, ebp
pop ebp
ret
Function at 0x10083c30
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10083dd8
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x10083c42
push ebx
lea esi, [edi + 0x1c]
mov ebx, 7
lea esp, [esp]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083c60
lea esi, [edi + 0x38]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083c80
lea esi, [edi + 0x68]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083ca0
lea esi, [edi + 0x98]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083cc0
push dword [edi + 0xa0]
call sub.msvcrt.dll_free
push dword [edi + 0xa4]
call sub.msvcrt.dll_free
push dword [edi + 0xa8]
call sub.msvcrt.dll_free
mov eax, dword fs:[0x18]
add esp, 0xc
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083dd6
lea esi, [edi + 0xb8]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083d25
lea esi, [edi + 0xd4]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083d42
lea esi, [edi + 0xf0]
mov ebx, 0xc
nop
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083d60
lea esi, [edi + 0x120]
mov ebx, 0xc
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083d80
lea esi, [edi + 0x150]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083da0
push dword [edi + 0x158]
call sub.msvcrt.dll_free
push dword [edi + 0x15c]
call sub.msvcrt.dll_free
push dword [edi + 0x160]
call sub.msvcrt.dll_free
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10083de0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10083f72
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10083e0a
call fcn.10083bd0
test al, al
jne 0x10083e0a
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10083e25
call fcn.10083bd0
test al, al
jne 0x10083e25
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10083e40
call fcn.10083bd0
test al, al
jne 0x10083e40
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10083e5b
call fcn.10083bd0
test al, al
jne 0x10083e5b
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10083e76
call fcn.10083bd0
test al, al
jne 0x10083e76
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10083e91
call fcn.10083bd0
test al, al
jne 0x10083e91
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10083eac
call fcn.10083bd0
test al, al
jne 0x10083eac
push dword [esi + 0x24]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083f72
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10083eeb
call fcn.10083bd0
test al, al
jne 0x10083eeb
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x10083f06
call fcn.10083bd0
test al, al
jne 0x10083f06
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10083f21
call fcn.10083bd0
test al, al
jne 0x10083f21
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10083f3c
call fcn.10083bd0
test al, al
jne 0x10083f3c
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10083f57
call fcn.10083bd0
test al, al
jne 0x10083f57
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10083f72
call fcn.10083bd0
test al, al
jne 0x10083f72
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret