joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426af2
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
push dword [0x4ce848]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x426baf
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x426b34
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, 0x80000
jb 0x426bae
mov eax, dword [0x4ce848]
add eax, 0xfffffff0
call fcn.0040d24c
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00406cb1
mov ecx, eax
lea eax, [ebp - 8]
call fcn.00426bb6
mov esi, dword [ebp - 8]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.00406c3a
lea eax, [esi - 0x10]
call fcn.00405cc6
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov ebx, dword [0x4ce848]
push edi
mov edi, dword [ebp - 4]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea eax, [edi - 0x10]
call fcn.00405cc6
pop esi
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret
Function at 0x427a5d
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 + 0x18]
sub eax, dword [esi + 0x14]
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 + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xf4]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x427b96
push eax
call fcn.0040d017
mov ebx, eax
test ebx, ebx
pop ecx
je 0x427b63
mov eax, dword [ebx + 0x10]
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 0x427ad7
lea eax, [ebx + 0x14]
push eax
call fcn.0043ab24
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.0040d0a8
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xf4], eax
jne 0x427b2d
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x427b1f
cmp word [ecx], ax
je 0x427b1f
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x427b63
cmp dword [ebx + 0x10], eax
je 0x427b63
mov dword [ebp - 4], 1
jmp 0x427b63
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 0x427b4c
lea eax, [ebx + 0x14]
push eax
call fcn.0043ab24
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0040d0a8
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xf4], ecx
je 0x427b74
push 0x67
jmp 0x427b8f
cmp dword [ebp - 8], ecx
je 0x427b96
cmp dword [ebp - 0xc], ecx
je 0x427b96
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xf0]
cmp edx, dword [eax]
jne 0x427b8d
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.004276be
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42920a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
call fcn.0040d2a4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00402f96
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea eax, [esi - 0x10]
call fcn.00405cc6
pop esi
leave
ret 4
Function at 0x42c833
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x4cd420]
xor ebx, ebx
mov ecx, 0x4cd420
mov dword [ebp - 0xc], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x6c
pop esi
call fcn.00406d69
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040d2cf
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
push 0x105
lea esi, [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.0040d0e8
push 0x6c
pop esi
mov dword [ebp - 0x24], eax
call fcn.00406d69
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], 0x8041
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, dword [ebp - 8]
cmp edi, ebx
mov esi, eax
jne 0x42c8c8
xor eax, eax
jmp 0x42c8cf
push edi
call fcn.00470006
pop ecx
lea edx, [ebp - 8]
call fcn.00406d29
cmp esi, ebx
jne 0x42c8ec
lea eax, [edi - 0x10]
call fcn.00405cc6
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
lea eax, [ebp - 0x234]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
call fcn.0040d2cf
xor ebx, ebx
inc ebx
jmp 0x42c8db

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax + 0x3e4]
push esi
push edi
sub eax, 0x10
call fcn.0040d24c
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004226b0
pop ecx
push 0x15
pop esi
call fcn.00406d69
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401d83
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d5f2
test al, 0x20
je 0x42d5f2
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0040d365
xor edi, edi
inc edi
lea eax, [esi - 0x10]
call fcn.00405cc6
mov eax, edi
pop edi
pop esi
leave
ret 4
xor edi, edi
jmp 0x42d5e2

