joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1025a58
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 0x1025a8d
test byte [eax + 0x1c], 4
je 0x1025a8d
cmp byte [eax + 0x19], 5
jb 0x1025a8d
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.010258b8
mov ebx, eax
test ebx, ebx
je 0x1025ac9
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025ac2
test byte [eax + 0x1c], 4
je 0x1025ac2
cmp byte [eax + 0x19], 2
jb 0x1025ac2
push ebx
push edi
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, ebx
jmp 0x1025bb0
call fcn.0106185f
xor ebx, ebx
test eax, eax
jne 0x1025b46
push ebx
push ebx
push 0xa
push ebx
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1025b46
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025b0c
test byte [eax + 0x1c], 4
je 0x1025b0c
cmp byte [eax + 0x19], 2
jb 0x1025b0c
push dword [ebp + 8]
push edi
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 1
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
cmp eax, ebx
je 0x1025b41
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1025b41
test byte [ecx + 0x1c], 4
je 0x1025b41
cmp byte [ecx + 0x19], 2
jb 0x1025b41
push eax
push edi
push 0x64
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
mov eax, dword [ebp + 8]
jmp 0x1025bb0
push 1
push 0x4d2
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1025bae
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025b82
test byte [eax + 0x1c], 4
je 0x1025b82
cmp byte [eax + 0x19], 2
jb 0x1025b82
push dword [ebp + 8]
push edi
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 1
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
cmp eax, ebx
je 0x1025b41
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1025b41
test byte [ecx + 0x1c], 4
je 0x1025b41
cmp byte [ecx + 0x19], 2
jb 0x1025b41
push eax
push edi
push 0x66
jmp 0x1025b36
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1028295
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 0x10282cd
test byte [eax + 0x1c], 4
je 0x10282cd
cmp byte [eax + 0x19], 5
jb 0x10282cd
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 0x10283f0
mov ecx, dword [0x1077eec]
cmp dword [ebp + 8], edx
je 0x10282ed
mov ecx, dword [0x1077ee8]
cmp eax, 1
jne 0x1028366
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 0x102833a
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10283f0
test byte [eax + 0x1c], 4
je 0x10283f0
cmp byte [eax + 0x19], 2
jb 0x10283f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5d
jmp 0x10283e0
mov eax, dword [0x107806c]
mov ecx, 0x100000
mul ecx
mov ecx, dword [ebp - 4]
cmp ecx, edx
jl 0x10283f0
jg 0x102835e
mov ecx, dword [ebp - 8]
cmp ecx, eax
jb 0x10283f0
xor eax, eax
inc eax
jmp 0x10283f2
cmp eax, 2
jne 0x10283f0
push edx
push edx
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x10283a1
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10283f0
test byte [eax + 0x1c], 4
je 0x10283f0
cmp byte [eax + 0x19], 2
jb 0x10283f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5e
jmp 0x10283e0
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 0x10283f9
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10283f0
test byte [eax + 0x1c], 4
je 0x10283f0
cmp byte [eax + 0x19], 2
jb 0x10283f0
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.0102ca9d
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 0x1028358
Function at 0x102843a
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 0x1028487
test byte [eax + 0x1c], 4
je 0x1028487
cmp byte [eax + 0x19], 5
jb 0x1028487
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 0x10284c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x102850b
test byte [ecx + 0x1c], 4
je 0x102850b
cmp byte [ecx + 0x19], 2
jb 0x102850b
push eax
push edi
push 0x7a
jmp 0x1028500
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 0x102850b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x102850b
test byte [ecx + 0x1c], 4
je 0x102850b
cmp byte [ecx + 0x19], 2
jb 0x102850b
push eax
push edi
push 0x7b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x1029d54
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1002028
cmp eax, esi
je 0x1029d89
test byte [eax + 0x1c], 4
je 0x1029d89
cmp byte [eax + 0x19], 5
jb 0x1029d89
push ebx
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp + 8], 0
mov eax, 0x1001d44
je 0x1029d99
mov eax, 0x1001d28
push eax
push dword [0x1078064]
call fcn.01028b29
mov dword [ebp - 4], eax
test eax, eax
jne 0x1029de7
mov dword [ebp + 8], 8
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1029f03
test byte [eax + 0x1c], 4
je 0x1029f03
cmp byte [eax + 0x19], 2
jb 0x1029f03
push ebx
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
jmp 0x1029f03
cmp dword [ebp + 8], 0
push edi
mov edi, 0x1077eec
je 0x1029df8
mov edi, 0x1077ee8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1029e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1029f02
test byte [eax + 0x1c], 4
je 0x1029f02
cmp byte [eax + 0x19], 2
jb 0x1029f02
push dword [ebp + 8]
push ebx
push 0x65
jmp 0x1029ea2
push dword [ebp - 4]
or dword [edi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1029e71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1029e71
test byte [ecx + 0x1c], 4
je 0x1029e71
cmp byte [ecx + 0x19], 2
jb 0x1029e71
push eax
push ebx
push 0x66
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
mov ecx, dword [0x1078064]
push edi
push dword [ebp + 8]
call fcn.0102990b
mov dword [ebp + 8], eax
test eax, eax
je 0x1029eaf
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1029f02
test byte [eax + 0x1c], 4
je 0x1029f02
cmp byte [eax + 0x19], 2
jb 0x1029f02
push dword [ebp + 8]
push ebx
push 0x67
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1029f02
push dword [edi]
call fcn.0102843a
test eax, eax
jne 0x1029edf
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1029f02
test byte [eax + 0x1c], 4
je 0x1029ee4
cmp byte [eax + 0x19], 2
jb 0x1029ee4
push 0
push ebx
push 0x68
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1029f02
test byte [eax + 0x1c], 4
je 0x1029f02
cmp byte [eax + 0x19], 5
jb 0x1029f02
push ebx
push 0x69
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
pop edi
push dword [ebp - 4]
call fcn.0105c5dc
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 4
Function at 0x102c6ad
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x106e934
call fcn.0105bd31
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x34], 0
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x102c6ef
test byte [eax + 0x1c], 4
je 0x102c6ef
cmp byte [eax + 0x19], 5
jb 0x102c6ef
push 0x1002028
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea ecx, [ebp - 0x30]
call fcn.01028d84
and dword [ebp - 4], 0
cmp dword [0x107805c], 0
jne 0x102c71d
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.01025bbc
mov eax, esi
call fcn.0105bd9c
ret 8
push ebx
lea edx, [ebp - 0x30]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0102a904
xor edi, edi
cmp eax, edi
jne 0x102c765
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c759
test byte [eax + 0x1c], 4
je 0x102c759
cmp byte [eax + 0x19], 2
jb 0x102c759
push 0x1002028
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 0x34], 0xe
jmp 0x102c899
push edi
mov dword [ebp - 4], edi
call fcn.01028295
test eax, eax
je 0x102c7ec
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c799
test byte [eax + 0x1c], 4
je 0x102c799
cmp byte [eax + 0x19], 5
jb 0x102c799
push 0x1002028
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
call fcn.0102c5ff
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x102c7ec
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c7d0
test byte [eax + 0x1c], 4
je 0x102c7d0
cmp byte [eax + 0x19], 2
jb 0x102c7d0
push dword [ebp - 0x34]
push 0x1002028
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
cmp dword [0x107805c], edi
je 0x102c890
cmp dword [0x1077eec], 0xffffffff
je 0x102c890
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x102c7f8
lea eax, [ebp - 0x2c]
push edi
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, ecx
push ecx
push eax
push dword [0x1077eec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x102c890
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c890
test byte [eax + 0x1c], 4
je 0x102c890
cmp byte [eax + 0x19], 2
jb 0x102c890
push dword [ebp - 0x34]
push 0x1002028
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102c890
cmp dword [ebp - 0x34], edi
je 0x102c704
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x102c707
Function at 0x102c8ae
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x106e966
call fcn.0105bd31
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x102c8eb
test byte [eax + 0x1c], 4
je 0x102c8eb
cmp byte [eax + 0x19], 5
jb 0x102c8eb
push 0x1002028
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea ecx, [ebp - 0x30]
call fcn.01028d84
and dword [ebp - 4], 0
cmp dword [0x1078060], 0
jne 0x102c919
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.01025bbc
mov eax, esi
call fcn.0105bd9c
ret 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0102b182
test eax, eax
jne 0x102c958
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c950
test byte [eax + 0x1c], 4
je 0x102c950
cmp byte [eax + 0x19], 2
jb 0x102c950
push 0x1002028
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0xe
pop ebx
jmp 0x102ca8a
and dword [ebp - 4], 0
push 1
call fcn.01028295
test eax, eax
je 0x102c9df
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c98e
test byte [eax + 0x1c], 4
je 0x102c98e
cmp byte [eax + 0x19], 5
jb 0x102c98e
push 0x1002028
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 1
call fcn.0102c5ff
mov ebx, eax
test ebx, ebx
je 0x102c9df
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102c9c3
test byte [eax + 0x1c], 4
je 0x102c9c3
cmp byte [eax + 0x19], 2
jb 0x102c9c3
push ebx
push 0x1002028
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
cmp dword [0x1078060], 0
je 0x102ca82
cmp dword [0x1077ee8], 0xffffffff
je 0x102ca82
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x102c9eb
lea eax, [ebp - 0x2c]
push 0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, ecx
push ecx
push eax
push dword [0x1077ee8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x102ca82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102ca82
test byte [eax + 0x1c], 4
je 0x102ca82
cmp byte [eax + 0x19], 2
jb 0x102ca82
push ebx
push 0x1002028
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102ca82
test ebx, ebx
je 0x102c900
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x102c903
Function at 0x102cb87
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov eax, dword [0x1075004]
mov edi, 0x1075004
cmp eax, edi
je 0x102cbba
test byte [eax + 0x1c], 4
je 0x102cbba
cmp byte [eax + 0x19], 5
jb 0x102cbba
push 0x10022a4
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x1077ef0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
cmp eax, ecx
jne 0x102cbf4
cmp dword [esi + 0x18], ecx
jne 0x102cbf4
push 0x1077e34
call fcn.01034483
jmp 0x102cd28
cmp eax, 2
jne 0x102cc58
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x102cd28
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x102cd28
mov eax, dword [0x1075004]
cmp eax, edi
je 0x102cd28
test byte [eax + 0x1c], 4
je 0x102cd28
cmp byte [eax + 0x19], 2
jb 0x102cd28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x10022a4
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102cd28
cmp eax, 3
jne 0x102cd28
push ebx
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x102cca4
mov eax, dword [0x1075004]
cmp eax, edi
je 0x102cca4
test byte [eax + 0x1c], 4
je 0x102cca4
cmp byte [eax + 0x19], 2
jb 0x102cca4
call ebx
push eax
mov eax, dword [0x1075004]
push 0x10022a4
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
cmp dword [esi + 0x644], 0
je 0x102ccf3
cmp dword [esi + 0x640], 0
je 0x102ccfc
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102ccf3
call ebx
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x102ccf3
test byte [ecx + 0x1c], 4
je 0x102ccf3
cmp byte [ecx + 0x19], 2
jb 0x102ccf3
push eax
lea eax, [esi + 0x24]
push eax
push 0x10022a4
push 0x17
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a6e9
cmp dword [esi + 0x640], 0
jne 0x102cd27
lea ebx, [esi + 0x648]
cmp dword [ebx], 0
je 0x102cd27
mov edi, 0x1077f58
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
push 1
push 1
push dword [ebx]
call fcn.0103aac8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
push esi
call fcn.0105c5dc
push 0x1077ef0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret 4
Function at 0x10323e4
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x10022b4
cmp eax, esi
je 0x1032432
test byte [eax + 0x1c], 4
je 0x1032432
cmp byte [eax + 0x19], 5
jb 0x1032432
push ebx
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x100236c
push edi
call fcn.01031ff8
test eax, eax
jne 0x10324a1
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103249a
test byte [eax + 0x1c], 4
je 0x103249a
cmp byte [eax + 0x19], 2
jb 0x103249a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x103254f
lea eax, [ebp - 0x20c]
push eax
call fcn.0105ccae
mov dword [edi + 0x34], eax
test eax, eax
jne 0x103254c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10324ef
test byte [eax + 0x1c], 4
je 0x10324ef
cmp byte [eax + 0x19], 2
jb 0x10324ef
push dword [ebp - 0x210]
push ebx
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103253b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103253b
test byte [eax + 0x1c], 4
je 0x103253b
cmp byte [eax + 0x19], 2
jb 0x103253b
call edi
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
push dword [eax + 0x18]
mov eax, dword [0x1075004]
push ebx
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044197
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x103249a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 4
Function at 0x1032565
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x10325ab
test byte [eax + 0x1c], 4
je 0x10325ab
cmp byte [eax + 0x19], 5
jb 0x10325ab
push 0x10022b4
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebx + 0x164], 0
jne 0x10326dc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1002374
push ebx
call fcn.01031ff8
test eax, eax
jne 0x103262b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1032624
test byte [eax + 0x1c], 4
je 0x1032624
cmp byte [eax + 0x19], 2
jb 0x1032624
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x10022b4
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x10326df
lea eax, [ebp - 0x20c]
push eax
call fcn.0105ccae
mov dword [ebx + 0x164], eax
test eax, eax
jne 0x10326dc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1032681
test byte [eax + 0x1c], 4
je 0x1032681
cmp byte [eax + 0x19], 2
jb 0x1032681
push dword [ebp - 0x210]
push 0x10022b4
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10326cb
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10326cb
test byte [eax + 0x1c], 4
je 0x10326cb
cmp byte [eax + 0x19], 2
jb 0x10326cb
call edi
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 0x18]
mov eax, dword [0x1075004]
push 0x10022b4
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044197
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
jmp 0x10326df
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 4
Function at 0x1035e7a
Capabilities:
Read file on windows

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, 0x1002380
cmp eax, esi
je 0x1035eb9
test byte [eax + 0x1c], 4
je 0x1035eb9
cmp byte [eax + 0x19], 5
jb 0x1035eb9
push edi
push 0x136
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1035ef8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035f32
test byte [eax + 0x1c], 4
je 0x1035f32
cmp byte [eax + 0x19], 2
jb 0x1035f32
push ebx
push edi
push 0x137
jmp 0x1035f1d
cmp dword [ebp - 4], 4
je 0x1035f2a
push 0x26
pop ebx
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035f32
test byte [eax + 0x1c], 4
je 0x1035f32
cmp byte [eax + 0x19], 2
jb 0x1035f32
push ebx
push edi
push 0x138
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1035f32
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8