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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
push dword [ebp + 8]
call fcn.004050d6
lea ecx, [ebp - 0x20]
call fcn.00458fb0
push ecx
push ecx
mov ecx, esp
push esi
call fcn.004050d6
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.00459bb0
push eax
lea ecx, [ebp - 0x20]
call fcn.00459060
lea ecx, [ebp - 0x38]
call fcn.00459030
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x41893e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41894d
mov bl, 1
jmp 0x4189c5
push ecx
push ecx
mov ecx, esp
push dword [ebp + 0xc]
call fcn.004050d6
lea ecx, [ebp - 0x50]
call fcn.00458fb0
push ecx
push ecx
mov ecx, esp
push esi
call fcn.004050d6
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00459bb0
push eax
lea ecx, [ebp - 0x50]
call fcn.00459060
lea ecx, [ebp - 0x38]
call fcn.00459030
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.00458f80
mov esi, eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x20]
push eax
call fcn.00458f80
mov edx, esi
mov ecx, eax
call fcn.00462030
lea ecx, [ebp - 0x38]
mov bl, al
call fcn.00459030
lea ecx, [ebp - 0x68]
call fcn.00459030
lea ecx, [ebp - 0x50]
call fcn.00459030
lea ecx, [ebp - 0x20]
call fcn.00459030
mov ecx, dword [ebp - 8]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418f77
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5c2460]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [esp + 0x14], ebx
call fcn.00444406
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
lea eax, [esp + 0x3c]
push eax
call fcn.00443cd3
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
jae 0x418fc4
lea eax, [esp + 0x3c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x419058
cmp dword [esp + 0x10], ebx
je 0x419058
cmp dword [esp + 0x38], 8
mov ecx, dword [esp + 0x24]
jae 0x418ff5
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
push ecx
push 1
push ebx
push 0x54e5a4
push dword [esp + 0x24]
call edi
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push 4
push ebx
push str.oopcrashes
push dword [esp + 0x24]
call edi
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x48]
cmp dword [ecx + 0x14], 8
jb 0x41903c
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 1
push ebx
push 0x54e5c8
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xf003f
push str.Software360360se6Chrome
push SysReAllocString
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0045b6e0
test eax, eax
jne 0x4190b9
mov edi, str.old_version
lea ecx, [esp + 0x18]
push edi
call fcn.0045b7e0
test al, al
je 0x41909e
push edi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [esi + 0x40], ebx
je 0x4190b9
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], 8
jb 0x4190ae
mov eax, dword [eax]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0045bc00
lea ecx, [esp + 0x18]
call fcn.0045b550
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.0040536f
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.0040536f
mov ecx, dword [esp + 0x54]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x419821
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x4c]
mov edi, ecx
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.0041faa6
push ecx
push ecx
mov ecx, esp
push eax
call fcn.004050d6
lea ecx, [ebp - 0x64]
call fcn.00458fb0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040536f
call fcn.00420cd4
mov esi, eax
mov ecx, esi
call fcn.00420cf2
cmp dword [esi], 1
jne 0x4198a1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00459820
push eax
lea ecx, [ebp - 0x64]
call fcn.00459060
lea ecx, [ebp - 0x4c]
call fcn.00459030
lea eax, [ebp - 0x64]
push eax
call fcn.0041997b
jmp 0x419963
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00432248
cmp dword [ebp - 0xc], 0
je 0x419911
cmp dword [edi + 0x58], 0
je 0x419911
cmp dword [ebp - 8], 8
mov edx, dword [ebp - 0x1c]
jae 0x4198d2
lea edx, [ebp - 0x1c]
lea esi, [edi + 0x48]
cmp dword [esi + 0x14], 8
jb 0x4198df
mov ecx, dword [esi]
jmp 0x4198e1
mov ecx, esi
call fcn.004319e4
test eax, eax
je 0x419911
push ecx
push ecx
mov ecx, esp
push esi
call fcn.004050d6
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00459bb0
lea eax, [ebp - 0x4c]
push eax
call fcn.0041997b
lea ecx, [ebp - 0x4c]
call fcn.00459030
lea eax, [ebp - 0x34]
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.004203be
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x41992d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41994b
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x419944
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
lea ecx, [ebp - 0x64]
call fcn.00459030
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x4199e8
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x4c]
mov bl, 1
push edi
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.004202a2
lea eax, [ebp - 0x34]
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.00420330
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.004203be
mov eax, dword [ebp - 0x1c]
push 8
pop edi
cmp dword [ebp - 8], edi
jae 0x419a3a
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419aaa
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x419a50
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x419a5b
lea eax, [ebp - 0x1c]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x419a73
lea ecx, [ebp - 0x34]
call fcn.00431243
jmp 0x419aaa
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x20], edi
jae 0x419a7e
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x419a89
lea eax, [ebp - 0x1c]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x419aaa
call fcn.0042eea1
push 0x25d
push 0x1d
call fcn.0042f55d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040536f
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x419ae0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x420]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x419c2f
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.004058f0
mov edi, str.FA2CD249_E6BC.ini
push edi
call fcn.004049e1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x438]
call fcn.004152a1
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.005091d0
mov eax, dword [ebp - 0x438]
add esp, 0xc
cmp dword [ebp - 0x424], 8
jae 0x419b76
lea eax, [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x53fc30
push 0x548b50
push str.revert
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x419c1a
xor eax, eax
cmp ax, word [ebp - 0x210]
je 0x419c1a
lea ecx, [esi + 0x48]
cmp dword [ecx + 0x14], 8
jb 0x419bb2
mov ecx, dword [ecx]
lea edx, [ebp - 0x210]
call fcn.004319e4
test eax, eax
jns 0x419c1c
push 0xf003f
push str.Software360360se6Chrome
push SysReAllocString
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.0045b6e0
test eax, eax
jne 0x419c0f
push 1
push str.verback
lea ecx, [ebp - 0x444]
call fcn.0045bbd0
call fcn.0042eea1
mov byte [0x768945], 1
lea ecx, [ebp - 0x444]
call fcn.0045b550
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.0040536f
mov al, bl
jmp 0x419c31
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x41a692
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [ecx + 0x60], esi
je 0x41a7a4
lea eax, [ecx + 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041fa7f
mov ecx, eax
call fcn.004204ee
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x41a6d1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a799
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00409846
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045e910
push ecx
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.004050d6
lea ecx, [ebp - 0x1c]
call fcn.00458fb0
push dword [ebp - 0x74]
mov ecx, eax
call fcn.0045a5b0
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00459030
push str.UnPackExtPacket
lea ecx, [ebp - 0x1c]
call fcn.0040503c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0045f270
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405320
lea ecx, [ebp - 0x9c]
call fcn.00468e90
push ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x9c], 1
push eax
lea ecx, [ebp - 0x74]
call fcn.0045f720
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x54]
call fcn.00468680
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00468c80
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
lea ecx, [ebp - 0x74]
call fcn.0045eb50
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040536f
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x41aa3e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x20], cx
lea ecx, [ebp - 0x38]
push eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0xc], 7
call fcn.00409846
cmp byte [ebp + 0x10], 0
mov esi, 0x548c24
jne 0x41aa8a
mov esi, str.pepflash.dll
push esi
call fcn.004049e1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004152a1
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x41aaa7
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ab16
test byte [ebp - 0x2a4], 0x10
je 0x41aad9
lea eax, [ebp - 0x2a4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41aabc
jmp 0x41ab0f
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x278]
push eax
mov dword [esi], eax
call fcn.004049e1
pop ecx
mov ecx, dword [ebp - 0x2a8]
mov dword [esi + 4], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00459bb0
push eax
lea ecx, [ebp - 0x20]
call fcn.00459060
lea ecx, [ebp - 0x50]
call fcn.00459030
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00458f80
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.0040536f
lea ecx, [ebp - 0x20]
call fcn.00459030
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41af6f
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.0042eea1
push 0x25c
push 0x1c
call fcn.0042f55d
xor edi, edi
cmp dword [esi], edi
jne 0x41af9f
push edi
push edi
push edi
push 0x41afa6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
cmp eax, edi
pop edi
setne al
pop esi
pop ecx
ret
Function at 0x41bdac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x7688d8], 5
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
je 0x41bde5
mov edx, dword [esi + 0x10]
lea eax, [esi + 0x28]
mov ecx, dword [esi + 0xc]
push eax
lea eax, [esi + 0x24]
push eax
push 1
call fcn.0041c749
add esp, 0xc
xor ebx, ebx
lea ecx, [ebp - 0x20]
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004058f0
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x2c]
push 1
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [esi + 0x28]
call fcn.0040687a
add esp, 0x14
lea ecx, [ebp - 0x20]
mov esi, eax
push ebx
push 1
call fcn.0040536f
test esi, esi
je 0x41be5c
call fcn.0042eea1
push esi
push 0x1e
call fcn.0042f55d
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub eax, esi
push 0x18
cdq
pop ebx
idiv ebx
mov edi, eax
test edi, edi
jle 0x41be5c
cmp dword [esi + 0x14], 8
jb 0x41be4e
mov eax, dword [esi]
jmp 0x41be50
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, ebx
dec edi
jne 0x41be44
lea ecx, [ebp - 0x2c]
call fcn.00407966
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 4
Function at 0x41be79
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x548d34
lea ecx, [ebp - 0x1c]
xor bh, bh
call fcn.00430098
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.0041545e
pop ecx
xor esi, esi
lea ecx, [ebp - 0x1c]
xor edi, edi
push esi
inc edi
push edi
call fcn.0040536f
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41bec1
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bffd
lea ecx, [ebp - 0x1c]
call fcn.00430098
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.0043010c
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040536f
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0043010c
push eax
lea ecx, [ebp - 0x34]
call fcn.004075c9
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040536f
push 0x54a6d0
lea ecx, [ebp - 0x4c]
call fcn.004058f0
push ecx
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x34]
call fcn.0045a720
pop ecx
push esi
push edi
lea ecx, [ebp - 0x4c]
mov bl, al
call fcn.0040536f
test bl, bl
je 0x41bff3
mov eax, dword [ebp - 0x34]
xor ebx, ebx
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
jae 0x41bf4f
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004058f0
lea eax, [ebp - 0x40]
mov edx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.004063af
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040536f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
push 0x18
pop edi
cdq
idiv edi
xor edi, edi
inc edi
cmp eax, edi
jne 0x41bfe4
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41bf99
lea eax, [ebp - 0x64]
cmp dword [ecx + 0x14], 8
jb 0x41bfa1
mov ecx, dword [ecx]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41bfe4
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x41bfbb
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004058f0
lea eax, [ebp - 0x40]
mov edx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.004063af
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040536f
test esi, esi
lea ecx, [ebp - 0x40]
sete bh
call fcn.00407966
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.0040536f
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.0040536f
mov ecx, dword [ebp - 4]
mov al, bh
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x41c2bd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esi], edi
jne 0x41c2f8
call fcn.0042eea1
push 0x1f5
push 0x1c
call fcn.0042f55d
push edi
push edi
push edi
push 0x41c31f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
cmp eax, edi
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c3bf
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x41c3d4
mov ecx, dword [ecx]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41c45b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
test eax, eax
je 0x41c454
cmp eax, 0x1f400000
jae 0x41c454
inc eax
push esi
push eax
mov dword [ebp - 4], eax
call fcn.0050283e
mov esi, eax
pop ecx
test esi, esi
je 0x41c453
push dword [ebp - 4]
push ebx
push esi
call fcn.005091d0
add esp, 0xc
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c44c
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push esi
call fcn.004053c0
mov bl, 1
push esi
call fcn.005028a5
pop ecx
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ffc7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x10], ebx
jne 0x420034
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004049e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00405941
push esi
mov ecx, edi
call fcn.00409846
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 4
Function at 0x422575
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422590
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x425721
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x7688e4]
push esi
test eax, eax
je 0x425736
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0042eea1
push 1
push 7
call fcn.0042f55d
call fcn.00420cd4
mov esi, eax
mov ecx, esi
call fcn.00420cf2
cmp dword [esi], 1
jne 0x42575e
push ecx
call fcn.00430c64
pop ecx
call fcn.00418617
mov ecx, eax
call fcn.00419821
pop esi
jmp fcn.004278cd
Function at 0x427352
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 0x60
mov eax, dword [edi + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [edi + 0x24]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ebx, [edi + 4]
sub esp, 0xc
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.00421a12
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push ecx
mov eax, esp
push ecx
lea ecx, [ebp - 0x10]
mov dword [eax], str.DEFAULT_SKIN
mov eax, esp
mov dword [eax], str.SKIN
call fcn.00421b59
push dword [ebp - 0xc]
push dword [0x5d6f80]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x7688ec]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], ecx
push dword [ebp - 4]
mov ecx, dword [edx]
push 0x54a11c
push esi
push eax
push str.Upgrade.xml
push edx
call dword [ecx + 0x14]
mov eax, dword [edi + 0x24]
lea esi, [edi + 0x28]
push dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [esi]
lea eax, [edi + 0x2c]
push eax
push 0x54a11c
push str.progress
mov edx, dword [ecx]
push ecx
call dword [edx + 0xb4]
mov ecx, dword [esi]
lea edx, [edi + 0x30]
push edx
push 0x54a11c
push str.query_panel
mov eax, dword [ecx]
push ecx
call dword [eax + 0xb4]
mov ecx, dword [esi]
lea edx, [edi + 0x34]
push edx
push 0x54a11c
push str.upgrading_panel
mov eax, dword [ecx]
push ecx
call dword [eax + 0xb4]
cmp byte [edi + 0x44], 0
je 0x42747b
mov eax, dword [edi + 0x30]
push 2
push 0x3ff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [edi + 0x34]
push 0
push 0x3ff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0x50
pop eax
cmp dword [edi + 0x40], eax
jge 0x42746a
mov dword [edi + 0x40], eax
push 0
push 0x1e
push 0x3e8
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi]
push 0
push dword [edi + 0x38]
mov ecx, dword [eax]
push 0x1450
push eax
call dword [ecx + 0x44]
mov eax, dword [esi]
push 0
push dword [edi + 0x3c]
mov ecx, dword [eax]
push 0x13a3
push eax
call dword [ecx + 0x44]
push ecx
mov ecx, ebx
call fcn.0042188c
mov esi, dword [0x5d6f80]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x100
push esi
call ebx
push eax
push 1
push 0x80
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov esi, dword [0x5d6f80]
push 0
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x100
push esi
call ebx
mov ebx, dword [ebp - 8]
push eax
push 0
push 0x80
push dword [ebx]
call edi
push dword [0x63d664]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x10], 0
je 0x427532
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428610
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
sub esp, 0xc
lea edx, [ebp - 8]
xor ebx, ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004640e0
add esp, 0x1c
cmp dword [ebp - 4], 6
jne 0x428695
cmp dword [ebp - 8], 3
jne 0x428695
mov eax, dword [0x7688dc]
push ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop ebx
mov esp, ebp
pop ebp
ret