joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460500
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x638]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460596
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460536
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x460644
mov ecx, 0x5c
cmp cx, word [edi + eax*2 + 0x638]
jne 0x460567
xor edx, edx
mov word [edi + eax*2 + 0x638], dx
push str.360verify.dll
push esi
push str._s_s
push 0x104
push ebx
call fcn.00407bfc
add esp, 0x14
push ebx
mov ecx, edi
call fcn.00460140
test eax, eax
je 0x460596
mov eax, 1
jmp 0x460646
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00441830
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x485134
push 0x4855d0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x460644
lea eax, [esp + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4605f0
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x460644
lea eax, [esp + eax*2 + 0x14]
mov edx, 0x5c
cmp dx, word [eax]
jne 0x460617
xor ecx, ecx
mov word [eax], cx
push str.360verify.dll
lea edx, [esp + 0x18]
push edx
push str._s_s
push 0x104
push ebx
call fcn.00407bfc
add esp, 0x14
push ebx
mov ecx, edi
call fcn.00460140
test eax, eax
jne 0x46058c
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x214
ret 4
Function at 0x460660
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x674]
push ebp
push esi
push edi
mov edi, dword [esp + 0x67c]
push str..log
mov ebp, ecx
push str.360_formal_
lea esi, [ebp + 0x430]
push esi
push str._s_s_s
lea edx, [esp + 0x47c]
xor ecx, ecx
push 0x104
push edx
mov dword [esp + 0x28], eax
mov word [edi], cx
call fcn.00407bfc
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4607bf
push ebx
lea esp, [esp]
test byte [esp + 0x18], 0x10
jne 0x460750
lea edx, [esp + 0x44]
push edx
push esi
push str._s_s
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.00407bfc
add esp, 0x14
cmp dword [esp + 0x688], 0
je 0x460738
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.00446b00
mov ecx, dword [esp + 0x38]
xor ebx, ebx
add eax, ecx
adc edx, ebx
test edx, edx
jg 0x460750
jl 0x460738
cmp eax, 0x200000
ja 0x460750
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045feb0
test eax, eax
jne 0x46076a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4606e0
jmp 0x4607ac
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4607a0
movzx ecx, word [esi + eax]
test cx, cx
je 0x4607a0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x460780
jmp 0x4607a4
test edx, edx
jne 0x4607a7
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop ebx
jmp 0x4607c1
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004420f4
add esp, 0x66c
ret 0xc
Function at 0x4607e0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
mov ebx, dword [esp + 0x670]
push esi
push edi
mov edi, dword [esp + 0x674]
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x46e]
push ecx
mov word [esp + 0x470], ax
call fcn.00441830
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x272]
push eax
mov word [esp + 0x274], dx
call fcn.00441830
push 0x24c
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x30], 0
call fcn.00441830
push ebx
push edi
add esi, 0x430
push esi
push str._s_s_s
lea edx, [esp + 0x498]
push 0x104
push edx
call fcn.00407bfc
add esp, 0x3c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4608e9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [esp + 0x10], 0x10
jne 0x4608d5
lea edx, [esp + 0x3c]
push edx
push esi
push str._s_s
lea eax, [esp + 0x26c]
push 0x104
push eax
call fcn.00407bfc
add esp, 0x14
lea ecx, [esp + 0x260]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push edi
call ebx
test eax, eax
jne 0x4608a4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x664
ret 8
Function at 0x460910
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x674]
push ebp
push esi
push edi
mov edi, dword [esp + 0x67c]
push str..log2
mov ebp, ecx
push str.New360_formal_
lea esi, [ebp + 0x430]
push esi
push str._s_s_s
lea edx, [esp + 0x47c]
xor ecx, ecx
push 0x104
push edx
mov dword [esp + 0x28], eax
mov word [edi], cx
call fcn.00407bfc
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x460a6f
push ebx
lea esp, [esp]
test byte [esp + 0x18], 0x10
jne 0x460a00
lea edx, [esp + 0x44]
push edx
push esi
push str._s_s
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.00407bfc
add esp, 0x14
cmp dword [esp + 0x688], 0
je 0x4609e8
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.00446b00
mov ecx, dword [esp + 0x38]
xor ebx, ebx
add eax, ecx
adc edx, ebx
test edx, edx
jg 0x460a00
jl 0x4609e8
cmp eax, 0x200000
ja 0x460a00
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045feb0
test eax, eax
jne 0x460a1a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460990
jmp 0x460a5c
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x460a50
movzx ecx, word [esi + eax]
test cx, cx
je 0x460a50
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x460a30
jmp 0x460a54
test edx, edx
jne 0x460a57
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop ebx
jmp 0x460a71
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004420f4
add esp, 0x66c
ret 0xc
Function at 0x460ba0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x680]
push str..log2
mov ebp, ecx
push str.New360_tmp_
lea ebx, [ebp + 0x430]
push ebx
push str._s_s_s
lea ecx, [esp + 0x480]
xor eax, eax
push 0x104
push ecx
mov word [edi], ax
call fcn.00407bfc
add esp, 0x18
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x460d0b
test byte [esp + 0x18], 0x10
jne 0x460cea
lea ecx, [esp + 0x44]
push ecx
push ebx
push str._s_s
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.00407bfc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add esp, 0x14
push eax
push ecx
mov ecx, ebp
call fcn.004600a0
test eax, eax
je 0x460cea
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045feb0
test eax, eax
je 0x460cea
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
nop
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x460ca0
movzx ecx, word [esi + eax]
test cx, cx
je 0x460ca0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x460c80
jmp 0x460ca4
test edx, edx
jne 0x460ca7
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0045ff30
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.00446b00
mov ecx, dword [esp + 0x38]
xor esi, esi
add eax, ecx
adc edx, esi
test eax, eax
jne 0x460d00
test edx, edx
jne 0x460d00
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x10]
xor edx, edx
mov word [edi], dx
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460c13
jmp 0x460d04
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004420f4
add esp, 0x66c
ret 4
Function at 0x460d30
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x400dc
call fcn.00443860
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x400d8], eax
push ebx
mov ebx, dword [esp + 0x400e8]
push ebp
push esi
mov esi, dword [esp + 0x400ec]
push edi
xor ebp, ebp
push 0xc4
lea eax, [esp + 0x28]
push ebp
push eax
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
call fcn.00441830
add esp, 0xc
push str..log2
push ebp
call fcn.00443c2a
add esp, 4
push eax
push str.New360_tmp_
push str.up2.
add edi, 0x430
push edi
push str._s_s_s_d_s
push 0x104
push esi
call fcn.00407bfc
add esp, 0x20
push ebp
push ebp
push 4
push ebp
push 3
push 0x12019f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x460ec6
push ebp
push ebp
push 3
push ebp
push 1
push 0x120089
push ebx
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x460ded
xor esi, esi
jmp 0x460eb2
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0xc8
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
test eax, eax
je 0x460eb2
cmp dword [esp + 0x10], 0xc8
jne 0x460eb2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x18]
push eax
push 0xc8
lea ecx, [esp + 0x2c]
push ecx
push edi
mov dword [esp + 0x48], 1
call ebp
test eax, eax
je 0x460eb2
cmp dword [esp + 0x14], 0xc8
jne 0x460eb2
push 0
lea edx, [esp + 0x14]
push edx
push 0x40000
lea eax, [esp + 0xf4]
push eax
push esi
call ebx
test eax, eax
je 0x460eaa
mov eax, dword [esp + 0x10]
test eax, eax
je 0x460eaa
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0xf4]
push edx
push edi
call ebp
test eax, eax
je 0x460eb2
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
jne 0x460eb2
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x40000
lea edx, [esp + 0xf4]
push edx
push esi
call ebx
test eax, eax
jne 0x460e66
mov dword [esp + 0x18], 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x460ebf
push edi
call ebx
test esi, esi
je 0x460ec6
push esi
call ebx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x400e8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x400dc
ret 8
Function at 0x460ef0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov eax, ebx
push edi
mov edi, ecx
xor ebp, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460f02
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
add eax, eax
push eax
mov dword [esp + 0x20], eax
call fcn.00424946
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
mov ecx, edi
call fcn.00460220
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jbe 0x460f3d
dec ebx
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x460f7b
cmp ebx, dword [esp + 0x10]
jne 0x460f7b
push esi
call fcn.0042493b
mov eax, dword [esp + 0x14]
add esp, 4
add dword [edi + 0xb64], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
push esi
call fcn.0042493b
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x460f90
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x460faf
test byte [esp], 7
je 0x460faf
mov eax, 1
pop ecx
ret
call fcn.00460340
pop ecx
ret
Function at 0x4612f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x1e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x24], ax
call fcn.00441830
add esp, 0xc
push str.i18n.dll
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, eax
cmp esi, ebx
jne 0x4613c9
push 0x104
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x461365
xor eax, eax
jmp 0x461444
push str...i18n.dll
lea eax, [esp + 0x1c]
push eax
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x4613b0
push str.....i18n.dll
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x4613b0
push str.......i18n.dll
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
je 0x46135e
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004612d0
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
test esi, esi
je 0x46135e
push str.CreateI18N
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x461422
lea ecx, [esp + 0x10]
push ecx
call eax
add esp, 4
test eax, eax
je 0x461422
push 0x48afe0
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x461422
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov dword [edi + 0xb6c], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x461431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call edx
test esi, esi
je 0x461440
test ebx, ebx
je 0x461440
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x214
ret
Function at 0x461530
Capabilities:
Delete file

