joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100622f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
fld qword [ecx]
sub esp, 0x24
lea eax, [esp]
push eax
sub esp, 8
fstp qword [esp]
call fcn.100620c0
add esp, 0xc
test al, al
je 0x10062368
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.1007dae0
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x1c]
mov word [esi], dx
movzx edx, word [esp + 0x10]
mov word [esi + 2], ax
movzx eax, word [esp + 0xc]
mov word [esi + 4], cx
movzx ecx, word [esp + 8]
mov word [esi + 6], dx
movzx edx, word [esp + 4]
mov word [esi + 8], ax
mov word [esi + 0xa], cx
mov word [esi + 0xc], dx
mov word [esi + 0xe], 0
mov byte [esi + 0x10], 1
pop esi
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
add esp, 0x24
jmp fcn.1007e4c0

Function at 0x10068660
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable.Md5.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x100688c0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.100686c0
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.10068790
pop esi
ret 0xc
Function at 0x1006ae40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
xor eax, eax
cmp dword [esp + 0x14], eax
push edi
mov esi, ecx
jg 0x1006ae5f
jl 0x1006ae57
cmp dword [esp + 0x14], eax
jae 0x1006ae5f
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0x30]
push ebx
mov ebx, dword [esi + 0x2c]
push ebp
mov ebp, dword [esi + 0x34]
push ebx
mov byte [esp + 0x17], al
mov eax, dword [esi + 0x28]
push eax
push ebp
push edi
call fcn.1006ab90
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x40]
test al, al
jne 0x1006aeab
add edi, dword [esp + 0x1c]
adc ebp, dword [esp + 0x20]
mov dword [esi + 0x30], edi
mov ecx, ebp
cmp ecx, ebx
mov dword [esi + 0x34], ebp
jl 0x1006aeab
jg 0x1006aea2
mov edx, edi
cmp edx, dword [esi + 0x28]
jbe 0x1006aeab
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
xor edi, edi
test al, al
jne 0x1006aec7
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
push ebx
push eax
mov eax, dword [esi + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.1006ab90
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
pop ebp
pop ebx
je 0x1006af57
cmp byte [esi + 0x40], 0
jne 0x1006af0d
cmp edi, dword [esp + 0xc]
jbe 0x1006af0d
cmp edi, dword [esi + 0x14]
jbe 0x1006af0d
call sub.KERNEL32.dll_GetTickCount
cmp byte [esi + 0x42], 0
mov dword [esi + 0x20], eax
je 0x1006aef8
cmp edi, 0x64
je 0x1006af4c
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0xb]
mov dword [esi + 0x14], edi
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
jmp 0x1006af4c
test eax, eax
je 0x1006af57
cmp byte [esi + 0x41], 0
jne 0x1006af57
cmp dword [esi + 0x38], 0
je 0x1006af57
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esi + 0x38]
mov ecx, eax
sub ecx, dword [esi + 0x20]
test edx, edx
jne 0x1006af33
mov edx, 0x12c
cmp ecx, edx
jbe 0x1006af57
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0xb]
push edx
call eax
cmp byte [esp + 0xb], 0
je 0x1006af57
mov byte [esi + 0x1c], 1
mov al, byte [esi + 0x1c]
pop edi
pop esi
add esp, 8
ret 8
Function at 0x10076110
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x24]
mov esi, 0x10
lea ecx, [ecx]
mov dl, byte [eax + 0x20]
mov cl, byte [eax - 0x10]
xor cl, dl
mov byte [eax], dl
mov byte [eax + 0x10], cl
add eax, 1
sub esi, 1
jne 0x10076120
xor dl, dl
xor ebx, ebx
lea esi, [edi + 0x15]
lea esp, [esp]
mov eax, esi
mov ecx, 8
jmp 0x10076150
movzx edx, dl
movzx edx, byte [edx + str._.C]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str._.C]
xor byte [eax + 4], dl
mov dl, byte [eax + 4]
add eax, 6
sub ecx, 1
jne 0x10076150
add dl, bl
add ebx, 1
cmp ebx, 0x12
jl 0x10076140
pop edi
pop esi
pop ebx
ret

Function at 0x100761c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dl, byte [ecx + 0x13]
push esi
lea eax, [ecx + 4]
mov esi, 4
lea esp, [esp]
movzx ecx, byte [eax + 0x40]
movzx edx, dl
xor ecx, edx
movzx ecx, byte [ecx + str._.C]
xor byte [eax], cl
mov cl, byte [eax]
movzx edx, byte [eax + 0x41]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
mov cl, byte [eax + 1]
movzx edx, byte [eax + 0x42]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
mov cl, byte [eax + 2]
movzx edx, byte [eax + 0x43]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
mov dl, byte [eax + 3]
add eax, 4
sub esi, 1
jne 0x100761d0
pop esi
ret
Function at 0x10078504
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x68], 0x76543210
mov dword [esi + 0x6c], 0xfedcba98
mov dword [esi + 0x70], 0x89abcdef
mov dword [esi + 0x74], 0x1234567
mov dword [esi + 0x78], 0x3c2d1e0f
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10036460
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10078577
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.1008e9c0
test al, al
jne 0x10078617
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.1008f1d0
test al, al
je 0x10078616
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100785f4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100785d5
push eax
push edi
call fcn.10024990
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.10078050
test ebp, ebp
je 0x100785f4
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.1006ae40
test al, al
jne 0x10078603
mov ecx, dword [esp + 0x1c]
call fcn.1008e9c0
test al, al
je 0x100785a0
jmp 0x10078616
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.1009919f
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.10078100
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10079944
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10036460
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100799a9
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.1008e9c0
test al, al
jne 0x10079a47
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.1008f1d0
test al, al
je 0x10079a46
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10079a24
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10079a05
push eax
push edi
call fcn.10024990
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.10079500
test ebp, ebp
je 0x10079a24
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.1006ae40
test al, al
jne 0x10079a33
mov ecx, dword [esp + 0x1c]
call fcn.1008e9c0
test al, al
je 0x100799d0
jmp 0x10079a46
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.1009919f
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.100795b0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10088940
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
mov ebx, 1
jle 0x10088986
push ebp
push edi
movzx edi, dl
jmp 0x10088960
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x1012b898]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x10088960
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x10088a0e
sub ecx, ebx
je 0x100889f3
sub ecx, ebx
je 0x100889e7
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x10093110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cd803
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1012c310]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FileDataSource.0
cmp byte [esi + 0x28], 0
mov dword [esp + 0x14], 1
je 0x1009315b
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1009315b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0
mov byte [esp + 0x14], 0
call fcn.1003c9d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.1008eac0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10093f10
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x10132c80], 0
jne 0x10094072
cmp byte [0x10132c81], 0
jne 0x1009406a
cmp dword [0x10132c84], 0
jne 0x10094072
push ebp
push esi
push edi
push 0x400
mov byte [0x10132c81], 1
call fcn.1009a24f
add esp, 4
mov edi, eax
xor esi, esi
push 8
push esi
call fcn.10093af0
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
add esp, 8
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov dword [edi + esi*4], eax
xor edx, edx
mov ecx, 0x1f
test al, 1
je 0x10094022
mov ebp, 1
shl ebp, cl
or edx, ebp
sub ecx, 1
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10094015
mov dword [edi + esi*4], edx
add esi, 1
cmp esi, 0xff
jbe 0x10093f52
cmp dword [0x10132c84], 0
jne 0x1009404f
mov dword [0x10132c84], edi
jmp 0x10094058
push edi
call fcn.1009919f
add esp, 4
pop edi
pop esi
mov byte [0x10132c80], 1
mov byte [0x10132c81], 0
pop ebp
ret
push 1
call fcn.10054880
pop ecx
ret

