joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4458e2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4a9e97
call fcn.004a5218
sub esp, 0xc
push ebx
push edi
mov edi, ecx
call fcn.00468b9a
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x4459a2
mov eax, esi
call fcn.00404ed3
push edi
call fcn.00409290
mov dword [esp], str.instcfg.dat
push edi
call fcn.00406164
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44592e
test al, 0x10
jne 0x445936
push dword [esi]
call fcn.004060c4
pop ecx
push str.http:__cdnfiles.52songshu.com_rcmdsoft_winzipy_instcfg.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00405b9b
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00445dc8
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.0040592b
test bl, bl
je 0x44599b
push str.http:__cdnconfs.52songshu.com_rcmdsoft_winzipy_instcfg.dat
lea eax, [ebp - 0x14]
push eax
call fcn.00405b9b
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00445dc8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040592b
push edi
push edi
call fcn.00445e01
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4475f3
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4a70f7
call fcn.004a5218
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00405b9b
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44763e
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040592b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44761f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x44761f
lea ecx, [ebp - 0x10]
call fcn.00447519
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x447675
xor esi, esi
jmp 0x447622
push eax
call fcn.004475f3
test eax, eax
pop ecx
je 0x447671
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44761f
call edi
cmp eax, ebx
jne 0x447671
jmp 0x44761f
Function at 0x447693
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a70f7
call fcn.004a5218
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x14], ebx
call fcn.0048ac30
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4d6fec]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x4d6fec
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x4b78f8
call fcn.004066e3
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
push ebx
and esi, 0xa
mov word [ebp - 0x40], si
mov esi, dword [ebp - 0x10]
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x447739
cmp dword [ebp + 0x10], ebx
je 0x447736
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x24], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44774c
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x20], ebx
je 0x447759
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], ebx
lea eax, [esi - 0x10]
call fcn.0040592b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44779f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a695c
call fcn.004a5218
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x4477bf
xor eax, eax
jmp 0x447907
mov eax, dword [0x4d6fec]
mov ecx, 0x4d6fec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x4b78f8
call fcn.004066e3
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040a3ec
test eax, eax
jne 0x4478eb
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.0048ac30
and dword [ebp - 0x34], 0
xor eax, eax
add esp, 0xc
neg ebx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
sbb ebx, ebx
and ebx, 5
stosd dword es:[edi], eax
mov word [ebp - 0x4c], bx
xor ebx, ebx
push str.userenv.dll
stosd dword es:[edi], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x74], 0x4b7920
mov dword [ebp - 0x24], 0x30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x447895
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov dword [ebp - 0x18], eax
je 0x447895
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x447892
mov dword [ebp - 0x24], 0x430
jmp 0x447895
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x34], ebx
mov edi, eax
je 0x4478c4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x4478d2
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x4478dd
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x4478eb
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x4478fa
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x447916
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4a694a
call fcn.004a5218
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x447937
xor eax, eax
jmp 0x447aea
mov eax, dword [0x4d6fec]
mov ecx, 0x4d6fec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x4b78f8
call fcn.004066e3
push pe_nt_image_headers32
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.0048ac30
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44799c
cmp dword [ebp - 0x18c], 6
jne 0x44799c
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x4479b0
call fcn.0040a3ec
jmp 0x4479b5
call fcn.0040a39c
cmp eax, ebx
jne 0x447ace
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0048ac30
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.0040a457
add esp, 0x10
test al, al
jne 0x447a1a
cmp dword [ebp - 0x10], ebx
je 0x447a10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a5d1
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], 0x4b7920
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x447a79
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x447a79
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x447a76
mov dword [ebp - 0x14], 0x430
jmp 0x447a79
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x447aa9
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x447ab7
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x447ac0
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x447ace
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x447adc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x447c1f
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4c50b8
call fcn.004a5238
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x447ccd
cmp dword [ebp + 0xc], eax
je 0x447ccd
push eax
push eax
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call edi
mov esi, eax
cmp esi, 1
jb 0x447ccd
mov ebx, 0x103
cmp esi, ebx
ja 0x447ccd
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487915
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x447cc9
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0048ac30
add esp, 0xc
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
test eax, eax
je 0x447cc9
cmp eax, ebx
ja 0x447cc9
push eax
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0xc]
call fcn.0048e07a
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x447cc9
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x447cdc
push dword [ebp - 0x1c]
call fcn.0048ac27
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004a5273
ret

