joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447fed
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4a75e8
call fcn.004a5df8
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x44800e
xor eax, eax
jmp 0x4481c1
mov eax, dword [0x4d800c]
mov ecx, 0x4d800c
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 0x4b8910
call fcn.00406817
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.0048b810
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 0x448073
cmp dword [ebp - 0x18c], 6
jne 0x448073
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x448087
call fcn.0040a4e9
jmp 0x44808c
call fcn.0040a499
cmp eax, ebx
jne 0x4481a5
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0048b810
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.0040a554
add esp, 0x10
test al, al
jne 0x4480f1
cmp dword [ebp - 0x10], ebx
je 0x4480e7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a6ce
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], 0x4b8938
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 0x448150
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 0x448150
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x44814d
mov dword [ebp - 0x14], 0x430
jmp 0x448150
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 0x448180
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x44818e
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x448197
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x4481a5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x4481b3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405949
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 0x448302
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4c6498
call fcn.004a5e18
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x4483b0
cmp dword [ebp + 0xc], eax
je 0x4483b0
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 0x4483b0
mov ebx, 0x103
cmp esi, ebx
ja 0x4483b0
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.004884f5
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4483ac
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0048b810
add esp, 0xc
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
test eax, eax
je 0x4483ac
cmp eax, ebx
ja 0x4483ac
push eax
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0xc]
call fcn.0048ec5a
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x4483ac
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x4483bf
push dword [ebp - 0x1c]
call fcn.0048b807
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004a5e53
ret

