joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006be70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1006becc
cmp dword [esp + 4], 6
jb 0x1006becc
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10081b94
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.10081b94
add esp, 0x118
ret

Function at 0x1006bef0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1009067b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x154]
xorps xmm0, xmm0
mov edi, dword [esp + 0x150]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x148], 0
lea eax, [esp + 0x28]
push 0x110
push 0
push eax
mov dword [esp + 0x30], 0x114
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1006bfb4
cmp dword [esp + 0x28], 6
jb 0x1006bfb4
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.1006c0c0
jmp 0x1006bfbd
lea ecx, [esp + 0x18]
call fcn.1006c670
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jne 0x1006bfcd
xor bl, bl
jmp 0x1006c04b
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
je 0x1006c045
mov ebx, esi
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x1006c03b
lea ecx, [ecx]
mov edx, esi
mov ecx, ebx
call fcn.1006c5d0
test al, al
jne 0x1006c007
add esi, 0x68
cmp esi, dword [edi + 4]
jne 0x1006bff0
jmp 0x1006c03b
mov ecx, dword [esp + 0x14]
push esi
call fcn.1006ca00
push dword [esp + 0x14]
mov edx, dword [edi + 4]
lea ecx, [esi + 0x68]
push esi
call fcn.1006cfb0
mov edx, dword [edi + 4]
add esp, 8
push dword [esp + 0x14]
lea ecx, [edx - 0x68]
push ecx
call fcn.1006d050
add esp, 8
add dword [edi + 4], 0xffffff98
add ebx, 0x68
dec ebp
jne 0x1006bfe6
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [esp + 0x148], 0xffffffff
test esi, esi
je 0x1006c08a
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, esi
call fcn.1006d050
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10081b94
add esp, 0x138
ret 8
Function at 0x1006deb0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10090aa6
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call edi
mov ebx, eax
test ebx, ebx
je 0x1006df7f
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x848], esi
cmp ebx, 0x3fe
jbe 0x1006dfa9
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10081b1c
add esp, 4
mov ebp, eax
mov esi, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], esi
push ebp
push ebx
call edi
test eax, eax
je 0x1006df66
cmp eax, ebx
ja 0x1006df66
xor ecx, ecx
mov ebx, eax
mov dword [ebp + eax*2], ecx
jmp 0x1006dfd1
mov dword [esp + 0x848], 0xffffffff
test ebp, ebp
je 0x1006df7f
push ebp
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.10081b94
add esp, 0x838
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x1006e073
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x1006e073
mov word [esp + eax + 0x3c], cx
xor eax, eax
xor edi, edi
test ebx, ebx
je 0x1006e053
mov esi, dword [esp + 0x18]
mov ebp, 2
cmp word [esi + ebp - 2], 0
jne 0x1006e047
cmp eax, edi
je 0x1006e047
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x24]
call fcn.10002f90
mov byte [esp + 0x848], 1
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.1000ca10
mov byte [esp + 0x848], 0
cmp dword [esp + 0x34], 8
jb 0x1006e02d
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [edi + 1]
mov dword [esp + 0x30], 0
inc edi
add ebp, 2
cmp edi, ebx
jb 0x1006dfe2
mov esi, dword [esp + 0x38]
mov dword [esp + 0x848], 0xffffffff
test esi, esi
je 0x1006e06c
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov al, 1
jmp 0x1006df81
call fcn.100821f9
int3
Function at 0x1006e080
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1006e117
cmp dword [esp + 8], 6
jb 0x1006e117
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.10081b94
add esp, 0x118
ret
Function at 0x1006e130
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10090b0c
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push str.wintrust.dll
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.10003000
mov dword [esp + 0x50], 0
mov eax, dword [0x100b084c]
test al, 1
jne 0x1006e1cf
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x50], 1
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x50], 0
lea eax, [esp + 0x18]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov edi, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1006e1fe
push dword [esp + 0x18]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
push 0xb
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], eax
push str.crypt32.dll
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.10003000
mov dword [esp + 0x50], 2
mov eax, dword [0x100b084c]
test al, 1
jne 0x1006e27d
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x50], 3
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x50], 2
lea eax, [esp + 0x30]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov ebp, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x1006e2a6
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
test edi, edi
je 0x1006e339
test ebp, ebp
je 0x1006e339
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push ebp
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x1006f8b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10090c7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.10003100
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.10003100
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.10003100
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov byte [edi + 0x64], al
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10070e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10090de8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x54]
push edi
push eax
call fcn.100714c0
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.10014700
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x20]
movq qword [esp + 0x20], xmm0
call fcn.10005100
mov byte [esp + 0x48], 2
lea eax, [esp + 0x13]
push eax
push esi
push edi
mov byte [esp + 0x1f], 0
call fcn.10070f50
test al, al
jne 0x10070ebc
cmp byte [esp + 0x13], al
je 0x10070ebc
cmp dword [edi + 0x14], 8
jb 0x10070eb5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x1c]
call fcn.10005150
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10070ee6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x10070f09
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10081b94
add esp, 0x40
ret 8
Function at 0x10072700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x100b0530], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x100b0630], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x100b0730], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x100b0430], al
inc esi
cmp esi, 0x100
jl 0x10072810
pop esi
add esp, 0x80
ret