Function at 0x447ce5
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4a68f9
call fcn.004a5218
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.00406164
mov ebx, dword [ebp + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x447d27
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x447d2e
call esi
cmp eax, 5
je 0x447d31
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.0040592b
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4485d8
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x4485e9
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4485fb
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00447916
add esp, 0xc
test eax, eax
je 0x448616
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.0044779f
test eax, eax
pop ecx
pop ecx
jne 0x448612
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00447693
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
pop ecx
ret
Function at 0x44eca9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x144]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x44ede2
push eax
call fcn.00432625
mov ebx, eax
test ebx, ebx
pop ecx
je 0x44edaf
mov eax, dword [ebx + 0x14]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x44ed23
lea eax, [ebx + 0x18]
push eax
call fcn.004330a9
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00432b0f
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x44ed79
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x44ed6b
cmp word [ecx], ax
je 0x44ed6b
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44edaf
cmp dword [ebx + 0x14], eax
je 0x44edaf
mov dword [ebp - 4], 1
jmp 0x44edaf
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x44ed98
lea eax, [ebx + 0x18]
push eax
call fcn.004330a9
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00432b0f
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x44edc0
push 0x67
jmp 0x44eddb
cmp dword [ebp - 8], ecx
je 0x44ede2
cmp dword [ebp - 0xc], ecx
je 0x44ede2
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x44edd9
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0044e8d6
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x450fb5
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4a68f9
call fcn.004a5218
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405b9b
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.0042b149
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040592b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x452cce
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0048ac30
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x452d27
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x452dd5
mov eax, dword [ebp - 0x94]
dec eax
je 0x452dc1
dec eax
jne 0x452dd5
cmp dword [ebp - 0xa0], 6
jne 0x452d72
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x452d5a
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x452d6e
cmp dword [ebp - 0x9c], edi
jne 0x452dae
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x452dd5
cmp dword [ebp - 0xa0], 5
jne 0x452da1
cmp dword [ebp - 0x9c], 2
jne 0x452d88
push 5
jmp 0x452dbe
cmp dword [ebp - 0x9c], 1
jne 0x452d95
push 6
jmp 0x452dbe
cmp dword [ebp - 0x9c], edi
jne 0x452dd5
push 3
jmp 0x452dbe
cmp dword [ebp - 0xa0], 4
ja 0x452dd5
push 4
jmp 0x452dbe
cmp dword [ebp - 0x9c], 2
jne 0x452dd5
cmp byte [ebp + 0x76], al
jne 0x452dd5
push 0xa
pop edi
jmp 0x452dd5
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x4556ea
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push esi
xor esi, esi
inc esi
cmp edx, esi
jne 0x455737
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
jne 0x455707
xor ecx, ecx
call fcn.00455d34
mov eax, esi
pop esi
ret
cmp ecx, 0x64
jne 0x455724
push esi
xor eax, eax
push eax
push eax
push str.https:__winzips.52songshu.com_privacy.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x455703
cmp ecx, 0x65
jne 0x45572e
push 2
pop ecx
jmp 0x4556fe
cmp ecx, 0x66
jne 0x455737
push 3
jmp 0x45572b
and dword [eax + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x45740b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x457457
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x457457
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x3bc], 0
je 0x4574cf
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x457474
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x4574c8
push edi
call fcn.00432625
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00432b0f
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3bc], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x457795
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x4577c6
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45780a
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45780a
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x45795e
push eax
call fcn.00432625
mov edi, eax
test edi, edi
pop ecx
je 0x4578dd
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x457851
push 1
push edi
push esi
call fcn.004585a6
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00432b0f
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x4578a7
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x457899
cmp word [ecx], ax
je 0x457899
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4578dd
cmp dword [edi + 0x14], eax
je 0x4578dd
mov dword [ebp - 0xc], 1
jmp 0x4578dd
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4578c6
push 1
push edi
push esi
call fcn.004585a6
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00432b0f
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x45791f
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45795e
cmp dword [ebp - 0x10], eax
je 0x45795e
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x45795e
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x45795e
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45943d
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4a9d3c
call fcn.004a5218
sub esp, 0x21c
mov eax, dword [0x4d6fec]
push ebx
push esi
push edi
mov ecx, 0x4d6fec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.0048ac30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405db6
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405db6
push 0x2e
lea esi, [ebp - 0x10]
call fcn.0040620f
cmp eax, 0xffffffff
je 0x4594f2
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00406319
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00404ed3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [0x4d6fec]
mov ecx, 0x4d6fec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.0045913d
test eax, eax
jne 0x45954f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040592b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x45958a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, ebx
jmp 0x45953e
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x4595f2
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00408016
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x4595e8
cmp dword [ebp - 0x14], edi
jne 0x4595e8
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4595d0
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00409a0f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459570
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.0040803c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x459570