joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d8fe
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x42d906
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42d91e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42d93c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42d99a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42d981
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42d98a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42d994
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42d976
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42d900
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x42d9e7
dec eax
je 0x42d9de
sub eax, 3
je 0x42d9d5
mov dword [ebp - 4], 0x40
jmp 0x42da04
mov dword [ebp - 4], 4
jmp 0x42d9ea
mov dword [ebp - 4], 0x20
jmp 0x42d9ea
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x42da36
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42d9b6
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0042d247
daa
cdq
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x42da42
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4324b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
jmp 0x4324ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4324d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4324c0
mov eax, 1
add ebx, ebx
jne 0x4324e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4324d8
jne 0x4324f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4324d8
xor ecx, ecx
sub eax, 3
jb 0x432508
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43257a
mov ebp, eax
add ebx, ebx
jne 0x432513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x432520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x432544
inc ecx
add ebx, ebx
jne 0x432530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x432525
jne 0x432541
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x432525
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x432564
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x432555
jmp 0x4324c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x432564
add edi, ecx
jmp 0x4324c6
pop esi
lea edi, [esi + 0x30000]
mov eax, dword [edi]
or eax, eax
je 0x4325cc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x32fcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x432581
mov ecx, edi
jns 0x4325b0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x33010]
or eax, eax
je 0x4325c6
mov dword [ebx], eax
add ebx, 4
jmp 0x43259e
call dword [esi + 0x3300c]
mov ebp, dword [esi + 0x33014]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x432600
sub esp, 0xffffff80
jmp 0x403670

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x415a74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c030]
jne 0x415a7e
repz ret
jmp fcn.0041c6b2