Function at 0x4483c8
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4a958b
call fcn.004a5df8
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.00406298
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 0x44840a
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x448411
call esi
cmp eax, 5
je 0x448414
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.00405949
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x448c98
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x448ca9
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x448cbb
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.00447fed
add esp, 0xc
test eax, eax
je 0x448cd6
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.00447e76
test eax, eax
pop ecx
pop ecx
jne 0x448cd2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00447d6a
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
pop ecx
ret
Function at 0x44f384
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 0x44f4bd
push eax
call fcn.004327e0
mov ebx, eax
test ebx, ebx
pop ecx
je 0x44f48a
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 0x44f3fe
lea eax, [ebx + 0x18]
push eax
call fcn.00433241
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.00432cca
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x44f454
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x44f446
cmp word [ecx], ax
je 0x44f446
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44f48a
cmp dword [ebx + 0x14], eax
je 0x44f48a
mov dword [ebp - 4], 1
jmp 0x44f48a
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 0x44f473
lea eax, [ebx + 0x18]
push eax
call fcn.00433241
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00432cca
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x44f49b
push 0x67
jmp 0x44f4b6
cmp dword [ebp - 8], ecx
je 0x44f4bd
cmp dword [ebp - 0xc], ecx
je 0x44f4bd
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x44f4b4
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0044efb1
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x451656
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4a958b
call fcn.004a5df8
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405bce
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.0042b32f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405949
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x45336f
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.0048b810
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 0x4533c8
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x453476
mov eax, dword [ebp - 0x94]
dec eax
je 0x453462
dec eax
jne 0x453476
cmp dword [ebp - 0xa0], 6
jne 0x453413
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4533fb
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x45340f
cmp dword [ebp - 0x9c], edi
jne 0x45344f
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x453476
cmp dword [ebp - 0xa0], 5
jne 0x453442
cmp dword [ebp - 0x9c], 2
jne 0x453429
push 5
jmp 0x45345f
cmp dword [ebp - 0x9c], 1
jne 0x453436
push 6
jmp 0x45345f
cmp dword [ebp - 0x9c], edi
jne 0x453476
push 3
jmp 0x45345f
cmp dword [ebp - 0xa0], 4
ja 0x453476
push 4
jmp 0x45345f
cmp dword [ebp - 0x9c], 2
jne 0x453476
cmp byte [ebp + 0x76], al
jne 0x453476
push 0xa
pop edi
jmp 0x453476
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 0x455d88
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push esi
xor esi, esi
inc esi
cmp edx, esi
jne 0x455dd5
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
jne 0x455da5
xor ecx, ecx
call fcn.00456399
mov eax, esi
pop esi
ret
cmp ecx, 0x64
jne 0x455dc2
push esi
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_privacy.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x455da1
cmp ecx, 0x65
jne 0x455dcc
push 2
pop ecx
jmp 0x455d9c
cmp ecx, 0x66
jne 0x455dd5
push 3
jmp 0x455dc9
and dword [eax + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x4579ff
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 0x457a4b
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 0x457a4b
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 0x457ac3
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x457a68
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x457abc
push edi
call fcn.004327e0
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.00432cca
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 0x457d89
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 0x457dba
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 0x457dfe
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 0x457dfe
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 0x457f52
push eax
call fcn.004327e0
mov edi, eax
test edi, edi
pop ecx
je 0x457ed1
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 0x457e45
push 1
push edi
push esi
call fcn.00458b9a
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.00432cca
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x457e9b
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x457e8d
cmp word [ecx], ax
je 0x457e8d
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x457ed1
cmp dword [edi + 0x14], eax
je 0x457ed1
mov dword [ebp - 0xc], 1
jmp 0x457ed1
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 0x457eba
push 1
push edi
push esi
call fcn.00458b9a
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00432cca
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x457f13
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 0x457f52
cmp dword [ebp - 0x10], eax
je 0x457f52
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x457f52
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 0x457f52
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x459a08
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4aa91c
call fcn.004a5df8
sub esp, 0x21c
mov eax, dword [0x4d800c]
push ebx
push esi
push edi
mov ecx, 0x4d800c
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.0048b810
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.00405de9
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405de9
push 0x2e
lea esi, [ebp - 0x10]
call fcn.00406343
cmp eax, 0xffffffff
je 0x459abd
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040644d
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00404ebe
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [0x4d800c]
mov ecx, 0x4d800c
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.00459708
test eax, eax
jne 0x459b1a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
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 0x459b55
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405949
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405949
mov eax, ebx
jmp 0x459b09
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x459bbd
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.0040818e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x459bb3
cmp dword [ebp - 0x14], edi
jne 0x459bb3
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x459b9b
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00409af9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459b3b
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.004081b4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x459b3b
Function at 0x45c345
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a7de3
call fcn.004a5df8
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.00463b5e
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45f313
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
push edi
jne 0x45f42c
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x45f339
call fcn.004615bd
mov eax, ebx
jmp 0x45f435
cmp eax, 2
jne 0x45f34b
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45f332
cmp eax, 0x65
jne 0x45f359
mov eax, esi
call fcn.004619b9
jmp 0x45f332
cmp eax, 0x6f
jne 0x45f365
call fcn.00461a35
jmp 0x45f332
cmp eax, 0x66
jne 0x45f37d
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.0046229a
jmp 0x45f332
cmp eax, 0x191
jne 0x45f38d
mov edi, esi
call fcn.00461b6c
jmp 0x45f332
cmp eax, 0x96
jne 0x45f3b6
push dword [esi + 0x550]
push dword [esi + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.00461524
jmp 0x45f332
cmp eax, 0x1f5
jne 0x45f3cb
xor ecx, ecx
mov eax, esi
call fcn.00456399
jmp 0x45f332
cmp eax, 0x68
jne 0x45f3dc
mov ebx, esi
call fcn.00461fe9
xor eax, eax
inc eax
jmp 0x45f435
cmp eax, 0x6e
jne 0x45f3fb
add esi, 0x24
push eax
mov eax, esi
call fcn.00462d4d
push eax
push 0x65
mov eax, esi
call fcn.00462db7
jmp 0x45f332
cmp eax, 0x6c
jne 0x45f41b
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45f332
cmp eax, 0x6d
jne 0x45f42c
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_privacy.html
jmp 0x45f40a
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x45f73e
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45f7b5
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45f7b5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4be408]
fcomp qword [0x4be400]
fnstsw ax
test ah, 1
jne 0x45f7b5
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x45fea1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x45fedd
push esi
lea esi, [ebp - 4]
call fcn.0045fee5
push dword [eax]
push 2
push 0x4b8e58
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x558], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405949
pop esi
mov eax, dword [edi + 0x558]
leave
ret

Function at 0x460205
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4d8f68
mov edi, eax
call fcn.0042a67b
pop ecx
push edi
call fcn.0046031a
call fcn.00469546
cmp dword [eax + 0x3c], 0
je 0x460234
cmp dword [edi + 0x968], 0
jne 0x46029f
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.00409335
cmp eax, 6
jg 0x46027a
test ebx, ebx
jne 0x46026d
push 2
push 2
push 0x4bd42c
push dword [edi + 0x960]
push 0x4bd438
push dword [edi + 4]
call fcn.004404bc
add esp, 0x18
push str.system_is_xp
call fcn.0042a67b
pop ecx
jmp 0x46029f
push edi
call fcn.004603d3
test eax, eax
je 0x46029f
mov ecx, edi
call fcn.004605d3
test eax, eax
je 0x46029f
call fcn.004606a0
test eax, eax
jne 0x46029f
mov eax, edi
call fcn.00462a5f
call fcn.00445986
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4602bf
test al, 0x10
jne 0x4602bf
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a67b
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x46031a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aaae5
call fcn.004a5df8
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.00469546
lea esi, [ebp - 0x14]
call fcn.0046962e
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e2d
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405949
test bl, bl
jne 0x4603b4
mov eax, dword [0x4d800c]
mov ecx, 0x4d800c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b74ec
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00405f15
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x4603ac
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4603ac
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.00405949
cmp dword [ebp - 0x10], 0
je 0x4603c3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4