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

Disassembly:
mov eax, 0x4a9f75
call fcn.004a5308
sub esp, 0xc
push ebx
push edi
mov edi, ecx
call fcn.00468cd2
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x445a5c
mov eax, esi
call fcn.00404ed3
push edi
call fcn.0040a17e
mov dword [esp], str.instcfg.dat
push edi
call fcn.004060b6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4459e8
test al, 0x10
jne 0x4459f0
push dword [esi]
call fcn.00406016
pop ecx
push str.http:__cdnfiles.52songshu.com_rcmdsoft_winzips_instcfg.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00405bf2
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00445e82
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.0040596d
test bl, bl
je 0x445a55
push str.http:__cdnconfs.52songshu.com_rcmdsoft_winzips_instcfg.dat
lea eax, [ebp - 0x14]
push eax
call fcn.00405bf2
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00445e82
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
push edi
push edi
call fcn.00445ebb
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret

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

Disassembly:
mov eax, 0x4a6eed
call fcn.004a5308
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00405bf2
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4476e2
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
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 0x4476c3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x4476c3
lea ecx, [ebp - 0x10]
call fcn.004475bd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x447719
xor esi, esi
jmp 0x4476c6
push eax
call fcn.00447697
test eax, eax
pop ecx
je 0x447715
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4476c3
call edi
cmp eax, ebx
jne 0x447715
jmp 0x4476c3
Function at 0x447737
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a6eed
call fcn.004a5308
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.0048ad10
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 0x4b7918
call fcn.0040663f
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 0x4477dd
cmp dword [ebp + 0x10], ebx
je 0x4477da
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 0x4477f0
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x20], ebx
je 0x4477fd
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], ebx
lea eax, [esi - 0x10]
call fcn.0040596d
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 0x447843
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a6a80
call fcn.004a5308
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x447863
xor eax, eax
jmp 0x4479ab
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 0x4b7918
call fcn.0040663f
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040a45c
test eax, eax
jne 0x44798f
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.0048ad10
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], 0x4b7940
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 0x447939
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 0x447939
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x447936
mov dword [ebp - 0x24], 0x430
jmp 0x447939
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 0x447968
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x447976
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x447981
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x44798f
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x44799e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4479ba
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4a6b1f
call fcn.004a5308
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x4479db
xor eax, eax
jmp 0x447b8e
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 0x4b7918
call fcn.0040663f
push pe_nt_image_headers32
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.0048ad10
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 0x447a40
cmp dword [ebp - 0x18c], 6
jne 0x447a40
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x447a54
call fcn.0040a45c
jmp 0x447a59
call fcn.0040a40c
cmp eax, ebx
jne 0x447b72
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0048ad10
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.0040a4c7
add esp, 0x10
test al, al
jne 0x447abe
cmp dword [ebp - 0x10], ebx
je 0x447ab4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a641
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], 0x4b7940
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 0x447b1d
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 0x447b1d
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x447b1a
mov dword [ebp - 0x14], 0x430
jmp 0x447b1d
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 0x447b4d
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x447b5b
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x447b64
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x447b72
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x447b80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596d
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 0x447cc3
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4c5138
call fcn.004a5328
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x447d71
cmp dword [ebp + 0xc], eax
je 0x447d71
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 0x447d71
mov ebx, 0x103
cmp esi, ebx
ja 0x447d71
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.004879f5
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x447d6d
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0048ad10
add esp, 0xc
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
test eax, eax
je 0x447d6d
cmp eax, ebx
ja 0x447d6d
push eax
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0xc]
call fcn.0048e15a
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x447d6d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x447d80
push dword [ebp - 0x1c]
call fcn.0048ad07
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004a5363
ret

