joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1002c018]
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
xor ebx, ebx
mov ecx, 0xa9
xor eax, eax
mov dl, byte [eax + 0x100273b4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x7c], dl
jns 0x10016f81
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3e
jl 0x10016f64
push 0x1015c18c
push 0xf003f
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x80000002
mov byte [ebp - 0x3e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, 1
mov eax, 0x100273f4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10001570
mov dword [ebp - 4], ebx
lea ebx, [esi + 4]
call fcn.10003360
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10016fd3
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10017900
push 1
mov eax, 0x100273f8
lea ecx, [ebp - 0x2c]
call fcn.10017900
call fcn.10003360
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10017000
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10017900
push 1
mov eax, 0x100273f8
lea ecx, [ebp - 0x2c]
call fcn.10017900
call fcn.10003360
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017030
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10017030
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10017900
push 1
mov eax, 0x100273f8
lea ecx, [ebp - 0x2c]
call fcn.10017900
call fcn.10003360
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017060
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10017060
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10017900
push 1
mov eax, 0x100273f8
lea ecx, [ebp - 0x2c]
call fcn.10017900
call fcn.10003360
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017090
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10017090
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10017900
push 1
mov eax, 0x100273fc
lea ecx, [ebp - 0x2c]
call fcn.10017900
mov ecx, 0xa9
xor eax, eax
jmp 0x100170c0
mov dl, byte [eax + 0x10027400]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x100170dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x100170c0
mov eax, dword [ebp - 0x2c]
mov ebx, 0x10
mov byte [ebp - 0x2f], 0
cmp dword [ebp - 0x18], ebx
jae 0x100170f7
lea eax, [ebp - 0x2c]
mov ecx, dword [0x1015c18c]
push 0x1f
push eax
push 1
push 0
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x10016ec0
mov esi, 7
call fcn.10002e10
add esp, 4
mov dword [0x1015d300], eax
cmp dword [ebp - 0x18], ebx
jb 0x1001713e
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1001e692
mov esp, ebp
pop ebp
ret
Function at 0x10017760
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push edi
push esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], 0x2a5c7325
mov word [ebp - 0x10c], 0x2a2e
mov byte [ebp - 0x10a], 0
call ebx
add esp, 0xc
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
nop
lea ecx, [ebp - 0x224]
push ecx
push esi
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x110], 0x255c7325
mov word [ebp - 0x10c], 0x73
call ebx
add esp, 0x10
xor eax, eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], eax
mov word [ebp - 0x10c], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x250]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100177c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001e692
mov esp, ebp
pop ebp
ret

Function at 0x10017840
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1002c018]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100178da
push 0x1015efb8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, 0x1015efb8
call fcn.10017760
mov esi, str.C:Windowsprefetch
call fcn.10017760
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x742e4d47
mov word [esp + 0x14], 0x7478
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov dword [esp + 0xc], eax
mov word [esp + 0x10], ax
mov byte [esp + 0x12], al
call fcn.1001e510
mov edi, 0x1000f420
mov ecx, eax
call fcn.1001e440
call fcn.1001e510
mov edi, 0x10017510
mov ecx, eax
call fcn.1001e440
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.1001e692
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020b98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x10019bf8
cmp byte [edi + 0x49], 0
je 0x10019bf8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x10019bec
lea esi, [ebp - 0x2c]
call fcn.10019790
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x10019b4b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10019b50
dec eax
je 0x10019b54
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x10019bf3
call fcn.100013c0
xor al, al
jmp 0x10019bfa
mov eax, dword [ebp - 0x2c]
jmp 0x10019b15
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x10019b63
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x10019b88
mov eax, edx
cmp ecx, ebx
jae 0x10019b73
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10019be4
cmp byte [edi + 0x49], 0
je 0x10019bf0
test esi, esi
jne 0x10019b06
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x10019c15
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10001640
test al, al
je 0x10019b06
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x10019bc1
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x10019bdb
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10019b06
lea esi, [ebp - 0x2c]
call fcn.100013c0
xor al, al
jmp 0x10019bfa
lea esi, [ebp - 0x2c]
call fcn.100013c0
mov al, 1
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.1001e692
mov esp, ebp
pop ebp
ret
push 0x10023abc
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x1001acb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xf1
xor ecx, ecx
jmp 0x1001acc0
mov al, byte [edi + ecx - 0x210f19]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001acdd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001acc0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001b380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001b390
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b3ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x26
jl 0x1001b390
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001b3c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001b3d0
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b3ed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x20
jl 0x1001b3d0
mov byte [esi + 0x20], 0
mov eax, esi
ret

