joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4352a0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x34], 0
jne 0x4352b4
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x2c], 0
jne 0x4352d0
lea ecx, [ebp - 0x14]
mov dword [ebp + 0x2c], ecx
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
or ecx, 4
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp + 0x34]
test eax, eax
jne 0x435309
xor eax, eax
jmp 0x4353a2
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 4], ecx
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.00435640
test eax, eax
jne 0x435367
mov edx, dword [ebp + 0x34]
push edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 8]
push edx
call fcn.00435620
test eax, eax
jne 0x435367
push 0xffffffffffffffff
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4353a2
mov eax, dword [ebp + 0x1c]
and eax, 4
jne 0x43537c
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x14]
cmp dword [ebp + 0x2c], eax
jne 0x43539d
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4353b0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x463780]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
cmp dword [ebp + 0xc], 1
jb 0x4353e6
cmp dword [ebp + 0xc], 0x1000
jbe 0x4353f8
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4355fb
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00433a80
test eax, eax
jne 0x43541e
jmp 0x4355fb
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str.WINDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x435450
cmp dword [ebp - 0x420], 0x104
jb 0x43545a
jmp 0x4355fb
push str._sysnative_rundll32.exe
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004342b0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jge 0x435489
jmp 0x4355fb
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x418]
lea eax, [edx + ecx + 0xc]
push eax
push str.rundll32.exe___hs__1
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call fcn.004343c0
add esp, 0x10
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jge 0x4354ce
jmp 0x4355fb
push 0x10
push 0
lea edx, [ebp - 0x438]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x47c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x47c], 0x44
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x47c]
push edx
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [ebp + 0x14]
test eax, eax
je 0x4355fb
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x456054
mov edx, dword [ebp - 0x438]
push edx
call fcn.00434f60
test eax, eax
jne 0x435583
push 0xffffffffffffffff
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4355fb
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x424], 0x1f4
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x424], 0
je 0x4355f1
jmp 0x4355fb
mov dword [ebp - 0x428], 1
lea ecx, [ebp - 0x418]
push ecx
call fcn.00433e90
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043827e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4371e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x43720f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x437212
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004371c4
pop esi
leave
ret 8

Function at 0x439036
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x439075
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x439075
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x439075
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x439075
cmp dword [ecx + 0x74], 0xe
jbe 0x439075
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4395d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x463780]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4395f7
mov ecx, 5
int 0x29
push 2
call fcn.004390da
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x439702
test esi, esi
jne 0x439702
push 2
call fcn.004390da
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043827e
mov esp, ebp
pop ebp
ret
Function at 0x43ea70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0043eaa0
mov esi, dword [ebp + 8]
test al, al
je 0x43ea8e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0043eab0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43ebe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43ec3c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ec3c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ec3c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43ec3c
cmp dword [ecx + 0x74], 0xe
jbe 0x43ec3c
cmp dword [ecx + 0xe8], 0
je 0x43ec3c
push dword [ebp + 8]
call fcn.0043eab0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x464888
call fcn.0043e880
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43ec71
push dword [ebp + 8]
call fcn.0043ea70
mov esp, ebp
pop ebp
ret

Function at 0x43ecb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43ed0c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ed0c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ed0c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43ed0c
cmp dword [ecx + 0x74], 0xe
jbe 0x43ed0c
cmp dword [ecx + 0xe8], 0
je 0x43ed0c
push dword [ebp + 8]
call fcn.0043eab0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x464888
call fcn.0043e880
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43ed41
push dword [ebp + 8]
call fcn.0043ea70
mov esp, ebp
pop ebp
ret

Function at 0x446a60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x446a8a
mov eax, 2
pop ebp
ret
push esi
call fcn.00439420
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x446aaa
jmp dword [eax*4 + 0x446ae0]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00439560
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x446af0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x463780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x446beb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x446beb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x446b4a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x446b28
jmp 0x446beb
cmp edx, 0x200
jae 0x446c51
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x446beb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x446bea
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x446bea
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x446c33
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x446bd0
pop edi
mov eax, dword [0x464890]
test eax, eax
jne 0x446c11
push str.setlocale
call fcn.004474a0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x446c0c
or eax, 0xffffffff
mov dword [0x464890], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x446c3f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043827e
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x446bea
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0043827e
mov esp, ebp
pop ebp
ret
call fcn.00438515
int3
Function at 0x401330
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x428d60], 0
je 0x401351
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x428d68], 0
je 0x401363
mov dword [ebp - 4], 1
jmp 0x401394
cmp dword [0x428d60], 0
jne 0x401377
call fcn.00401420
test eax, eax
jne 0x401377
jmp 0x401394
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x428054]
push ecx
call fcn.004013d0
test eax, eax
jne 0x40138d
jmp 0x401394
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x4013c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7f
je 0x4013af
cmp dword [ebp - 8], 0x78
jne 0x4013c0
mov dword [0x428d68], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4017a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x4290c0], 0
jne 0x4017e8
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x4017de
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4290bc], eax
mov dword [0x4290c0], 1
cmp dword [0x4290bc], 0
je 0x40180d
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x4290bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40180d
jmp 0x401870
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40185f
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x401839
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
call dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x401849
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x401857
jmp 0x401870
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401f10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x4234cc
mov eax, dword [ebp + 8]
push eax
call fcn.0041a676
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401f68
xor eax, eax
jmp 0x40213f
push 0x4234d0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 4], 0
jne 0x401f96
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x40213f
mov eax, dword [ebp - 0x114]
push eax
call fcn.00422a6e
add esp, 4
push eax
call fcn.004229f6
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x4b000
jle 0x402011
push 0
push 0x4b000
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0041a5be
add esp, 0xc
test eax, eax
je 0x401ff7
mov edx, dword [ebp - 4]
push edx
call fcn.0041a568
add esp, 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x40213f
mov ecx, dword [ebp - 0x114]
push ecx
push 0x10
push 1
lea edx, [ebp - 0x124]
push edx
call fcn.0041a47f
add esp, 0x10
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
call fcn.0041a5be
add esp, 0xc
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.00401dc0
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0041a568
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0041a280
add esp, 8
push 0x4234d4
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041a290
add esp, 8
push 0x4234dc
lea edx, [ebp - 0x110]
push edx
call fcn.0041a676
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4020b1
mov eax, dword [ebp - 4]
push eax
call fcn.0041a568
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x40213f
mov edx, dword [ebp - 8]
push edx
call fcn.00422a6e
add esp, 4
push eax
call fcn.004229f6
add esp, 4
mov dword [ebp - 0x120], eax
mov eax, 0x4b000
sub eax, dword [ebp - 0x124]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.00401ed0
mov edx, dword [ebp - 4]
push edx
push 0x10
push 1
lea eax, [ebp - 0x124]
push eax
call fcn.0041a378
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x128]
call fcn.00401dc0
mov eax, dword [ebp - 8]
push eax
call fcn.0041a568
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041a568
add esp, 4
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4029f0
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov dword [ebp - 0x31c], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041a97b
add esp, 8
cmp eax, 0xffffffff
jne 0x402a37
mov ecx, dword [ebp - 0x31c]
cmp dword [ecx + 0x104], 0
jne 0x402a30
push str.Source_folder_is_not_found
push 0
call fcn.0040c8c0
add esp, 8
xor eax, eax
jmp 0x402b7a
push 0x42f
mov ecx, 0x428d78
call fcn.004191f0
push eax
call fcn.00404530
add esp, 4
lea edx, [ebp - 0x108]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x423540
lea eax, [ebp - 0x108]
push eax
call fcn.0041a290
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00403cb0
add esp, 8
test eax, eax
jne 0x402ab6
mov eax, dword [ebp - 0x31c]
cmp dword [eax + 0x104], 0
jne 0x402aaa
push str.CompressFolder_error
push 0
call fcn.0040c8c0
add esp, 8
call fcn.004046a0
xor eax, eax
jmp 0x402b7a
lea ecx, [ebp - 0x318]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.__xxxx.tmp
lea edx, [ebp - 0x318]
push edx
call fcn.0041a290
add esp, 8
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [0x428d70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x318]
push ecx
mov ecx, dword [ebp - 0x31c]
call fcn.00401f10
cmp dword [ebp + 0x10], 0
jle 0x402b37
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x31c]
call fcn.00402580
jmp 0x402b56
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403e80
add esp, 4
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.004046a0
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402b80
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov dword [ebp - 0x424], ecx
push 0x431
mov ecx, 0x428d78
call fcn.004191f0
push eax
call fcn.00404530
add esp, 4
mov eax, dword [ebp - 0x424]
mov dword [eax + 0x100], 1
lea ecx, [ebp - 0x318]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x42356c
lea edx, [ebp - 0x318]
push edx
call fcn.0041aa35
add esp, 8
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.0041a280
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041a9bf
add esp, 4
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [0x428d70]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041a280
add esp, 8
push 0x423570
lea eax, [ebp - 0x108]
push eax
call fcn.0041a290
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0041a280
add esp, 8
push 0x42357c
lea eax, [ebp - 0x210]
push eax
call fcn.0041a290
add esp, 8
push 0x423580
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041a290
add esp, 8
push 0x423588
lea edx, [ebp - 0x210]
push edx
call fcn.0041a290
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00403e80
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.00402150
test eax, eax
jne 0x402ce7
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 0x104], 0
jne 0x402cde
push 0x423590
push 0
call fcn.0040c8c0
add esp, 8
call fcn.004046a0
xor eax, eax
jmp 0x402d5e
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004041c0
add esp, 8
test eax, eax
jne 0x402d25
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 0x104], 0
jne 0x402d1c
push 0x4235a0
push 0
call fcn.0040c8c0
add esp, 8
call fcn.004046a0
xor eax, eax
jmp 0x402d5e
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.00402d70
mov ecx, dword [ebp - 0x424]
mov dword [ecx + 0x100], 0
call fcn.004046a0
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x402d70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x12c], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041a97b
add esp, 8
cmp eax, 0xffffffff
jne 0x402d9c
mov eax, 1
jmp 0x402e35
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041abc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041a280
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 3
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x118], 0x14
mov dword [ebp - 0x116], 0
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x10e], 0
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp dword [ebp - 0x116], 0
je 0x402e30
xor eax, eax
jmp 0x402e35
mov eax, 1
mov esp, ebp
pop ebp
ret 4