joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78afa955
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b589ec]
test dword [ebp + 8], eax
je 0x78afa9ea
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78b21d54
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b555ec]
pop ecx
pop ebx
test eax, eax
je 0x78afa9dd
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b589f4]
push dword [0x78b589f0]
call fcn.78ac8210
add dword [0x78b589f0], 1
adc dword [0x78b589f4], 0
or eax, edx
jne 0x78afa9ea
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afa9ea
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab0807
leave
ret

Function at 0x78afe8af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afe8d6
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afe92b
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afe8bc
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe903
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b21d54
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afe92b
test al, 0x10
jne 0x78afe929
test al, 1
je 0x78afe929
test byte [ebp + 0xc], 2
je 0x78afe929
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afe8fa
xor eax, eax
pop esi
pop ebp
ret

Function at 0x78afe946
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afe96e
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe98b
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b21d54
pop ecx
jmp 0x78afe969
test byte [ebp + 0xc], 0x80
je 0x78afe996
and eax, 0xfffffffe
jmp 0x78afe999
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x78afe97c
xor eax, eax
pop ebp
ret
Function at 0x78b00307
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b0032f
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b0034c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b21d54
pop ecx
jmp 0x78b0032a
test byte [ebp + 0xc], 0x80
je 0x78b00357
and eax, 0xfffffffe
jmp 0x78b0035a
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x78b0033d
xor eax, eax
pop ebp
ret

Function at 0x78b21d54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x78b21d63
pop dword [ebp - 0x3c]
mov eax, 0x45aec456
add eax, 0x3303590d
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x4f029
push 0
mov eax, 0x5ce840ac
sub eax, 0xe43e2f24
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x36a5
mov esi, eax
mov edi, 0x78b5ee00
add edi, dword [ebp - 0x3c]
mov edx, 0xa58b7894
sub edx, 0x4ab7725
xor dword [ebp - 0x24], 0xfa944019
mov ebx, dword [edi]
add dword [ebp - 0x20], eax
add ebx, edx
sub dword [ebp - 0x2c], eax
mov dword [esi], ebx
sub dword [ebp - 0x20], ecx
add esi, 0x59ea1f4c
add esi, 0xa615e0b8
add edi, 4
loop 0x78b21db6
add eax, 0x7f5c912f
sub eax, 0x7f5bc3c8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb9f319a7
sub ecx, 0x414919a7
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x78b2c16f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x78b58650], eax
mov dword [0x78b5864c], ecx
mov dword [0x78b58648], edx
mov dword [0x78b58644], ebx
mov dword [0x78b58640], esi
mov dword [0x78b5863c], edi
mov word [0x78b58668], ss
mov word [0x78b5865c], cs
mov word [0x78b58638], ds
mov word [0x78b58634], es
mov word [0x78b58630], fs
mov word [0x78b5862c], gs
pushfd
pop dword [0x78b58660]
mov eax, dword [ebp]
mov dword [0x78b58654], eax
mov eax, dword [ebp + 4]
mov dword [0x78b58658], eax
lea eax, [ebp + 8]
mov dword [0x78b58664], eax
mov eax, dword [ebp - 0x320]
mov dword [0x78b585a0], 0x10001
mov eax, dword [0x78b58658]
mov dword [0x78b58554], eax
mov dword [0x78b58548], 0xc0000409
mov dword [0x78b5854c], 1
mov eax, dword [0x78b54610]
mov dword [ebp - 0x328], eax
mov eax, dword [0x78b553f8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x78b58598], eax
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x78b2c270
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x78b58598], 0
jne 0x78b2c25b
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4017d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4549d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor cl, cl
test eax, eax
je 0x4018f8
test eax, 0xffff0000
jne 0x4018f8
movzx edi, ax
push edi
mov dword [ebp - 4], 0
call fcn.0041f179
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4018f6
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4018f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4018f6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4018f6
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x401896
cmp esi, ecx
jae 0x4018f6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401884
cmp esi, ecx
jae 0x4018f6
cmp word [esi], 0
je 0x4018f6
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4018be
push edi
mov ecx, ebx
call fcn.004022f0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0043554c
add esp, 0x10
cmp eax, 0x50
ja case.0x4018dd.1
movzx eax, byte [eax + 0x401934]
jmp dword [eax*4 + 0x401924]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x401918
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
mov cl, 1
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0041ed52
call fcn.0041ed6c
push 0x80070057
call fcn.004017b0
nop
in al, 0x18
inc eax
add byte [ebx], dl
sbb dword [eax], eax
push cs
sbb dword [eax], eax
push cs
sbb dword [eax], eax
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3
Function at 0x401f00
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ab5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x401f82
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401580
mov esi, dword [eax]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
push esi
push eax
call fcn.0041b870
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401f82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x401fe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401580
push 0x49
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.0041b870
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401fe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 8
push esi
push 0x4585d0
push 0x4585c0
push 2
push 0
push str.v4.0.30319
call ebx
test eax, eax
jns 0x402072
push esi
push 0x4585d0
push 0x4585c0
push 2
push 0
push str.v2.0.50727
call ebx
mov ebx, eax
test ebx, ebx
jns 0x40206c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401580
push 0x57
push dword [eax]
mov dword [ebp - 4], 2
push ebx
call fcn.0041b870
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40206c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x4020d1
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.00401580
push 0x64
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.0041b870
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4020d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4039b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ea0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
call fcn.0041f262
mov byte [ebp - 4], 0
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 3
call fcn.0041f262
mov byte [ebp - 4], 2
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.0041f262
mov byte [ebp - 4], 4
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 7
call fcn.0041f262
mov byte [ebp - 4], 6
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 9
call fcn.0041f262
mov byte [ebp - 4], 8
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.0041f262
mov byte [ebp - 4], 0xa
test eax, eax
je 0x403b0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017b0
int3