Function at 0x42dd0e
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
mov edi, str.open
push edi
push ebx
call esi
cmp eax, 0x20
setg byte [ebp - 1]
cmp byte [ebp - 1], bl
jne 0x42dd9a
push 0x256
lea eax, [ebp - 0x25a]
push ebx
push eax
mov word [ebp - 0x25c], bx
call fcn.0046eea0
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x42dd9a
push 0x4b5abc
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x25c]
push eax
push edi
push ebx
call esi
cmp eax, 0x20
setg byte [ebp - 1]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42e4d5
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x10], esi
jne 0x42e507
mov eax, dword [0x4ce334]
cmp eax, esi
je 0x42e4f5
mov ebx, dword [eax + 4]
jmp 0x42e4f7
xor ebx, ebx
cmp ebx, esi
jne 0x42e507
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, esi
je 0x42e52c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x42e52c
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42e52c
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
push dword [esp + 0x1c]
mov eax, edi
push ebx
mov dword [edi + 0x34c], esi
call fcn.0042f08d
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0xc], ecx
jne 0x42e558
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42e677
mov eax, dword [0x4ce334]
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x42e56f
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [eax + 4], ecx
cmp dword [esp + 0x1c], esi
jne 0x42e580
lea eax, [edi + 4]
push eax
mov eax, ebx
call fcn.00406816
cmp dword [edi + 0x33c], esi
je 0x42e613
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x1c]
je 0x42e5d8
push 1
push ebp
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x1c]
je 0x42e5f4
push esi
push ebp
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x42e613
push esi
push esi
push 0xf
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
call fcn.0042f219
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi + 4]
mov dword [edi + 0x34c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x10], esi
je 0x42e658
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, esi
je 0x42e658
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x42e658
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4ce334]
cmp eax, esi
je 0x42e668
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x350]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x42f948
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 0x42f994
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x104]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x42f994
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1e0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2d8], 0
je 0x42fa0c
lea ebx, [esi + 0x2e8]
cmp dword [ebx], 0
je 0x42f9b1
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2d8], edi
jne 0x42fa05
push edi
call fcn.0040d017
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.0040d0a8
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
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 + 0x2d8], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x42fcbe
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 + 0x2e8]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x42fcef
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 0x42fd33
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x104]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x42fd33
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1e0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2d4]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x42fe87
push eax
call fcn.0040d017
mov edi, eax
test edi, edi
pop ecx
je 0x42fe06
mov eax, dword [edi + 0x10]
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 0x42fd7a
push 1
push edi
push esi
call fcn.0042e79a
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.0040d0a8
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2d4], eax
jne 0x42fdd0
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x42fdc2
cmp word [ecx], ax
je 0x42fdc2
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x42fe06
cmp dword [edi + 0x10], eax
je 0x42fe06
mov dword [ebp - 0xc], 1
jmp 0x42fe06
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 0x42fdef
push 1
push edi
push esi
call fcn.0042e79a
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0040d0a8
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2d4], eax
je 0x42fe48
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 0x42fe87
cmp dword [ebp - 0x10], eax
je 0x42fe87
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x42fe87
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, 0x2d0
cmp eax, dword [esi]
jne 0x42fe87
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x432c07
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x432c60
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x432c51
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x432c51
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x432c60
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4

