joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56dbb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x56dd76
cmp dword [ebp - 0x1c], 1
je 0x56dbe0
jmp 0x56dd71
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
add edx, 0x3b8
movzx eax, word [eax + edx*4 + 0xa]
movzx ebx, ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
add edx, 0x3b8
movzx eax, word [eax + edx*4 + 8]
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 4
fld qword [0x58fa80]
fstp qword [esp + 0x8c]
fld qword [0x58fa70]
fstp qword [esp + 0x84]
fld qword [0x58fa78]
fstp qword [esp + 0x7c]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x78], ecx
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 5
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x68], ecx
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0x64], ebx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x60], ecx
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], 8
fld qword [0x58fa68]
fstp qword [esp + 0x50]
mov dword [esp + 0x4c], 5
fld qword [0x58fa50]
fstp qword [esp + 0x44]
fld qword [0x58fa60]
fstp qword [esp + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
fld qword [0x58fa58]
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 6
mov dword [esp + 0x10], 0
fld qword [0x58fa68]
fstp qword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._send_bits
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
nop
jmp 0x56dbcb
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x57177f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x5718a8
cmp dword [ebp - 0xc], 1
je 0x5717a4
jmp 0x5718a3
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__3756
mov dword [ebp - 0xc], 0
nop
jmp 0x57178f
nop
leave
ret
Function at 0x57207c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x5721ce
cmp dword [ebp - 0xc], 1
jne 0x5721c8
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 4
mov dword [esp + 0x84], 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 4
mov dword [esp + 0x6c], 0
fld qword [0x58fa78]
fstp qword [esp + 0x64]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 9
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
fld qword [0x58fa80]
fstp qword [esp + 0x44]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 6
fld qword [0x58fa80]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
fld qword [0x58fa60]
fstp qword [esp + 0x24]
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 9
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x58f85c
mov dword [esp + 4], 3
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0xc], 0
jmp 0x5721c9
nop
jmp 0x57208e
nop
add esp, 0xa0
pop ebx
pop esi
pop ebp
ret
Function at 0x5736d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x5737e8
cmp dword [ebp - 0xc], 1
jne 0x5737e2
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__3792
mov dword [ebp - 0xc], 0
jmp 0x5737e3
nop
jmp 0x5736e5
nop
leave
ret

Function at 0x577760
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x5777c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbced14]
test esi, esi
jle 0x5778e0
mov eax, dword [0xbced18]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x5777f4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x577877
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x5777e0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x577907
mov eax, dword [0xbced18]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xbced18]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x5778e7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x577870
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x577880
add dword [0xbced14], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xbced18]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x577870
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x5777fe
mov eax, dword [0xbced18]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x577dc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbced30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbced28]
sub esp, 4
test ebx, ebx
je 0x577e15
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x577e0e
test esi, esi
je 0x577e0e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x577df0
mov dword [esp], 0xbced30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x578140
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x578165
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x578170
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x578165
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x5781b8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5781ae
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x5781ba
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x5781a0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x402050
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40208f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40208f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40208f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40208f
cmp dword [ecx + 0x74], 0xe
jbe 0x40208f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x3001379e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.3005768b
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], esi
add esp, 0xc
mov esi, 0x30082330
push 0x30002690
mov ecx, esi
mov dword [ebp - 0x3c], pe_nt_image_headers32
mov dword [ebp - 0x34], 0x30002688
mov dword [ebp - 0x30], edi
call fcn.30024d1c
push edi
mov ecx, esi
call fcn.30024d1c
push 0x30002686
mov ecx, esi
call fcn.30024d1c
push 0x300021e4
mov ecx, esi
call fcn.30024d1c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
pop esi
jne 0x30013832
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 4]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp + 8], eax
push 0x30072b9c
lea eax, [ebp + 8]
push eax
call fcn.300566f2
cmp dword [ebp - 8], 0
je 0x30013841
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 4

Function at 0x300147b3
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x300147f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
push 0x30072b9c
lea eax, [ebp + 0xc]
push eax
call fcn.300566f2
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x3001481e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
jmp 0x300147d6
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x30014845
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x30014811
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 0x10
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x30014832
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
leave
ret 0xc
Function at 0x3001487b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push edi
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x300148c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 0xc]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp + 8], eax
push 0x30072b9c
lea eax, [ebp + 8]
push eax
call fcn.300566f2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x300148e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
jmp 0x300148a8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 8

Function at 0x300149d6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x30083fbc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.3005768b
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call fcn.30014752
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x130], 3
mov word [ebp - 0x124], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
pop edi
je 0x30014a7d
push 0x3e3
lea ecx, [ebp - 0x114]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
push 0x30072b9c
lea eax, [ebp - 0x110]
push eax
call fcn.300566f2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30057296
leave
ret 4

Function at 0x30014bc9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x50], 0
je 0x30014c00
cmp dword [ecx + 0x54], 0x10
jb 0x30014bde
mov ecx, dword [ecx + 0x40]
jmp 0x30014be1
add ecx, 0x40
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x30014c00
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
push 0x30072e3c
lea eax, [ebp - 1]
push eax
call fcn.300566f2
leave
ret
Function at 0x30014df3
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x20
mov eax, 0x30066bb1
call fcn.300572d7
mov dword [ebp - 0x2c], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
push esi
push 0x8000000
push 3
push esi
push esi
push SysReAllocString
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x30014e52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 0x30072b9c
lea eax, [ebp - 0x18]
push eax
call fcn.300566f2
push esi
push esi
push esi
push 2
push esi
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x30014e87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0x30072b9c
lea eax, [ebp - 0x20]
jmp 0x30014e4c
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
mov dword [ebp + 8], edi
jne 0x30014eba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push 0x30072b9c
lea eax, [ebp - 0x24]
jmp 0x30014e4c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x30014ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
lea ecx, [ebp + 8]
call fcn.300136b6
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push 0x30072b9c
lea eax, [ebp - 0x28]
jmp 0x30014e4c
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 2
call fcn.300147b3
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp ebx, esi
je 0x30014f1b
push ebx
call edi
call fcn.3005737c
ret 8