joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cdb4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x260], 0
and dword [ebp - 0x25c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], eax
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001770
cmp eax, esi
je 0x100ce1c
test byte [eax + 0x1c], 4
je 0x100ce1c
cmp byte [eax + 0x19], 5
jb 0x100ce1c
push edi
push 0xfa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
jne 0x100ce79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x258], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ce6e
test byte [eax + 0x1c], 4
je 0x100ce6e
cmp byte [eax + 0x19], 3
jb 0x100ce6e
push ebx
push dword [ebp - 0x258]
push edi
push 0xfb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
mov eax, dword [ebp - 0x258]
jmp 0x100cf49
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
xor eax, eax
xor ebx, ebx
or eax, edx
or ecx, ebx
add dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
adc dword [ebp - 0x25c], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100ce79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x100ceea
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ceea
test byte [eax + 0x1c], 4
je 0x100ceea
cmp byte [eax + 0x19], 2
jb 0x100ceea
push dword [ebp - 0x264]
push ebx
push edi
push 0xfc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x100cf27
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100cf27
test byte [eax + 0x1c], 4
je 0x100cf27
cmp byte [eax + 0x19], 2
jb 0x100cf27
push dword [ebp - 0x264]
push ebx
push edi
push 0xfd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
cmp ebx, 0x12
jne 0x100cf47
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x25c]
mov dword [eax + 4], ecx
xor eax, eax
jmp 0x100cf49
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105b7af
leave
ret 8
Function at 0x100ecf1
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1001770
cmp eax, esi
je 0x100ed43
test byte [eax + 0x1c], 4
je 0x100ed43
cmp byte [eax + 0x19], 5
jb 0x100ed43
push ebx
push 0xea
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp + 0xc], 0
mov eax, 0x10019e0
jne 0x100ed53
mov eax, 0x10019d4
push eax
push edi
push 0x10019a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01009a76
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x100edb0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ed9b
test byte [eax + 0x1c], 4
je 0x100ed9b
cmp byte [eax + 0x19], 2
jb 0x100ed9b
push edi
push ebx
push 0xeb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
movzx eax, di
je 0x100ee06
mov eax, edi
jmp 0x100ee06
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100ee00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ee00
test byte [eax + 0x1c], 4
je 0x100ee00
cmp byte [eax + 0x19], 2
jb 0x100ee00
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0xec
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105b7af
leave
ret 8
Function at 0x100ee1c
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x100ee7f
test byte [eax + 0x1c], 4
je 0x100ee7f
cmp byte [eax + 0x19], 5
jb 0x100ee7f
push 0x1001770
push 0xed
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp + 0xc], 0
mov eax, 0x10019e0
jne 0x100ee8f
mov eax, 0x10019d4
push eax
push edi
push 0x10019a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01009a76
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x100ef02
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100eedb
test byte [eax + 0x1c], 4
je 0x100eedb
cmp byte [eax + 0x19], 2
jb 0x100eedb
push edi
push 0x1001770
push 0xee
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x100eef7
movzx eax, di
mov dword [ebp - 0x210], eax
jmp 0x100f006
mov dword [ebp - 0x210], edi
jmp 0x100f006
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100eff6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [ebp - 0x210], eax
cmp eax, 0xb7
jne 0x100efbd
and dword [ebp - 0x210], 0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ef69
test byte [eax + 0x1c], 4
je 0x100ef69
cmp byte [eax + 0x19], 5
jb 0x100ef69
lea ecx, [ebp - 0x20c]
push ecx
push 0x1001770
push 0xef
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100915e
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100cd17
test eax, eax
jne 0x100efb9
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100f006
test byte [eax + 0x1c], 4
je 0x100f006
cmp byte [eax + 0x19], 2
jb 0x100f006
push dword [ebp - 0x210]
push 0x1001770
push 0xf0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x100f006
xor ecx, ecx
jmp 0x100eff9
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100f006
test byte [eax + 0x1c], 4
je 0x100f006
cmp byte [eax + 0x19], 2
jb 0x100f006
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
push 0x1001770
push 0xf1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x100f006
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax], 0
je 0x100f006
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105b7af
leave
ret 0x10
Function at 0x10112a8
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001a94
cmp eax, esi
je 0x10112dd
test byte [eax + 0x1c], 4
je 0x10112dd
cmp byte [eax + 0x19], 5
jb 0x10112dd
push edi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push ebx
push 2
push 0
push dword [ebp + 8]
mov ebx, 0x80000002
push ebx
call fcn.0105fce9
mov dword [ebp - 4], eax
test eax, eax
jne 0x101132b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1011374
test byte [eax + 0x1c], 4
je 0x1011374
cmp byte [eax + 0x19], 3
jb 0x1011374
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x1075004]
push edi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x1011374
mov esi, 0x1001ab4
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1011366
mov ecx, dword [0x1075004]
cmp ecx, 0x1075004
je 0x1011366
test byte [ecx + 0x1c], 4
je 0x1011366
cmp byte [ecx + 0x19], 3
jb 0x1011366
push eax
push esi
push edi
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010091cb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x1075004
push dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
call fcn.010601a8
pop ebx
test eax, eax
jne 0x10113b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10113b8
test byte [eax + 0x1c], 4
je 0x10113b8
cmp byte [eax + 0x19], 2
jb 0x10113b8
push dword [ebp - 4]
push dword [ebp + 8]
push edi
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x1012c43
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1012c77
test byte [eax + 0x1c], 4
je 0x1012c77
cmp byte [eax + 0x19], 5
jb 0x1012c77
push 0x1001a94
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [ebx + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x1012c9a
mov edi, dword [esi + 8]
push dword [edi + 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1012ca3
mov esi, dword [esi]
cmp esi, dword [ebx + 4]
jne 0x1012c80
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1012cac
mov dword [eax], esi
mov eax, edi
jmp 0x1012c9c

Function at 0x10152be
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
test dword [ebp + 0xc], eax
jne 0x10152d2
xor eax, eax
jmp 0x101530b
cmp eax, 4
je 0x1015308
cmp eax, 8
je 0x1015308
cmp dword [ebp + 0x10], 0
jne 0x1015308
cmp eax, 2
jne 0x10152ef
mov eax, dword [ecx + 0x15c]
jmp 0x10152f1
mov eax, ecx
push dword [eax + 0xf8]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x101530b
xor eax, eax
inc eax
pop ebp
ret 0x10
Function at 0x1023e56
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
push eax
push eax
push 1
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1001d68
cmp eax, esi
je 0x1023e9b
test byte [eax + 0x1c], 4
je 0x1023e9b
cmp byte [eax + 0x19], 5
jb 0x1023e9b
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
push 0xffffffffffffffff
push 0x1001da0
call fcn.01062abc
mov edi, 0x1077e90
push edi
call fcn.01023c04
push 0x1001d78
mov dword [0x1077e8c], 0x1001638
mov dword [0x1075004], edi
call fcn.01023cd5
mov eax, dword [0x1075004]
pop edi
cmp eax, esi
je 0x1023efd
test byte [eax + 0x1c], 4
je 0x1023efd
cmp byte [eax + 0x19], 5
jb 0x1023efd
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 1
call sub.GDI32.dll_EnableEUDC
test eax, eax
je 0x1023f48
push 0x107507c
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1023f6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1023f6b
test byte [eax + 0x1c], 4
je 0x1023f6b
cmp byte [eax + 0x19], 2
jb 0x1023f6b
push dword [ebp - 4]
push ebx
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x1023f6b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1023f6b
test byte [eax + 0x1c], 4
je 0x1023f6b
cmp byte [eax + 0x19], 2
jb 0x1023f6b
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
call fcn.01023d23
call fcn.010629e4
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x10
Function at 0x1023fa9
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov eax, dword [0x1075004]
mov edi, 0x1075004
cmp eax, edi
je 0x1023fde
test byte [eax + 0x1c], 4
je 0x1023fde
cmp byte [eax + 0x19], 5
jb 0x1023fde
push 0x1001d68
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x2001f
push 0
push 0x1001bb0
push 0x80000002
call fcn.0105fce9
mov ebx, eax
test ebx, ebx
jne 0x102403e
mov eax, dword [0x1075004]
cmp eax, edi
je 0x102411a
test byte [eax + 0x1c], 4
je 0x102411a
cmp byte [eax + 0x19], 2
jb 0x102411a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x1001d68
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x102411a
push esi
lea eax, [ebp - 4]
push eax
push 1
push 0
mov esi, 0x1001b9c
push esi
push ebx
call fcn.01069504
cmp dword [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x10240e5
cmp dword [ebp - 4], 0
je 0x10240b0
test eax, eax
jne 0x102406f
mov eax, 0x1001768
push 1
push eax
push esi
push ebx
call fcn.01069247
test eax, eax
jne 0x10240e5
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10240b0
test byte [eax + 0x1c], 4
je 0x10240b0
cmp byte [eax + 0x19], 2
jb 0x10240b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x1001d68
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10240e5
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x10240e5
test byte [ecx + 0x1c], 4
je 0x10240e5
cmp byte [ecx + 0x19], 2
jb 0x10240e5
push eax
push 0x1001d68
push 0x2e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
test esi, esi
je 0x1024119
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10240f8
sub eax, edx
sar eax, 1
add eax, eax
mov ecx, esi
je 0x1024113
mov byte [ecx], 0
inc ecx
dec eax
jne 0x102410c
push esi
call fcn.0105c21c
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1024fdc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001d68
cmp eax, esi
je 0x1025018
test byte [eax + 0x1c], 4
je 0x1025018
cmp byte [eax + 0x19], 5
jb 0x1025018
push edi
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push ebx
push ebx
push ebx
push 0x1024123
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x102506c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10250e6
test byte [eax + 0x1c], 4
je 0x10250e6
cmp byte [eax + 0x19], 2
jb 0x10250e6
push dword [ebp - 4]
push edi
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x10250e6
push 0x1001e78
push eax
call fcn.01042749
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10250ac
call ebx
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10250ac
test byte [eax + 0x1c], 4
je 0x10250ac
cmp byte [eax + 0x19], 2
jb 0x10250ac
push dword [ebp - 4]
push edi
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10250e4
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10250e4
test byte [eax + 0x1c], 4
je 0x10250e4
cmp byte [eax + 0x19], 2
jb 0x10250e4
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x10250f4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x10255fc
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001d68
cmp eax, esi
je 0x1025631
test byte [eax + 0x1c], 4
je 0x1025631
cmp byte [eax + 0x19], 5
jb 0x1025631
push edi
push 0x61
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0102545c
mov ebx, eax
test ebx, ebx
je 0x102566d
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025666
test byte [eax + 0x1c], 4
je 0x1025666
cmp byte [eax + 0x19], 2
jb 0x1025666
push ebx
push edi
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, ebx
jmp 0x1025754
call fcn.0106149f
xor ebx, ebx
test eax, eax
jne 0x10256ea
push ebx
push ebx
push 0xa
push ebx
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x10256ea
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10256b0
test byte [eax + 0x1c], 4
je 0x10256b0
cmp byte [eax + 0x19], 2
jb 0x10256b0
push dword [ebp + 8]
push edi
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 1
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
cmp eax, ebx
je 0x10256e5
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10256e5
test byte [ecx + 0x1c], 4
je 0x10256e5
cmp byte [ecx + 0x19], 2
jb 0x10256e5
push eax
push edi
push 0x64
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
mov eax, dword [ebp + 8]
jmp 0x1025754
push 1
push 0x4d2
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1025752
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025726
test byte [eax + 0x1c], 4
je 0x1025726
cmp byte [eax + 0x19], 2
jb 0x1025726
push dword [ebp + 8]
push edi
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 1
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
cmp eax, ebx
je 0x10256e5
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10256e5
test byte [ecx + 0x1c], 4
je 0x10256e5
cmp byte [ecx + 0x19], 2
jb 0x10256e5
push eax
push edi
push 0x66
jmp 0x10256da
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1027e39
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1002028
cmp eax, esi
je 0x1027e71
test byte [eax + 0x1c], 4
je 0x1027e71
cmp byte [eax + 0x19], 5
jb 0x1027e71
push ebx
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [0x1078068]
xor edx, edx
cmp eax, edx
je 0x1027f94
mov ecx, dword [0x1077eec]
cmp dword [ebp + 8], edx
je 0x1027e91
mov ecx, dword [0x1077ee8]
cmp eax, 1
jne 0x1027f0a
xor eax, eax
mov dword [ebp - 8], edx
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1027ede
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1027f94
test byte [eax + 0x1c], 4
je 0x1027f94
cmp byte [eax + 0x19], 2
jb 0x1027f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5d
jmp 0x1027f84
mov eax, dword [0x107806c]
mov ecx, 0x100000
mul ecx
mov ecx, dword [ebp - 4]
cmp ecx, edx
jl 0x1027f94
jg 0x1027f02
mov ecx, dword [ebp - 8]
cmp ecx, eax
jb 0x1027f94
xor eax, eax
inc eax
jmp 0x1027f96
cmp eax, 2
jne 0x1027f94
push edx
push edx
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1027f45
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1027f94
test byte [eax + 0x1c], 4
je 0x1027f94
cmp byte [eax + 0x19], 2
jb 0x1027f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5e
jmp 0x1027f84
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x1027f9d
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1027f94
test byte [eax + 0x1c], 4
je 0x1027f94
cmp byte [eax + 0x19], 2
jb 0x1027f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5f
mov eax, dword [0x1075004]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 0x18]
movzx eax, word [ebp - 0x28]
sub eax, ecx
movzx ecx, word [ebp - 0x16]
imul eax, eax, 0xc
sub eax, ecx
movzx ecx, word [ebp - 0x26]
add eax, ecx
cmp eax, dword [0x1078070]
jmp 0x1027efc
Function at 0x1027fdf
Capabilities:
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0xc], 0
xor eax, eax
push esi
push edi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002028
cmp eax, esi
je 0x102802c
test byte [eax + 0x1c], 4
je 0x102802c
cmp byte [eax + 0x19], 5
jb 0x102802c
push edi
push 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 4], eax
test eax, eax
jne 0x102806d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10280b0
test byte [ecx + 0x1c], 4
je 0x10280b0
cmp byte [ecx + 0x19], 2
jb 0x10280b0
push eax
push edi
push 0x7a
jmp 0x10280a5
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10280b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10280b0
test byte [ecx + 0x1c], 4
je 0x10280b0
cmp byte [ecx + 0x19], 2
jb 0x10280b0
push eax
push edi
push 0x7b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4