Function at 0x1001bb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x29
xor ecx, ecx
jmp 0x1001bb50
mov al, byte [edi + ecx + 0x1e7b41dd]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bb6d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bb50
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bb80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001bb90
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bbad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bb90
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bbc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x49
xor ecx, ecx
jmp 0x1001bbd0
mov al, byte [edi + ecx + 0x16440e0f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bbed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bbd0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfa
xor ecx, ecx
jmp 0x1001c2e0
mov al, byte [edi + ecx - 0x2b3158]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c2fd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c2e0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c5c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001c5d0
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c5ed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c5d0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1d
xor ecx, ecx
jmp 0x1001c990
mov al, byte [edi + ecx - 0x1a1d45]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c9ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c990
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001de20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020e58
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001de83
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001dbe0
mov ecx, esi
call fcn.1001dc90
mov ecx, edi
mov ebx, esi
call fcn.1001dd70
cmp dword [ebp + 0x1c], 0x10
jb 0x1001deb2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
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.1001e692
mov esp, ebp
pop ebp
ret
Function at 0x1001e1b0
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020608
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x1002769c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001e20d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001e1f0
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.1001df70
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001e261
xor eax, eax
jmp 0x1001e298
push esi
push eax
call fcn.1001df70
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001e25d
test edi, edi
jle 0x1001e28f
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x1001e280
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x1001e280
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e692
mov esp, ebp
pop ebp
ret

Function at 0x1001e692
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002c018]
jne 0x1001e69c
repz ret
jmp fcn.1001eb5b
Function at 0x100055d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100162cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10020008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1000560d
mov dword [edi], 0
cmp dword [esi + 4], 0
jne 0x10005631
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov bl, byte [ebp + 8]
test bl, bl
je 0x1000563e
mov byte [ebp + 0x14], 0
jmp 0x10005646
cmp dword [ebp + 0x1c], 0
setne byte [ebp + 0x14]
push 0x34
mov dword [ebp - 4], 0
call fcn.10008f95
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10005677
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push esi
call fcn.10006240
mov esi, eax
jmp 0x10005679
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov dword [ebp + 0x14], eax
mov dword [ebp + 8], 0
test eax, eax
je 0x10005778
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x100056c8
lea eax, [esi + 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x18]
test bl, bl
je 0x100056c0
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1000572e
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000572e
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x28], eax
test bl, bl
mov eax, ecx
mov dword [ebp + 0x10], 0
cmovne eax, edx
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, edx
cmovne eax, dword [ebp + 0x10]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
jne 0x100056fa
lea edx, [esi + 0x2c]
lea eax, [esi + 0x10]
test bl, bl
push eax
lea eax, [ebp + 8]
push eax
mov eax, 4
cmovne eax, ecx
mov ecx, 0x22403a
push eax
push edx
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, 0x22803c
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
test edi, edi
je 0x10005739
mov eax, dword [ebp + 8]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
jne 0x10005778
cmp edi, 0x3e5
je 0x10005778
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [ebp + 0x14]
call dword [eax + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10006240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015f78
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10020008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 3
mov dword [esi + 0xc], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.AdbIOCompletion.0
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movdqu xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x20], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x30], al
mov eax, esi
mov dword [esi], vtable.AdbLegacyIOCompletion.0
mov dword [esi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000b8da
Capabilities:
Enumerate pe sections

Disassembly:
je 0x1000bedd
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
jne 0x1000b8ac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000babf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000b6f4

Function at 0x1000baf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.1000b6a9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
pop ecx
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000b6f4
push eax
push esi
push dword [ebp + 8]
call fcn.1000b6a9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000b6e4
fnstcw word [edi - 0x6277a198]
jl 0x1000bb69
invalid
invalid

Function at 0x1000bb7f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1000b6e4
invalid
Function at 0x402f10
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x403488
call fcn.0040323c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043a0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d98
cmp eax, esi
jne 0x402d8b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d9b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402d6f
xor esi, esi
inc esi
cmp dword [0x4043a4], esi
jne 0x402dad
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402de7
cmp dword [0x4043a4], ebx
jne 0x402de1
mov dword [0x4043a4], esi
push 0x4011a8
push 0x40119c
call fcn.00576000
pop ecx
pop ecx
test eax, eax
je 0x402de7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402ebc
mov dword [0x404034], esi
cmp dword [0x4043a4], esi
jne 0x402e0a
push 0x401198
push 0x401190
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043a4], 2
test edi, edi
jne 0x402e17
xor eax, eax
mov ecx, 0x4043a0
xchg dword [ecx], eax
cmp dword [0x4043a8], 0
je 0x402e43
push 0x4043a8
call fcn.00403090
pop ecx
test eax, eax
je 0x402e43
push ebx
push 2
push ebx
mov esi, dword [0x4043a8]
mov ecx, esi
call dword [0x40515c]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401a43
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402ea1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402eb5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403284
ret
call fcn.00403183
jmp 0x402d53

Function at 0x402f94
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4034a8
call fcn.0040340c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402ff4
cmp eax, 0xffffffff
je 0x402ff4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402fed
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402fed
cmp edx, 0x10000000
jae 0x402fed
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402fea
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00403451
ret 4

Function at 0x403040
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40307e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403076
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403080
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403066
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret