joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477aed
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x477b04
push ebx
call fcn.004810d1
pop ecx
test eax, eax
jne 0x477b46
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x477b18
push edi
call fcn.004810d1
pop ecx
test eax, eax
jne 0x477b45
push ebx
call fcn.0048114f
push edi
call fcn.0048114f
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x477b36
xor eax, eax
jmp 0x477b45
push esi
push 0x477aaf
push eax
call fcn.00481243
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x47b750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [eax + 0x30], ecx
lea esi, [eax + 0x70]
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], ecx
push 8
mov edx, ecx
pop edi
mov eax, edx
shr edx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor edx, eax
dec edi
jne 0x47b783
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x47b77e
pop edi
pop esi
pop ebp
ret

Function at 0x47c943
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x47c956
xor eax, eax
jmp 0x47c9e7
lea eax, [esi + 0x30]
push eax
call fcn.004810e5
pop ecx
test eax, eax
je 0x47c969
push 0xc
pop eax
jmp 0x47c9e7
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.004810d1
pop ecx
test eax, eax
jne 0x47c9dd
lea eax, [esi + 0x18]
push eax
call fcn.004810d1
pop ecx
test eax, eax
jne 0x47c9dd
lea eax, [esi + 0x1c]
push eax
call fcn.004810d1
pop ecx
test eax, eax
jne 0x47c9dd
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.004811e4
add esp, 0xc
test eax, eax
jne 0x47c9dd
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.004811e4
add esp, 0xc
test eax, eax
jne 0x47c9dd
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.00481243
add esp, 0xc
test eax, eax
je 0x47c9e2
push 0xc
pop eax
jmp 0x47c9e6
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x47fda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x100
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
push eax
push dword [ebp + 8]
call fcn.00480d68
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x47fdb3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x47fdf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
or esi, 0x100
mov ecx, dword [ebp + 8]
mov eax, esi
shr eax, 8
movzx edx, word [ecx + eax*2]
mov ecx, esi
shr ecx, 7
add esi, esi
and ecx, 1
shr edx, 4
neg ecx
sar ecx, 4
and ecx, 0x7f
xor edx, ecx
add edi, dword [ebx + edx*4]
cmp esi, 0x10000
jb 0x47fe08
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x47fe3d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x100
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0x14]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x47fe52
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x480eab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 0x10]
inc eax
shl eax, cl
push edi
or esi, eax
xor edi, edi
cmp esi, 1
je 0x480eee
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add edi, dword [eax + ecx*4]
cmp esi, 1
jne 0x480ecb
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x480f33
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
inc edi
test ebx, ebx
je 0x480f75
mov eax, dword [ebp + 0x10]
mov edx, eax
shr eax, 1
and edx, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edi*2]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
add edi, edi
and eax, 0x7f
or edi, edx
xor ecx, eax
mov eax, dword [ebp + 0x14]
add esi, dword [eax + ecx*4]
dec ebx
jne 0x480f45
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x481243
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.004bf54c
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x48126f
call fcn.00481187
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a0c00
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0xc
mov dword [ebp - 0x20], edi
call fcn.00481836
pop ecx
test eax, eax
je 0x4a0c32
mov ecx, eax
call fcn.004a0787
mov ebx, eax
mov dword [ebp - 0x28], eax
jmp 0x4a0c37
xor ebx, ebx
mov dword [ebp - 0x28], ebx
or dword [ebx], 0xffffffff
lea ecx, [ebp - 0x1c]
push dword [edi + 0x108]
call fcn.00406c40
cmp dword [ebp - 8], 8
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [edi + 0x4c]
call fcn.0042415e
push dword [edi + 0x4c]
mov esi, edi
lea ecx, [ebp - 0x24]
mov esi, dword [esi + 0x38]
call fcn.00467d43
push esi
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00467d43
push dword [edi]
add ebx, 4
push dword [eax]
push str.reportver2.0.0.0installstepbeginoldver_snewver_s
push ebx
call fcn.004244ed
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.004206ab
push 0xc
push 0x4fde8c
mov ecx, ebx
call fcn.0043bf8a
push dword [0x55b2bc]
lea ecx, [ebp - 0x24]
call fcn.00467d43
mov ecx, ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043bf8a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.004206ab
push 8
push 0x5000ec
mov ecx, ebx
call fcn.0043bf8a
mov eax, dword [ebp - 0x20]
mov edi, 0x4fdc68
mov ecx, 0x50ff38
mov esi, edi
cmp dword [eax + 0xb4], 0
cmove esi, ecx
push esi
call fcn.00431b2d
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.0043bf8a
push 7
push str.force
mov ecx, ebx
call fcn.0043bf8a
mov eax, dword [ebp - 0x20]
mov esi, edi
cmp dword [eax + 0xc8], 0
mov eax, 0x50ff38
cmove esi, eax
push esi
call fcn.00431b2d
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.0043bf8a
push 0x17
push str.innver2013_11_22_1849
mov ecx, ebx
call fcn.0043bf8a
push 0xb
push str.installed
mov ecx, ebx
call fcn.0043bf8a
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x70], 0
mov eax, 0x50ff38
cmove edi, eax
push edi
call fcn.00431b2d
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.0043bf8a
push dword [ebx]
mov edi, 0x55b31c
push str._r_n_beginreport_s_r_n
push edi
call fcn.004a9913
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x28]
push 0x4a6ffa
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4a0de0
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4a0dd1
push str.Report_timeout_r_n
push edi
call fcn.004a9913
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CusReport_Report_end_r_n
push edi
call fcn.004a9913
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403650
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b8d90
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5aa4
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
call fcn.004b8ee0
add esp, 4
test al, al
jne 0x4b8dda
lea eax, [ebx + 2]
jmp 0x4b8ec1
xor eax, eax
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], vtable.ATL::CAccessToken.0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0043243e
add esp, 4
lea ecx, [ebp - 0x14]
add eax, 4
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x4b8e29
cmp dword [ebp - 0x14], 0
setne byte [ebp - 0x15]
lea ecx, [ebp - 0x88]
call fcn.00424c1d
cmp byte [ebp - 0x15], 0
jne 0x4b8e8f
call fcn.00406510
cmp eax, 2
jg 0x4b8e78
push 2
push 0xf2
push str.RepairService_repair.cc
lea ecx, [ebp - 0xd8]
call fcn.00406520
add eax, 8
mov byte [ebp - 4], 1
push str.User_seems_not_in_Administrators_group__continue_anyway
mov ebx, 1
push eax
mov dword [ebp - 0x14], ebx
call fcn.00404060
add esp, 8
mov dword [ebp - 4], 0
test bl, 1
je 0x4b8e8f
lea ecx, [ebp - 0xd8]
call fcn.00406570
call fcn.004b90b0
test al, al
jne 0x4b8e9f
mov esi, 3
jmp 0x4b8eb5
push esi
call fcn.004b9300
add esp, 4
test al, al
jne 0x4b8eb3
mov esi, 7
jmp 0x4b8eb5
xor esi, esi
push 0
call fcn.0048185e
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x418130
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x148
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x1004], eax
test eax, eax
jne 0x41817f
push ebx
call fcn.0049ef60
test eax, eax
je 0x418174
cmp eax, 0x20
je 0x418174
push ebx
push eax
push 0x20
push 0x5c8
call fcn.00475570
push eax
call fcn.004ad030
add esp, 0x10
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x11e0], eax
mov eax, dword [esi + 0x1004]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x1004]
push 0x4d7df0
push ecx
mov dword [esi + 0x11e4], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetNextName
push edx
mov dword [esi + 0x11e8], eax
call edi
mov dword [esi + 0x11ec], eax
mov eax, dword [esi + 0x1004]
push str.GetListItem
push eax
call edi
mov ecx, dword [esi + 0x1004]
push str.Extract
push ecx
mov dword [esi + 0x11f0], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetComment
push edx
mov dword [esi + 0x11f4], eax
call edi
cmp dword [esi + 0x11e0], 0
mov dword [esi + 0x11f8], eax
je 0x41838e
cmp dword [esi + 0x11e4], 0
je 0x41838e
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c1d50
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x413970
mov dword [esp + 0x14], 0x413ab0
mov dword [esp + 0x18], 0x413b10
mov dword [esp + 0x44], 0x413b20
mov dword [esp + 0x20], 0x413b30
mov dword [esp + 0x2c], 0x413cb0
mov dword [esp + 0x30], 0x413cd0
mov dword [esp + 0x38], 0x413ce0
mov dword [esp + 0x3c], 0x415910
mov dword [esp + 0x34], 0x415ad0
mov dword [esp + 0x48], 0x413dc0
mov dword [esp + 0x4c], 0x413dd0
mov dword [esp + 0x24], 0x413de0
mov dword [esp + 0x54], 0x413eb0
mov dword [esp + 0x28], 0x413f30
mov dword [esp + 0x40], 0x414060
mov dword [esp + 0x58], 0x414090
mov dword [esp + 0x5c], 0x4140a0
mov dword [esp + 0x60], 0x4140b0
mov dword [esp + 0x64], 0x4140c0
mov dword [esp + 0x1c], 0x417f50
mov dword [esp + 0x50], 0x4140d0
mov dword [esp + 0x68], 0x414130
call fcn.0044b3b0
push 0x1d8
lea edi, [esi + 0x1008]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004c1d50
mov edx, dword [esi + 0x11e0]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], 0x1d8
mov dword [esi + 0x100c], 2
mov dword [esi + 0x1010], 0x50000
call edx
test al, al
je 0x41835d
cmp dword [esi + 0x100c], 2
jne 0x41835d
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x148
ret
mov eax, dword [esi + 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
mov dword [esi + 0x1004], 0
call fcn.00460620
push eax
push 0x42e
call fcn.00475570
push eax
call fcn.004ad030
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
Function at 0x44cba0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push 0x4d7f58
mov esi, ecx
call fcn.0046c8f0
push 0x800
push 0x4d79fc
test eax, eax
je 0x44cc10
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push 0x4d7f58
call fcn.0046c8c0
cmp word [esp + 4], 0
je 0x44cc66
lea ecx, [esp + 4]
push ecx
call fcn.0043ccc0
test al, al
je 0x44cc66
push 0x800
lea edx, [esp + 8]
push edx
jmp 0x44cc5a
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push 0x4d7ab4
call fcn.0046c8c0
push 0x800
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x100c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x1002], ax
cmp word [esp + 4], ax
je 0x44cc66
push 0x800
lea ecx, [esp + 8]
push ecx
add esi, 0x101c
push esi
call fcn.0047f480
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x2004
ret
Function at 0x49e7c0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
call edi
push ebx
mov esi, eax
call edi
mov ebp, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x40], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, eax
neg edx
push edx
push 0
lea edx, [eax - 1]
push edx
push esi
push ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x49e990
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp word [0x551650], 0
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [esp + 0x1014]
push edi
je 0x49e9d3
push 0x551650
push esi
call fcn.0047f480
jmp 0x49ea65
push 0x4d79fc
push esi
push str.TempFolder
push 0x4d7ab4
call fcn.0046c8c0
xor eax, eax
mov word [esp + 8], ax
movzx eax, word [esi]
test ax, ax
je 0x49ea20
push 0x800
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x49ea18
push edi
lea edx, [esp + 0xc]
push edx
push esi
call fcn.0047f480
movzx eax, word [esi]
test ax, ax
jne 0x49ea2f
cmp byte [esp + 0x1018], 0
je 0x49ea3b
test ax, ax
je 0x49ea65
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49ea65
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49ea4d
cmp word [esi], 0
jne 0x49ea65
mov eax, str._rartemp
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x49ea56
push edi
push esi
call fcn.004601c0
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 0xc
Function at 0x4ada00
Capabilities:
Copy file

Disassembly:
mov eax, 0x3024
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x3020], eax
cmp byte [0x532b51], 0
je 0x4adbde
push ebx
push 0x800
lea eax, [esp + 0x2028]
push eax
mov ecx, 0x541610
call fcn.00415320
push 1
push 0x4d897c
push 0x4d7f58
call fcn.0046c8f0
test eax, eax
setne bl
test bl, bl
je 0x4ada75
push 0x800
push 0x4d79fc
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push 0x4d96f0
call fcn.0046c8c0
cmp word [esp + 0x24], 0
jne 0x4ada87
lea edx, [esp + 0x24]
push edx
call fcn.00449230
push 0x800
lea eax, [esp + 0x1028]
push eax
lea ecx, [esp + 0x202c]
push ecx
call fcn.00460620
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00460210
push 1
push 0
lea eax, [esp + 0x102c]
push eax
push 0x5af
call fcn.00475570
mov ecx, dword [0x534ca4]
push eax
push ecx
call fcn.0041c6e0
test al, al
je 0x4adbdd
push 0x800
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x102c]
push eax
call fcn.004608c0
test bl, bl
je 0x4adb06
lea ecx, [esp + 0x24]
push ecx
push str.SaveArcFolder
push 0x4d96f0
call fcn.0046c7f0
lea eax, [esp + 0x2024]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4adb10
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4adb2c
mov eax, 0x7ff
xor edx, edx
mov word [esp + eax*2 + 0x2024], dx
lea eax, [esp + 0x1024]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4adb40
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4adb5c
mov eax, 0x7ff
xor ecx, ecx
mov word [esp + eax*2 + 0x1024], cx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea ecx, [esp + 4]
lea edx, [esp + 0x2024]
lea eax, [esp + 0x1024]
push ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4adbdd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
push 0x5b0
call fcn.00475570
push eax
call fcn.004ad030
add esp, 0xc
mov ecx, 0x51ef08
call fcn.00433a70
pop ebx
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004c1302
add esp, 0x3024
ret
Function at 0x4b0aa0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1028
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x1024], eax
push esi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], 0x50000
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push str.VerInfo
push 0x4d7f58
call fcn.0046c910
push 1
push 0x800
lea edx, [esp + 0x30]
push edx
call fcn.00460a10
push 0x800
lea eax, [esp + 0x2c]
push eax
call fcn.004601c0
push 0x800
push str.version.dat
lea ecx, [esp + 0x30]
push ecx
call fcn.0047f4c0
push 0x4d9470
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x18], 0
call fcn.0043caf0
mov esi, eax
test esi, esi
je 0x4b0b4d
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004c4965
push esi
call fcn.004c3d02
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x4b0bfc
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x4b0bc8
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push 0x4d7f58
call fcn.0046c870
push 0x4d83b4
lea edx, [esp + 0x2c]
push edx
call fcn.0043caf0
mov esi, eax
test esi, esi
je 0x4b0ba8
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004c3ee0
push esi
call fcn.004c3d02
add esp, 0x14
mov dword [0x533bf0], 0
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004c1302
add esp, 0x1028
ret
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
push str.VerInfo
push 0x4d7f58
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.0046c870
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4b0c43
cmp dword [esp + 0x10], eax
je 0x4b0c43
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
push 0x4d83b4
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0043caf0
mov esi, eax
test esi, esi
je 0x4b0c43
push esi
push 0xc
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004c3ee0
push esi
call fcn.004c3d02
add esp, 0x14
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
xor eax, eax
push 1
xor esi, esi
sub ecx, edx
push eax
sbb esi, eax
push esi
push ecx
call fcn.004c1a70
mov ecx, dword [esp + 8]
xor esi, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb edx, esi
push esi
add eax, ecx
push 0x989680
adc edx, esi
push edx
push eax
call fcn.004c2df0
push esi
push 0xe10
push edx
push eax
call fcn.004c2df0
push esi
push 0x18
push edx
push eax
call fcn.004c2df0
mov dword [0x533bf0], eax
test eax, eax
jge 0x4b0ca6
mov dword [0x533bf0], 0x168
mov ecx, dword [esp + 0x1028]
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1028
ret