Function at 0x4048a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4048c9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4048df
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4048d6
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x404912
nop
cmp esi, ecx
jae 0x4048d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x404900
cmp esi, ecx
jae 0x4048d6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d760
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4554de
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
call fcn.0041f262
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x40d903
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov ecx, 1
mov dword [ebp - 4], 0
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
mov dword [ebp - 0x10], 1
or eax, ecx
jge 0x40d7e4
push 0x104
mov ecx, esi
call fcn.004022f0
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x40d8f9
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [esi]
push 0x104
push ecx
push 0x459688
mov word [eax + 0x208], dx
call fcn.0042e3de
mov ecx, dword [esi]
mov ebx, eax
test ecx, ecx
je 0x40d833
push dword [ecx - 8]
push ecx
call fcn.0043581a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40d8f9
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40d8f9
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
or edi, 0xffffffff
mov word [eax + ecx*2], dx
test ebx, ebx
je 0x40d892
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.00401580
push 0x11e
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.0041b870
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d892
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [esi]
call fcn.0042e8da
mov ebx, eax
test ebx, ebx
je 0x40d8e5
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.00401580
push 0x123
push dword [eax]
mov dword [ebp - 4], 4
push ebx
call fcn.0041b870
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x40d8e5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004017b0
push 0x80004005
call fcn.004017b0
int3
Function at 0x41b540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4549d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.0041f179
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
test esi, esi
je 0x41b66d
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x41b66d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b66d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b66d
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x41b5f6
nop
cmp esi, ecx
jae 0x41b66d
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x41b5e0
cmp esi, ecx
jae 0x41b66d
cmp word [esi], 0
je 0x41b66d
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x41b61e
push edi
mov ecx, ebx
call fcn.004022f0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0043554c
add esp, 0x10
cmp eax, 0x50
ja case.0x41b63d.1
movzx eax, byte [eax + 0x41b6a8]
jmp dword [eax*4 + 0x41b698]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x41b688
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0041ed6c
push 0x80070057
call fcn.004017b0
call fcn.0041ed52
nop
inc esp
mov dh, 65
add byte [ebx - 0x6dffbe4a], al
mov dh, 0x41
add byte [edx + 0x41b6], dl
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x41d510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456855
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x46d700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebx + 0xc]
mov dword [ebx + 0x10], 0
call fcn.00401b50
lea ecx, [ebx + 8]
call fcn.00401b50
mov dword [ebp - 4], 1
call fcn.0041f262
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x41d713
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 2
cmp dword [eax + 0xc], 6
jne 0x41d64d
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0041d730
mov byte [ebp - 4], 4
call fcn.0041f262
mov ecx, eax
mov byte [ebp - 4], 3
test ecx, ecx
je 0x41d71d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push esi
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push str.ca_d
push eax
call fcn.00406ac0
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], eax
push eax
call fcn.00404af0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041db80
mov esi, eax
test esi, esi
je 0x41d61e
push 0
push ecx
mov ecx, esp
push str.ignoreFailure
call fcn.00408d70
mov ecx, dword [ebp + 8]
call fcn.00415610
test al, al
jne 0x41d61e
mov dword [0x46f078], 1
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d63a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41d64d
push 0xd
push str.Action_failed
lea ecx, [ebx + 0xc]
call fcn.00408b60
push dword [ebx + 0x10]
lea eax, [ebp - 0x10]
push 0x45aa58
push eax
call fcn.00406ac0
mov eax, dword [ebp + 8]
add esp, 0xc
mov esi, dword [ebp - 0x10]
mov ecx, 0x46f084
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
push dword [eax + 4]
push str.AddActionResult
call fcn.00402590
mov eax, dword [ebx + 0x1c]
xor edi, edi
test eax, eax
jle 0x41d6d6
nop dword [eax]
test edi, edi
js 0x41d70e
cmp edi, eax
jge 0x41d70e
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edi*4]
sub eax, 0x10
push eax
call fcn.00404af0
mov ebx, eax
add esp, 4
lea ecx, [ebx + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or ecx, 0xffffffff
lock xadd dword [ebx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41d6cb
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
inc edi
mov eax, dword [ebx + 0x1c]
cmp edi, eax
jl 0x41d690
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x14]
call fcn.00422ab2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d6fa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0041ed52
push 0x80004005
call fcn.004017b0
push 0x80004005
call fcn.004017b0
int3