Disassembly:
mov eax, 0x1014
call fcn.00443860
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1024]
push edi
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push 4
push ebx
push 3
push 0x12019f
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46157e
xor eax, eax
jmp 0x461619
lea eax, [esp + 0xc]
push eax
push 0
call fcn.00443c2a
add esp, 4
push eax
mov ecx, esi
call fcn.0045fc80
mov ecx, dword [esp + 0x1028]
mov edx, dword [esi + 0xb6c]
push ecx
push str.log_file_is_too_big_to_merge_
push edx
lea eax, [esi + 0xa48]
push eax
movzx eax, word [esp + 0x28]
lea ecx, [esi + 0x230]
push ecx
movzx ecx, word [esp + 0x2a]
lea edx, [esi + 0x30]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
push ecx
push edx
push str._t_4d__02d__02d__02d:_02d:_02d__p_s__c_s__m_s__lan_d__warning_s__logfile_len_d_bytes__n
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.00407bfc
add esp, 0x3c
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.00460ef0
test eax, eax
je 0x46160c
mov ebx, 1
test edi, edi
je 0x461617
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x1014
ret 8

Function at 0x461640
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
push edi
mov edi, dword [esp + 0x428]
mov esi, ecx
mov dword [esp + 8], 0
test edi, edi
je 0x46175b
xor eax, eax
cmp ax, word [edi]
je 0x46175b
push 1
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x220]
push edx
mov ecx, esi
call fcn.00460660
xor eax, eax
cmp ax, word [esp + 0x218]
jne 0x4616cf
lea ecx, [esp + 0x218]
push ecx
mov ecx, esi
call fcn.00460a90
test eax, eax
je 0x46175b
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x21c]
push eax
mov ecx, esi
call fcn.0045feb0
test eax, eax
je 0x46175b
push 0x492d20
push edi
push 0x486588
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.00407bfc
add esp, 0x14
push 1
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x46174f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0045fd10
test eax, eax
je 0x46174f
mov eax, dword [esp + 0xc]
cmp eax, 0x300000
jbe 0x46172f
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00461530
test eax, eax
je 0x461744
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0045fd90
test eax, eax
je 0x46174f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0045ff30
mov ecx, dword [esp + 0x420]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004420f4
add esp, 0x41c
ret 4
Function at 0x461780
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0xa34
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push edi
mov edi, ecx
push str.Newctrl.lck
lea eax, [edi + 0x430]
push eax
push str._s_s
lea ecx, [esp + 0x83c]
push 0x104
push ecx
xor ebx, ebx
call fcn.00407bfc
add esp, 0x14
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x834]
push eax
mov ecx, edi
call fcn.0045feb0
test eax, eax
jne 0x4617f2
pop edi
lea eax, [ebx + 2]
pop ebx
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.004420f4
add esp, 0xa34
ret
push esi
push str..log
push str.360_tmp_
mov ecx, edi
call fcn.004607e0
push str..log
push str.360_formal_
mov ecx, edi
call fcn.004607e0
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x224]
push edx
mov ecx, edi
call fcn.00460910
test eax, eax
jne 0x4618a6
lea eax, [esp + 0x62c]
push eax
mov ecx, edi
call fcn.00460ba0
test eax, eax
je 0x46189c
xor ecx, ecx
cmp cx, word [esp + 0x62c]
je 0x46189c
lea eax, [esp + 0x424]
lea esi, [esp + 0x62c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x461880
movzx ecx, word [esi + eax]
test cx, cx
je 0x461880
add eax, 2
sub edx, 1
jne 0x461865
lea eax, [esp + 0x62c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00460d30
test eax, eax
jne 0x46192d
mov ebx, 2
jmp 0x461959
xor edx, edx
cmp dx, word [esp + 0x21c]
je 0x46189c
push str..up2
lea eax, [esp + 0x220]
push eax
push 0x486588
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.00407bfc
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.0045ff30
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x461959
lea eax, [esp + 0x424]
lea esi, [esp + 0x21c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x46192d
movzx ecx, word [esi + eax]
test cx, cx
je 0x46192d
add eax, 2
sub edx, 1
jne 0x461912
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.0045ff90
test eax, eax
je 0x461959
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00460b00
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.0045ff30
mov ecx, dword [esp + 0xa3c]
pop esi
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0xa34
ret
Function at 0x463c10
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
push esi
push edi
test ebx, ebx
je 0x463c54
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x463c54
mov edi, dword [ebx + 0x3c]
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xf8
mov eax, ebp
cdq
adc ecx, 0
cmp edx, ecx
jb 0x463c54
ja 0x463c48
cmp eax, esi
jbe 0x463c54
cmp dword [edi + ebx], 0x4550
lea ecx, [edi + ebx]
je 0x463c5b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
movzx edx, word [ecx + 4]
mov esi, 0x14c
xor eax, eax
cmp dx, si
jne 0x463c7b
push ebp
mov eax, ecx
call fcn.00463ad0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, 0x8664
cmp dx, si
je 0x463c8f
mov esi, 0x200
cmp dx, si
jne 0x463c9a
push ebx
mov eax, ebp
call fcn.00463b50
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4668c0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 4], 0
jne 0x4668da
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
pop esi
ret
Function at 0x46bab0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x46baed
mov edx, dword [esp + 4]
test edx, edx
je 0x46baed
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x46baed
push esi
push 0
lea esi, [esp + 0xc]
push esi
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x46baed
mov eax, dword [esp + 4]
ret 8
or eax, 0xffffffff
ret 8

Function at 0x46bb00
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x46bb10
or eax, eax
or edx, 0xffffffff
pop ecx
ret
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.00446b00
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret
Function at 0x46cb40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.00441830
add esp, 0xc
push 0
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046c450
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004420f4
add esp, 0x210
ret 4

Function at 0x46cbc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.00441830
add esp, 0xc
push 0
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046c450
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004420f4
add esp, 0x210
ret 4