Function at 0x432c64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x432c84
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x432ce1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x432ce6
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x432ce6
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x432ce1
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x432cd8
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.00432600
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x432ce1
cmp dword [edi + 0x18], esi
je 0x432ce1
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x432cf5
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8
Function at 0x439976
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x4399a5
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xb4]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x4399dc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x4399fd
push dword [esi + 0x10]
mov dword [esi + 0xb4], ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4399d6
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4399d6
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xb4], 0
jne 0x43999c
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044224b
jmp 0x43999e
cmp eax, 0x47
jne 0x439a22
push dword [ebp + 0x14]
lea edi, [esi + 0xb4]
mov eax, esi
mov dword [edi], ebx
call fcn.00439a7a
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x43999a
cmp eax, 0x18
jne 0x4399dc
push dword [ebp + 0x10]
mov dword [esi + 0xb4], ebx
call fcn.004425bc
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x439a5a
push dword [esi + 8]
jmp 0x439a50
mov ecx, dword [eax + 0x34]
shr ecx, 3
not ecx
test bl, cl
je 0x439a64
push dword [eax + 8]
call fcn.0040d017
cmp eax, edi
pop ecx
jne 0x439a41
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.0040606b
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0xb4], edi
jne 0x43999c
jmp 0x4399dc
Function at 0x444e0b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x18
lea edi, [esi + 0x424]
push 0
push edi
call fcn.0046eea0
fld dword [0x4ba9d0]
add esp, 0xc
fstp dword [edi]
fldz
lea ebx, [esi + 0x42c]
push ebx
fstp dword [esi + 0x428]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov esi, ebx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
fild dword [ebp - 8]
fld qword [0x4ba9c8]
movsd dword es:[edi], dword [esi]
fmul st(1), st(0)
fxch st(1)
call fcn.004a5e00
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmulp st(1)
call fcn.004a5e00
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [ebp + 8]
lea eax, [edi + 0x448]
push eax
lea eax, [ebp - 0x18]
call fcn.00406744
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
lea esi, [edi + 0x3fc]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
call fcn.0040cefd
mov eax, edi
call fcn.0044511f
test eax, eax
je 0x444ee6
add eax, 4
push eax
push dword [edi + 0x408]
neg esi
push dword [edi + 0x404]
lea eax, [edi + 0x400]
sbb esi, esi
and esi, eax
push esi
call fcn.004451eb
add esp, 0x10
push edi
call fcn.00444f36
push 0
push 0x14
push 0x5f5e103
push dword [edi + 4]
mov dword [edi + 0x3f8], 3
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea esi, [edi + 0x448]
push dword [esi]
call ebx
push 0
push 0
push 0xf
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [edi + 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4482d4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
lea ebx, [ebp - 4]
mov dword [ebp - 8], esi
call fcn.004481f0
mov edi, dword [ebp - 4]
cmp dword [edi - 0xc], esi
je 0x448317
push str.ressrcchsuplive.svr
mov eax, ebx
push eax
call fcn.00401d83
mov edi, dword [ebp - 4]
push edi
push esi
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], esi
jne 0x448361
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push str.SOFTWAREKingsoftKISCommonUpdate
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448346
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00425e32
cmp dword [ebp - 4], esi
je 0x448361
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
lea eax, [edi - 0x10]
call fcn.00405cc6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x448843
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x448853
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x4cd420]
push esi
mov esi, 0x4cd420
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x4cd420]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
push 0x4ce9c8
lea eax, [ebp - 8]
push eax
call fcn.0040d2cf
lea eax, [ebp - 8]
lea edi, [ebp - 4]
call fcn.0040d365
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x448905
push 0x104
push 0x10e
mov esi, edi
call fcn.0040d0e8
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x4488d4
push dword [ebp - 4]
call fcn.00470006
pop ecx
lea edx, [ebp - 4]
call fcn.00406d29
push 0x5c
lea esi, [ebp - 4]
call fcn.00401d1c
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040d1ec
mov edi, esi
call fcn.0040d365
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov edi, 0x4b8548
push edi
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00407392
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
cmp dword [ebx + 4], 0
jne 0x448948
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x44899c
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x44899c
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x4b8600
call eax
test eax, eax
jl 0x44899c
mov esi, dword [esi]
test esi, esi
je 0x44899c
push dword [0x4ce9c4]
mov eax, dword [esi]
push dword [0x4ce9c0]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x44899c
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
pop edi
mov eax, esi
pop esi
leave
ret
mov esi, ebx
call fcn.004489a7
xor esi, esi
jmp 0x44898b

Function at 0x44a365
Capabilities:
Terminate process

Disassembly:
push ebx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x44a379
push ebx
call fcn.00452ee8
test eax, eax
pop ecx
jne 0x44a3bb
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x44a38d
push edi
call fcn.00452ee8
test eax, eax
pop ecx
jne 0x44a3ba
mov eax, ebx
call fcn.00452ecd
mov eax, edi
call fcn.00452ecd
lea eax, [esi + 0xc]
cmp dword [eax], 0
mov byte [esi + 0x10], 0
je 0x44a3ab
xor eax, eax
jmp 0x44a3ba
push esi
push 0x44a33b
push eax
call fcn.00452e4b
add esp, 0xc
pop edi
pop ebx
ret