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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100ab06c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov esi, edx
cmp dword [edi + 0x14], 8
jb 0x1001154d
mov ebx, dword [edi]
jmp 0x1001154f
mov ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10011591
test al, 0x10
je 0x10011573
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1001157d
mov dword [esi], 0xfffffff7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.10012280
cmp dword [edi + 0x14], 8
jb 0x100115a7
mov ecx, dword [edi]
jmp 0x100115a9
mov ecx, edi
push dword [edi + 0x10]
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push ecx
cmovae eax, dword [esp + 0x1c]
push dword [esp + 0x2c]
push eax
call fcn.1000bf40
add esp, 0x10
test eax, eax
jne 0x100115da
test esi, esi
je 0x1001161e
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x10011624
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.10011520
test al, al
je 0x1001161e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10011622
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x10011611
mov ecx, edi
call fcn.10011320
test al, al
jne 0x10011622
test esi, esi
je 0x1001161e
mov ecx, ebx
call fcn.10014bd0
mov dword [esi], eax
xor bl, bl
jmp 0x10011624
mov bl, 1
lea ecx, [esp + 0x14]
call fcn.1000a380
mov ecx, dword [esp + 0x2c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret

Function at 0x100116f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x100117c5
cmp eax, 0x104
ja 0x100117c5
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.1000a410
lea eax, [ebp - 0x240]
push eax
sub esp, 8
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x258]
call fcn.10011ce0
mov ecx, eax
call fcn.100128a0
cmp esi, eax
je 0x10011793
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.1000abc0
lea ecx, [ebp - 0x240]
call fcn.1000a380
lea ecx, [ebp - 0x258]
call fcn.1000a380
lea ecx, [ebp - 0x228]
call fcn.1000a380
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
Function at 0x100117e0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x10], 0x104
jae 0x10011872
cmp dword [edi + 0x10], 0x104
jae 0x10011872
cmp dword [edi + 0x14], 8
jb 0x10011806
mov eax, dword [edi]
jmp 0x10011808
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x10011810
mov ecx, dword [esi]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x10011826
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x1001183c
mov eax, dword [esi]
jmp 0x1001183e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10011860
shr eax, 4
and al, 1
je 0x10011860
mov edx, edi
mov ecx, esi
call fcn.10011880
mov bl, al
test bl, bl
jne 0x10011869
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100131e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1010
call fcn.1001f860
mov eax, dword [0x100ab06c]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [ebp + 8]
lea edx, [esp]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0xc], 0
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
push edx
push 0
push eax
push dword [ecx]
mov dword [esp + 0x20], 0x800
call dword [0x100887ac]
mov esi, eax
test esi, esi
jne 0x10013327
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jne 0x100132b4
cmp word [esp + 0x10], ax
jne 0x10013278
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1000aac0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013280
sub ecx, edx
lea eax, [esp + 0x10]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000aac0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x10013322
push 0x400
lea eax, [esp + 0x814]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 8], eax
test eax, eax
je 0x10013307
cmp eax, 0x400
ja 0x10013307
lea eax, [esp + 0x810]
mov ecx, edi
push eax
call fcn.1000a330
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
mov eax, 0xea
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
Function at 0x10013890
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x100138eb
mov ecx, esi
jmp 0x100138f0
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10013915
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x100138ff
mov eax, dword [eax]
jmp 0x100138e3
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10013d40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x10013db1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10013db1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10013df5
cmp esi, eax
jne 0x10013da5
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x10013dde
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x10013e2b
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x10013e4d
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.1000a380
push edi
call fcn.1001ecd5
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x10013e33
mov dword [ecx], edi
jmp 0x10013e4d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10013e4d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.10013e70
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc

Function at 0x10013fa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov byte [ebp - 1], 0
push esi
push edi
mov ecx, 0x40
mov esi, 0x100a4fb0
mov edi, ebx
mov dword [ebx + 0x200], 1
mov dword [ebx + 0x204], 1
mov word [ebx + 0x208], 0
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, edx
nop
xor edx, edx
mov cl, byte [esi + ebx]
mov eax, esi
div dword [ebp + 8]
movzx eax, byte [edx + edi]
mov dl, byte [ebp - 1]
add al, cl
add dl, al
mov byte [ebp - 1], dl
movzx edx, dl
movzx eax, byte [edx + ebx]
mov byte [esi + ebx], al
inc esi
mov byte [edx + ebx], cl
cmp esi, 0x100
jb 0x10013fe0
lea edi, [ebx + 0x100]
mov esi, ebx
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x200]
sub edx, eax
mov bh, byte [edi + 0x208]
add ecx, eax
sub esi, eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], esi
cmp eax, ecx
jae 0x10014095
sub edx, esi
mov dword [ebp + 0xc], edx
movzx esi, al
mov bl, byte [esi + edi]
add bh, bl
movzx edx, bh
movzx ecx, byte [edx + edi]
mov byte [esi + edi], cl
mov byte [edx + edi], bl
movzx ecx, byte [esi + edi]
mov edx, dword [ebp + 8]
add cl, bl
mov esi, dword [ebp + 0xc]
add edx, eax
movzx ecx, cl
inc eax
movzx ecx, byte [ecx + edi]
xor cl, byte [esi + edx]
mov byte [edx], cl
cmp eax, dword [ebp - 4]
jb 0x10014060
mov byte [edi + 0x208], bh
mov dword [edi + 0x200], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10014290
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x100142a2
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x100142b9
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push ebx
call fcn.10069081
mov esi, eax
add esp, 8
test esi, esi
je 0x1001432e
push esi
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10014325
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10014325
cmp dword [ebp - 4], 0
je 0x10014325
push 0x10
call fcn.1001eceb
mov edx, dword [ebp - 4]
add esp, 4
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push esi
mov ecx, eax
call fcn.10014120
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100678c3
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014a70
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x228], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x18], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x16], ax
call esi
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x12], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x10], ax
mov eax, 0x4e4
mov word [ebp - 0xe], ax
call esi
mov word [ebp - 0xc], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 0xa], ax
nop word [eax + eax]
movzx eax, word [ebp + esi*2 - 0x16]
movzx ecx, word [ebp + esi*2 - 0x18]
add esi, 2
push ebx
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.100140b0
add esp, 0x1c
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10014b44
mov edx, dword [ebp - 0x224]
test edx, edx
jne 0x10014b5e
cmp esi, 8
jb 0x10014ae0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x10014b88
mov ecx, dword [ebp - 0x228]
xor eax, eax
push eax
push edx
call fcn.1000aac0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10014b90
mov ecx, dword [ebp - 0x228]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.1000aac0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 8
Function at 0x10015bd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x100ab06c]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.10015d70
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.1000f610
mov eax, dword [0x100aed3c]
test eax, eax
je 0x10015c39
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x10015d25
cmp dword [ebx], 2
jl 0x10015c7d
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.100685d9
add esp, 4
push eax
push 1
push esi
push edi
call fcn.100688bb
push 2
call fcn.100685d9
add esp, 0x14
push eax
call fcn.1006837b
add esp, 4
lea esi, [ebx + 0xc]
lea edi, [ebx + 8]
call fcn.10015aa0
test al, al
je 0x10015cac
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x100aed40]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], 3
jne 0x10015d25
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x10015ce0
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10060530
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.100173a0
add esp, 4
cmp dword [0x100aed48], 0
je 0x10015d1b
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.1000f610
lea eax, [esp + 0x28]
push eax
call dword [0x100aed48]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.1000a640
jmp 0x10015d25
cmp byte [0x100aed50], 0
jne 0x10015d68
int3
lea ecx, [esp + 0x10]
call fcn.1000a640
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.1000e7a0
push esi
mov dword [esi], 0x100a4edc
call fcn.1001de93
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
push 1
call fcn.1006a3f2
int3
Function at 0x10018100
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x1001811b
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
call fcn.1000fd80
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.1000fea0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.10018060
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret

Function at 0x100192f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x100ab06c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x100aba88]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.1001f057
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x100aed60]
xor dl, dl
test esi, esi
jle 0x10019388
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x10019383
mov eax, dword [esi*4 + 0x100ae600]
test eax, eax
je 0x10019383
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x10019360
dec edi
test edi, edi
jle 0x10019391
test dl, dl
jne 0x10019350
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
Function at 0x10019780
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3bdc
call fcn.1001f860
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x10bc]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.10060f70
push 0x400
lea eax, [ebp - 0x14bc]
push 0
push eax
call fcn.10060f70
push esi
lea eax, [ebp - 0x104]
xor ebx, ebx
push str..PhysicalDrive_d
push eax
call fcn.1001a400
add esp, 0x24
lea eax, [ebp - 0x104]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100199a8
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x3bdc], ebx
lea eax, [ebp - 0x3bcc]
movq qword [ebp - 0x3bd8], xmm0
push ebx
push eax
mov dword [ebp - 0x3bd0], ebx
mov dword [ebp - 0x3bd8], ebx
mov dword [ebp - 0x3bd4], ebx
call fcn.10060f70
add esp, 0xc
lea eax, [ebp - 0x3bdc]
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x3bcc]
push eax
push 0xc
lea eax, [ebp - 0x3bd8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001999b
mov edx, dword [ebp - 0x3bc0]
lea eax, [ebp - 0xcbc]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.10019610
mov edx, dword [ebp - 0x3bbc]
lea eax, [ebp - 0x8d4]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.10019610
mov edx, dword [ebp - 0x3bb8]
lea eax, [ebp - 0xcbc]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.10019610
mov edx, dword [ebp - 0x3bb4]
lea eax, [ebp - 0x4ec]
push eax
push 1
lea ecx, [ebp - 0x3bcc]
call fcn.10019610
add esp, 0x20
cmp byte [ebp - 0x10bc], bl
jne 0x1001994d
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.1006927c
add esp, 4
test eax, eax
jne 0x100198fc
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.1006927c
add esp, 4
test eax, eax
je 0x1001994d
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x10bc]
push 0x400
push eax
call fcn.10063848
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x14bc]
push 0x400
push eax
call fcn.10063848
lea ecx, [ebp - 0x4ec]
add esp, 0x18
mov eax, ecx
mov ebx, 1
sub edi, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x10019940
push 0x2710
lea eax, [ebp - 0x3bcc]
push 0
push eax
call fcn.10060f70
add esp, 0xc
lea eax, [ebp - 0x3bdc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x3bcc]
push eax
push 0
push 0
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ecda
mov esp, ebp
pop ebp
ret
Function at 0x10019ca0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100ab06c]
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 edi, ecx
mov dword [ebp - 0x78], edi
push 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], edi
push 0
push eax
mov dword [ebp - 0x90], 0
call fcn.10060f70
add esp, 0xc
mov byte [ebp - 0x80], 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7f], 0
mov byte [ebp - 0x7b], 0
mov dword [ebp - 0x78], 0
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x10019dc3
push ebx
lea ecx, [ebp - 0x8c]
call fcn.1000f4e0
mov esi, dword [ebp - 0x8c]
mov eax, esi
mov ecx, dword [ebp - 0x88]
sub eax, ecx
add eax, ebx
push eax
push 0
push ecx
call fcn.10060f70
add esp, 0xc
lea eax, [esi + ebx]
mov dword [ebp - 0x88], eax
test esi, esi
je 0x10019dc3
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10019dc3
mov ebx, dword [ebp - 0x80]
nop
lea ecx, [esi + 8]
call fcn.100199c0
mov ecx, eax
cmp ecx, 1
je 0x10019da3
test ecx, ecx
jne 0x10019dbb
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x7c], ax
test ecx, ecx
je 0x10019dc6
mov esi, dword [esi]
test esi, esi
jne 0x10019d90
jmp 0x10019dc6
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x7c]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x80]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.1000e420
mov dword [edi + 0x14], 0xf
add esp, 0x24
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [ebp - 0x74], 0
jne 0x10019e1e
xor ecx, ecx
jmp 0x10019e2d
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019e24
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.1000afc0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x90], 1
mov byte [ebp - 4], 0
call fcn.10015990
mov eax, edi
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.1001ecda
mov esp, ebp
pop ebp
ret