Function at 0x426d2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00420fb2
and dword [ebp - 0x14], 0
cmp dword [0x43dd04], 0
mov dword [ebp - 0x18], eax
jne 0x426de1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x426e89
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x426e89
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43dd04], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43dd08], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43dd0c], eax
call edi
push eax
call esi
mov dword [0x43dd14], eax
test eax, eax
je 0x426de1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43dd10], eax
mov eax, dword [0x43dd10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x426e3a
cmp dword [0x43dd14], ecx
je 0x426e3a
push eax
call esi
push dword [0x43dd14]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x426e3a
test ebx, ebx
je 0x426e3a
call edi
test eax, eax
je 0x426e31
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x426e31
test byte [ebp - 8], 1
jne 0x426e3a
or dword [ebp + 0x10], 0x200000
jmp 0x426e6d
mov eax, dword [0x43dd08]
cmp eax, dword [ebp - 0x18]
je 0x426e6d
push eax
call esi
test eax, eax
je 0x426e6d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x426e6d
mov eax, dword [0x43dd0c]
cmp eax, dword [ebp - 0x18]
je 0x426e6d
push eax
call esi
test eax, eax
je 0x426e6d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43dd04]
call esi
test eax, eax
je 0x426e89
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x426e8b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415a74
leave
ret
Function at 0x40ee0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040dde4
mov edi, eax
test edi, edi
je 0x40ee56
mov ecx, edi
call fcn.0040def4
mov esi, dword [ebp + 0x1c]
push eax
push esi
push edi
push 0x432308
push 1
call fcn.004036f0
add esp, 0x14
mov ecx, edi
call fcn.0040def4
test eax, eax
je 0x40ee56
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x20219
jmp 0x40ee5b
mov esi, 0x20019
test edi, edi
je 0x40ee67
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40eea0
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x41a40e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41a42e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041bb56
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41a451
test byte [esp + 8], 2
je 0x41a451
call fcn.0041bbc9
mov dword [eax], 0xd
call fcn.0041bbd2
mov dword [eax], 5
jmp 0x41a42a
xor eax, eax
ret
Function at 0x401f9a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x401218
call fcn.00402238
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x401fd5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401fd5
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401fed
cmp eax, 0x20b
je 0x401fda
mov dword [ebp - 0x1c], edi
jmp 0x402001
cmp dword [ecx + 0x84], 0xe
jbe 0x401fd5
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x401ffb
cmp dword [ecx + 0x74], 0xe
jbe 0x401fd5
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x40304c], 0xffffffff
or dword [0x403050], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x403044]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x403040]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403048], eax
call fcn.0040222e
cmp dword [0x403030], edi
jne 0x40205c
push fcn.0040222e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00402217
push 0x403014
push 0x403010
call sub.msvcrt.dll__initterm
mov eax, dword [0x40303c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x403038]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x40300c
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00401551
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x4020d3
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x402108
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00402273
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405a37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x40c]
sub esp, 0x48c
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp + 0x408], eax
push ebx
push esi
xor ebx, ebx
push 0x3fe
lea eax, [ebp - 0x76]
push ebx
push eax
mov esi, ecx
mov word [ebp - 0x78], bx
call fcn.00406d20
push str.SmartPlayer.7z
push esi
push str._s_s
lea eax, [ebp - 0x78]
push 0x1ff
push eax
call fcn.0040594d
add esp, 0x20
push 0x4115ac
push 0x66
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x405ab1
push str.find_resource_failed_
call fcn.0040597f
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x405b7b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [ebp - 0x80], eax
jne 0x405ac7
push str.resource_is_empty_
jmp 0x405aa0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x405ada
push str.load_resource_failed_
jmp 0x405aa0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
or dword [ebp - 0x7c], 0xffffffff
mov edi, eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
xor eax, eax
inc eax
call fcn.00401976
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x405b4d
push 0x7f
lea eax, [ebp + 0x389]
push ebx
push eax
mov byte [ebp + 0x388], bl
call fcn.00406d20
push esi
lea eax, [ebp + 0x388]
push str.lastError_d
push eax
call fcn.00406e12
lea eax, [ebp + 0x388]
push eax
call fcn.0040597f
lea eax, [ebp - 0x78]
push eax
call fcn.00405969
push str.can_not_create_file
call fcn.0040597f
add esp, 0x24
push 0xb
jmp 0x405b6d
lea eax, [ebp - 0x7c]
push edi
push eax
lea esi, [ebp - 0x80]
call fcn.00401a2b
test eax, eax
pop ecx
pop ecx
je 0x405b70
push str.can_not_open_write_file
call fcn.0040597f
pop ecx
push 9
pop eax
jmp 0x405b7a
lea esi, [ebp - 0x7c]
call fcn.004019b8
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x408]
pop esi
xor ecx, ebp
pop ebx
call fcn.00406486
add ebp, 0x40c
leave
ret
Function at 0x40605d
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x413004]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x3fe
xor edi, edi
push esi
lea eax, [esp + 0x666]
push edi
push eax
mov word [esp + 0x66c], di
call fcn.00406d20
push esi
lea eax, [esp + 0x272]
push edi
push eax
mov word [esp + 0x278], di
call fcn.00406d20
push ebx
push str._s.
mov esi, 0x1ff
lea eax, [esp + 0x680]
push esi
push eax
call fcn.00406e8d
add esp, 0x28
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4060ef
xor eax, eax
jmp 0x406173
lea eax, [esp + 0x3c]
push 0x411744
push eax
call fcn.00406d9a
test eax, eax
pop ecx
pop ecx
je 0x406152
lea eax, [esp + 0x3c]
push 0x411748
push eax
call fcn.00406d9a
test eax, eax
pop ecx
pop ecx
je 0x406152
lea eax, [esp + 0x3c]
push eax
push ebx
push str._s_s
lea eax, [esp + 0x26c]
push esi
push eax
call fcn.0040594d
add esp, 0x14
test byte [esp + 0x10], 0x10
lea eax, [esp + 0x260]
push eax
je 0x40614c
call fcn.0040605d
pop ecx
jmp 0x406152
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4060ef
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406486
mov esp, ebp
pop ebp
ret