Function at 0x447d89
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4a6f79
call fcn.004a5308
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.004060b6
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 0x447dcb
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x447dd2
call esi
cmp eax, 5
je 0x447dd5
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x44867c
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x44868d
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44869f
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.004479ba
add esp, 0xc
test eax, eax
je 0x4486ba
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.00447843
test eax, eax
pop ecx
pop ecx
jne 0x4486b6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00447737
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
pop ecx
ret
Function at 0x44ed6b
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 0x44eea4
push eax
call fcn.0043272b
mov ebx, eax
test ebx, ebx
pop ecx
je 0x44ee71
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 0x44ede5
lea eax, [ebx + 0x18]
push eax
call fcn.004331af
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.00432c15
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x44ee3b
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x44ee2d
cmp word [ecx], ax
je 0x44ee2d
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44ee71
cmp dword [ebx + 0x14], eax
je 0x44ee71
mov dword [ebp - 4], 1
jmp 0x44ee71
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 0x44ee5a
lea eax, [ebx + 0x18]
push eax
call fcn.004331af
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00432c15
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x44ee82
push 0x67
jmp 0x44ee9d
cmp dword [ebp - 8], ecx
je 0x44eea4
cmp dword [ebp - 0xc], ecx
je 0x44eea4
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x44ee9b
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0044e998
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x451046
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4a6f79
call fcn.004a5308
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405bf2
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.0042b20d
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x452d5f
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.0048ad10
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 0x452db8
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x452e66
mov eax, dword [ebp - 0x94]
dec eax
je 0x452e52
dec eax
jne 0x452e66
cmp dword [ebp - 0xa0], 6
jne 0x452e03
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x452deb
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x452dff
cmp dword [ebp - 0x9c], edi
jne 0x452e3f
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x452e66
cmp dword [ebp - 0xa0], 5
jne 0x452e32
cmp dword [ebp - 0x9c], 2
jne 0x452e19
push 5
jmp 0x452e4f
cmp dword [ebp - 0x9c], 1
jne 0x452e26
push 6
jmp 0x452e4f
cmp dword [ebp - 0x9c], edi
jne 0x452e66
push 3
jmp 0x452e4f
cmp dword [ebp - 0xa0], 4
ja 0x452e66
push 4
jmp 0x452e4f
cmp dword [ebp - 0x9c], 2
jne 0x452e66
cmp byte [ebp + 0x76], al
jne 0x452e66
push 0xa
pop edi
jmp 0x452e66
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 0x45577b
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push esi
xor esi, esi
inc esi
cmp edx, esi
jne 0x4557c8
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
jne 0x455798
xor ecx, ecx
call fcn.00455e24
mov eax, esi
pop esi
ret
cmp ecx, 0x64
jne 0x4557b5
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 0x455794
cmp ecx, 0x65
jne 0x4557bf
push 2
pop ecx
jmp 0x45578f
cmp ecx, 0x66
jne 0x4557c8
push 3
jmp 0x4557bc
and dword [eax + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x45746f
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 0x4574bb
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 0x4574bb
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 0x457533
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x4574d8
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x45752c
push edi
call fcn.0043272b
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.00432c15
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 0x4577f9
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 0x45782a
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 0x45786e
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 0x45786e
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 0x4579c2
push eax
call fcn.0043272b
mov edi, eax
test edi, edi
pop ecx
je 0x457941
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 0x4578b5
push 1
push edi
push esi
call fcn.0045860a
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.00432c15
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x45790b
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x4578fd
cmp word [ecx], ax
je 0x4578fd
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x457941
cmp dword [edi + 0x14], eax
je 0x457941
mov dword [ebp - 0xc], 1
jmp 0x457941
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 0x45792a
push 1
push edi
push esi
call fcn.0045860a
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00432c15
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x457983
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 0x4579c2
cmp dword [ebp - 0x10], eax
je 0x4579c2
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4579c2
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 0x4579c2
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4593f2
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4a9e2c
call fcn.004a5308
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.0048ad10
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.00405e0d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e0d
push 0x2e
lea esi, [ebp - 0x10]
call fcn.00406161
cmp eax, 0xffffffff
je 0x4594a7
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040626b
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.0040596d
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.004590f2
test eax, eax
jne 0x459504
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
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 0x45953f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, ebx
jmp 0x4594f3
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x4595a7
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.00407fb1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x45959d
cmp dword [ebp - 0x14], edi
jne 0x45959d
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x459585
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.004098d3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459525
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00407fd7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x459525