Function at 0x10074f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10085819
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x10074fbc
xor esi, esi
jmp 0x10074fca
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10074fc1
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.10075010
push eax
mov ecx, edi
call fcn.10014180
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x100778d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100919fc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x10077943
push 0x10
call fcn.10081b1c
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x10077936
push 0x10075a30
push 0x10075a20
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.100829f4
jmp 0x10077938
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x10077957
cmp byte [ecx + eax - 1], 0xa
jne 0x10077957
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.10075a40
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x1007e620
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1007e62b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1007e640
Function at 0x1007f4a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100923b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 4], eax
call fcn.1007f210
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.100816f0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x1007f5c2
mov edx, 0x10
lea ecx, [ebp - 0x2c]
call fcn.1000ac50
push edi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.1000b150
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
push 0x10093b18
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.10003000
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x1007f589
push dword [ebp - 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x48], 8
jb 0x1007f5ae
push dword [ebp - 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1007f5d7
push dword [ebp - 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10081b94
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007f610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100923f8
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x180], ecx
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.10003100
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x1007f6a1
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x1007f6a1
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.10003100
push 7
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.10080e50
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x1007f761
push 0
sub esp, 8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x180]
push ebx
push edi
call fcn.1007ede0
lea ecx, [ebp - 0x17c]
call fcn.1000aa70
mov eax, dword [ebp - 0x178]
cmp eax, 6
ja 0x1007f742
jne 0x1007f6fc
cmp dword [ebp - 0x174], 1
jae 0x1007f742
push 0x1009b4e0
lea ecx, [ebp - 0x5c]
call fcn.10002f90
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100811f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
jb 0x1007f72c
push dword [ebp - 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jmp 0x1007f761
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push 0
push 0
push eax
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x1007f773
push dword [ebp - 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1007f79c
push dword [ebp - 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10081b94
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10080070
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092558
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [section..data]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
cmp dword [ebx + 0x10], 0
je 0x10080220
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor edi, edi
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x1009b5d0]
cmp ecx, 0x19
ja 0x100800f7
call fcn.1007f210
jmp 0x100800fa
or eax, 0xffffffff
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.100816f0
test al, al
jne 0x10080126
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x10080204
push dword [ebp - 0x28]
call esi
add esp, 4
jmp 0x10080204
push ebx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.1000add0
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1008016d
cmp dword [ebp - 0x14], 8
jb 0x10080150
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10004a60
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x1008017f
push dword [ebp - 0x58]
call esi
add esp, 4
push dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x44], 7
lea edx, [ebp - 0x28]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
mov word [ebp - 0x58], ax
call fcn.1000add0
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10014eb0
test al, al
je 0x100801c6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x100801d8
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x10080201
push dword [ebp - 0x28]
call esi
add esp, 4
mov ebx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x14], 7
add edi, 4
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
cmp edi, 8
jb 0x100800c0
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.10081b94
mov esp, ebp
pop ebp
ret 8