Function at 0x406188
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3c4]
sub esp, 0x444
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp + 0x3c0], eax
mov eax, dword [ebp + 0x3cc]
and word [ebp - 0x40], 0
push edi
push 0x3fe
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3e]
push 0
push eax
mov edi, ecx
call fcn.00406d20
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push edi
push str._s_s
push 0x1ff
push eax
call fcn.0040594d
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00406d20
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], eax
add esp, 0x2c
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], str.open
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x406230
push str.ShellExecute_succeed_
call fcn.0040597f
mov eax, dword [ebp - 0x48]
jmp 0x40623c
push str.ShellExecute_failed_
call fcn.0040597f
xor eax, eax
pop ecx
mov ecx, dword [ebp + 0x3c0]
xor ecx, ebp
call fcn.00406486
add ebp, 0x3c4
leave
ret
Function at 0x406252
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3fe
lea eax, [ebp - 0x482]
push ebx
push eax
mov word [ebp - 0x484], bx
call fcn.00406d20
push 8
pop ecx
push 0x3e0
lea eax, [ebp - 0xc64]
push ebx
mov esi, str.SmartPlayer.exe
lea edi, [ebp - 0xc84]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00406d20
push 0x3fe
lea eax, [ebp - 0x882]
push ebx
push eax
mov word [ebp - 0x884], bx
call fcn.00406d20
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.00406d20
push str.start_7zUnzip_main_
call fcn.0040597f
add esp, 0x34
push 1
push 0x1a
lea eax, [ebp - 0x484]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov esi, 0x1ff
jne 0x406310
push 0x4117e4
lea eax, [ebp - 0x484]
push esi
push eax
call fcn.0040594d
add esp, 0xc
push str.SPTemp
lea eax, [ebp - 0x484]
push eax
push str._s_s
push esi
push eax
call fcn.0040594d
add esp, 0x14
push str.smartplayerclient
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, 0xb7
cmp eax, edi
jne 0x40635b
push str.app_running_
call fcn.0040597f
xor eax, eax
jmp 0x406476
lea ebx, [ebp - 0x884]
call fcn.00405995
test eax, eax
je 0x406371
push str.can_not_get_module_path_
jmp 0x40634f
lea eax, [ebp - 0x884]
push eax
push str.7zDecode_start______s_n
call fcn.00406f9b
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x484]
push eax
call ebx
test eax, eax
jne 0x406407
call esi
cmp eax, edi
jne 0x406407
lea eax, [ebp - 0x484]
push eax
call fcn.0040605d
test eax, eax
pop ecx
je 0x4063fc
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x484]
push eax
call ebx
test eax, eax
jne 0x406407
lea eax, [ebp - 0x484]
push eax
call fcn.00405969
pop ecx
call esi
push eax
lea eax, [ebp - 0x84]
push str.CreateDirectory_failed__lastError_d
push eax
call fcn.00406e12
lea eax, [ebp - 0x84]
push eax
call fcn.0040597f
add esp, 0x10
jmp 0x406407
push str.Remove_directory_failed_
call fcn.0040597f
pop ecx
lea ecx, [ebp - 0x484]
call fcn.00405a37
test eax, eax
je 0x406420
push str.load_zip_resource_failed_
jmp 0x40634f
lea ecx, [ebp - 0x484]
call fcn.00405b92
test eax, eax
jne 0x406469
push str.Extract7zZip_succeed_
call fcn.0040597f
lea eax, [ebp - 0xc84]
push eax
lea esi, [ebp - 0x884]
lea ecx, [ebp - 0x484]
call fcn.00406188
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x406462
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.exit_main_
call fcn.0040597f
xor eax, eax
inc eax
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406486
leave
ret

Function at 0x406486
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x413004]
jne 0x406490
repz ret
jmp fcn.00407482
Function at 0x401393
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x30], 0x9e3779b9
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a308]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x2c], eax
call fcn.0040138c
mov eax, dword [0x41a314]
add dword [ebp - 8], 0x23f
mov esi, dword [0x41a310]
push 0x20
mov dword [ebp - 0x20], eax
pop ebx
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, dword [ebp - 0x14]
shl eax, 4
add eax, esi
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x4f2fe8], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x4f2fe4]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x4f2fe8], 0x3eb
mov dword [0x4f2fe4], eax
mov eax, dword [0x4f2a70]
cmove eax, dword [ebp - 0x1c]
mov dword [0x4f2a70], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub edi, eax
mov dword [ebp - 0xc], eax
mov eax, edi
mov dword [0x4f2fe0], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, edi
shr eax, cl
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x4f2fe8], 0xb03
mov dword [ebp - 4], eax
jne 0x4014c0
push str.Poh_petopanoz_fonoso_culowisuvekocamoc
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec ebx
jne 0x4013e4
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d5d3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x4ad77c], esi
jne 0x40d6c6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d653
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d7a6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d7a6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d7a6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad77c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad780], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad784], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad78c], eax
test eax, eax
je 0x40d6c3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad788], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6eb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6de
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d700
push 4
pop eax
jmp 0x40d7a8
cmp dword [ebp - 0x14], esi
je 0x40d700
push dword [0x4ad77c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6e5
mov eax, dword [0x4ad788]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d75e
cmp dword [0x4ad78c], edi
je 0x40d75e
push eax
call ebx
push dword [0x4ad78c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d75e
test eax, eax
je 0x40d75e
call ecx
test eax, eax
je 0x40d753
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d753
test byte [ebp - 8], 1
jne 0x40d75e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d78e
mov eax, dword [0x4ad780]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
call eax
mov esi, eax
test esi, esi
je 0x40d78b
mov eax, dword [0x4ad784]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad77c]
call ebx
test eax, eax
je 0x40d7a6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d7a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040400d
mov esp, ebp
pop ebp
ret