Function at 0x10096904
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012c310]
jne 0x1009690e
repz ret
jmp fcn.1009e770
Function at 0x100b5bf1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100a02cc
and dword [ebp - 4], 0
cmp dword [0x101336fc], 0
mov ebx, eax
jne 0x100b5ca2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b5d53
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1010bff8
push edi
call esi
test eax, eax
je 0x100b5d53
push eax
call fcn.100a025a
mov dword [esp], 0x1010bfe8
push edi
mov dword [0x101336fc], eax
call esi
push eax
call fcn.100a025a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10133700], eax
call esi
push eax
call fcn.100a025a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10133704], eax
call esi
push eax
call fcn.100a025a
pop ecx
mov dword [0x1013370c], eax
test eax, eax
je 0x100b5ca2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100a025a
pop ecx
mov dword [0x10133708], eax
mov eax, dword [0x10133708]
cmp eax, ebx
je 0x100b5cfa
cmp dword [0x1013370c], ebx
je 0x100b5cfa
push eax
call fcn.100a02d5
push dword [0x1013370c]
mov esi, eax
call fcn.100a02d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b5cfa
test edi, edi
je 0x100b5cfa
call esi
test eax, eax
je 0x100b5cf1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b5cf1
test byte [ebp - 0xc], 1
jne 0x100b5cfa
or dword [ebp + 0x10], 0x200000
jmp 0x100b5d33
mov eax, dword [0x10133700]
cmp eax, ebx
je 0x100b5d33
push eax
call fcn.100a02d5
pop ecx
test eax, eax
je 0x100b5d33
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b5d33
mov eax, dword [0x10133704]
cmp eax, ebx
je 0x100b5d33
push eax
call fcn.100a02d5
pop ecx
test eax, eax
je 0x100b5d33
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101336fc]
call fcn.100a02d5
pop ecx
test eax, eax
je 0x100b5d53
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b5d55
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c33e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100c3451
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100c3451
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100c343a
jmp 0x100c3451
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x100c3b20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10133a6c], 0
je 0x100c3b39
mov eax, dword [0x10133a6c]
jmp 0x100c3cdb
mov dword [0x10133a6c], 0x10133a44
push 0x28
push 0
push 0x10133a44
call fcn.1009aff0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10133a44], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10133a48], eax
cmp dword [0x10133a48], 0
jne 0x100c3b7f
xor eax, eax
jmp 0x100c3cdb
push str.ImagehlpApiVersionEx
mov eax, dword [0x10133a48]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a4c], eax
push str.SymInitialize
mov ecx, dword [0x10133a48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a50], eax
push str.SymSetOptions
mov edx, dword [0x10133a48]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a54], eax
push str.SymGetOptions
mov eax, dword [0x10133a48]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a58], eax
push str.SymLoadModule
mov ecx, dword [0x10133a48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a5c], eax
push str.SymGetModuleInfo
mov edx, dword [0x10133a48]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a60], eax
push str.SymGetSymFromName
mov eax, dword [0x10133a48]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a64], eax
push str.BindImage
mov ecx, dword [0x10133a48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10133a68], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.1009aff0
add esp, 0xc
mov word [ebp - 8], 7
cmp dword [0x10133a4c], 0
je 0x100c3c5d
lea eax, [ebp - 8]
push eax
call dword [0x10133a4c]
cmp dword [0x10133a4c], 0
je 0x100c3c74
mov ecx, dword [ebp - 8]
and ecx, 0xffff
cmp ecx, 7
jge 0x100c3c8f
mov edx, dword [0x10133a48]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10133a48], 0
xor eax, eax
jmp 0x100c3cdb
cmp dword [0x10133a50], 0
je 0x100c3ca8
push 0
push 0
mov eax, dword [0x10133a44]
push eax
call dword [0x10133a50]
cmp dword [0x10133a58], 0
je 0x100c3cd6
cmp dword [0x10133a54], 0
je 0x100c3cd6
call dword [0x10133a58]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10133a54]
mov eax, dword [0x10133a6c]
mov esp, ebp
pop ebp
ret
Function at 0x100c4430
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cd18
push 0x100c5380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x100c446d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x100c44a5
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x100c4609
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x100c44dd
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x100c4609
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x100c450b
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x100c4609
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x100c4530
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x100c45e3
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.100a81c0
add esp, 8
test eax, eax
jne 0x100c45de
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x100c457f
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x100c4581
jmp 0x100c45e3
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x30
jb 0x100c45ae
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x100c45b0
jmp 0x100c45e3
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x100c45c4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x100c4609
jmp 0x100c4527
mov dword [ebp - 4], 0xffffffff
jmp 0x100c45fc
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406d10
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, edx
mov ebx, ecx
mov esi, dword [esp + 0x1c]
push esi
push 0x200
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
add esp, 8
test eax, eax
je 0x406e31
mov edi, eax
test ebp, ebp
jne 0x406d8a
mov dword [esp], ebp
push edi
push 0xfffffe00
push 0
push 0
push dword [ebx + 4]
call fcn.0041ab80
add esp, 0x14
test eax, eax
je 0x406e0b
mov ebp, eax
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov dword [esp + 4], eax
push ebp
call fcn.004227d0
add esp, 4
push eax
push str.Warning:_could_not_read_block_0:__s_n
push dword [esp + 0xc]
call fcn.00407010
add esp, 0xc
mov ebp, dword [esp]
shl esi, 9
push esi
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push 0x200
push eax
call dword [ecx + 0x10]
add esp, 8
neg esi
push edi
push esi
push 0
push ebp
push dword [ebx + 4]
call fcn.0041abc0
add esp, 0x14
mov esi, ebp
mov ebp, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push dword [ebx + 0x14]
push eax
call dword [ecx + 0x10]
add esp, 8
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebp, ebp
je 0x406e06
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov edi, eax
push ebp
call fcn.004227d0
add esp, 4
push eax
push esi
push str.Warning:_could_not_erase_sector__d:__s_n
push edi
call fcn.00407010
add esp, 0x18
jmp 0x406e2c
add esp, 8
jmp 0x406e2c
mov eax, dword [edi + 0x40]
cmp eax, 0x57455682
mov ebp, dword [esp]
je 0x406e23
cmp eax, 0x82564557
jne 0x406d8a
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + ebp]
dec eax
push eax
push ebp
push str.Out_of_memory_erasing_sectors__d__d_n
call fcn.00406ce0
add esp, 0xc
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop dword [eax + eax]