joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4395ce
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, 0x509500
mov ecx, edi
mov esi, ebx
call fcn.0040f32d
and word [ebp - 0x210], 0
push 0x206
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.004857c0
mov eax, dword [0x509500]
add esp, 0xc
mov ecx, edi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
push str.programfiles
mov dword [ebp - 4], esi
call fcn.00486265
pop ecx
push eax
push ebx
call fcn.00414fa4
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x439656
push edi
push 0x26
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
je 0x4396f5
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.00414fa4
mov eax, ebx
call fcn.0042536b
mov esi, ebx
call fcn.00428f82
mov eax, dword [0x50b2e8]
add eax, 0xfffffff0
call fcn.004244f5
lea edi, [eax + 0x10]
push dword [edi - 0xc]
mov eax, ebx
push edi
call fcn.0040103b
lea eax, [edi - 0x10]
call fcn.00401023
lea eax, [ebp - 8]
push eax
call fcn.004728b0
pop ecx
lea edi, [ebp - 4]
call fcn.0042454d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x4396f5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4396f5
xor ecx, ecx
inc ecx
lea edx, [ebp - 8]
mov eax, edi
call fcn.00414dd1
call fcn.0042454d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
jge 0x4396e8
push 0x80070057
call fcn.004011cc
movzx eax, word [esi]
push eax
xor edi, edi
mov eax, ebx
call fcn.00430751
lea eax, [esi - 0x10]
call fcn.00401023
pop edi
mov eax, ebx
pop esi
leave
ret
Function at 0x43a19f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x509500]
push ebx
push esi
xor esi, esi
push edi
mov ecx, 0x509500
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov ebx, eax
mov edi, 0x50b3f4
mov dword [ebp - 4], esi
push str.GetPacketData__d
mov esi, edi
add ebx, 0x10
call fcn.00445464
mov esi, dword [ebp + 8]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.0043a28b
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp + 0xc], eax
call fcn.00445464
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
jne 0x43a20e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
jmp 0x43a26c
call fcn.0046c528
test eax, eax
mov dword [ebp - 4], eax
je 0x43a26c
push str.Extract...
call fcn.00445464
mov eax, dword [ebp - 4]
pop ecx
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp - 8]
push dword [ebp + 0xc]
push eax
call dword [ecx]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp + 0xc], eax
push ecx
push str.Extract_return:_d
call fcn.00445464
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
pop ecx
je 0x43a265
lea eax, [ebx - 0x10]
call fcn.00401023
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 0xc], 1
cmp dword [ebx - 0xc], 0
je 0x43a279
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43a286
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0xc]
jmp 0x43a254
Function at 0x43a36c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.004857c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43a3f8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0xc
jmp 0x43a470
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x43a42b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x43a453
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x43a462
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0xc
jmp 0x43a469
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43adc4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx], 2
push esi
push edi
jne 0x43adda
lea edi, [ebp - 4]
call fcn.0043ae90
jmp 0x43ade4
lea eax, [ebp - 4]
push eax
call fcn.0043ae3b
pop ecx
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43adf9
push edi
call fcn.0046b4cd
pop ecx
lea esi, [ebp - 8]
mov eax, ebx
call fcn.0043b056
mov esi, dword [ebp - 8]
and dword [ebp - 4], 0
push esi
push SysReAllocString
lea eax, [ebp - 4]
call fcn.00424973
cmp dword [ebp - 4], 0
je 0x43ae27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
call fcn.00401023
lea eax, [edi - 0x10]
call fcn.00401023
pop edi
pop esi
leave
ret
Function at 0x43b3d1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00494ac0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
xor esi, esi
cmp edi, esi
jne 0x43b3f3
xor eax, eax
jmp 0x43b49a
push 0xffe
lea eax, [ebp - 0x1016]
push esi
push eax
mov dword [ebp - 8], esi
mov word [ebp - 0x1018], si
call fcn.004857c0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1018]
push eax
push esi
push edi
jmp 0x43b486
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0xc]
call fcn.00423484
call fcn.0042536b
mov ebx, dword [ebp + 0xc]
push eax
lea edi, [ebp - 0x18]
call fcn.0043bfef
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
inc dword [ebp - 8]
push 0xffe
lea eax, [ebp - 0x1016]
push esi
push eax
mov word [ebp - 0x1018], si
call fcn.004857c0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [eax]
mov dword [ebp - 4], 0x7fe
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43b425
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43b7f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push ecx
add ebx, 0xfffffff0
mov eax, ebx
mov esi, esp
call fcn.004244f5
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0043b878
mov esi, dword [ebp + 0x10]
xor edi, edi
add esp, 0xc
cmp dword [esi - 0xc], edi
je 0x43b862
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], edi
jne 0x43b840
lea eax, [ebp + 0x10]
mov edi, ecx
call fcn.0042454d
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
call fcn.0043b5d1
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, ebx
call fcn.00401023
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43ba53
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x50a3f0], 0
jne 0x43bb12
push esi
push edi
push 0x400000
lea eax, [ebp - 4]
call fcn.0047258a
xor ecx, ecx
lea esi, [ebp - 4]
mov dword [esp], str.fantasydesk
call fcn.00414ef4
cmp eax, 0xffffffff
mov edi, dword [ebp - 4]
je 0x43ba98
mov dword [0x50a3ec], 1
jmp 0x43bb01
push str.kdesk
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00414ef4
cmp eax, 0xffffffff
je 0x43bb01
mov eax, dword [0x509500]
mov ecx, 0x509500
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push edi
push str._s_ressrcchsuplive.svr
lea eax, [ebp - 4]
call fcn.00422cb5
mov esi, dword [ebp - 4]
pop ecx
pop ecx
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
add eax, 0xfffff445
push 0x61
pop ecx
cmp ecx, eax
sbb eax, eax
add eax, 3
mov dword [0x50a3ec], eax
lea eax, [esi - 0x10]
call fcn.00401023
lea eax, [edi - 0x10]
mov byte [0x50a3f0], 1
call fcn.00401023
pop edi
pop esi
mov al, 1
leave
ret
Function at 0x43bb16
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00494ac0
push ebx
push esi
push edi
mov esi, 0x20219
push esi
push str.HKEY_LOCAL_MACHINE_softwarecmcmkdesk
lea ebx, [ebp - 0x1c]
call fcn.00404d49
lea edi, [ebp - 0x1024]
call fcn.00404d21
push esi
mov esi, ebx
call fcn.00404df5
test eax, eax
je 0x43bc52
push str.ProgramPath
mov eax, ebx
push eax
mov eax, edi
call fcn.00404e1f
test eax, eax
je 0x43bc52
mov eax, edi
push eax
lea eax, [ebp - 8]
call fcn.00423484
lea eax, [ebp - 0xc]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 8]
call fcn.00406de1
mov esi, 0x4e26ac
push esi
push eax
call fcn.0040f2c5
test eax, eax
mov eax, dword [ebp - 0xc]
setne bl
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x43bbaf
push esi
lea eax, [ebp - 8]
push eax
call fcn.00401000
call fcn.004406fe
cmp eax, 2
jne 0x43bc1c
mov edi, dword [ebp - 8]
add edi, 0xfffffff0
mov eax, edi
call fcn.004244f5
add eax, 0x10
mov dword [ebp - 0xc], eax
push str.kdesk64.exe
lea eax, [ebp - 0xc]
push eax
call fcn.00401000
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bc14
add esi, 0xfffffff0
mov eax, esi
call fcn.004244f5
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.00401023
mov eax, edi
call fcn.00401023
lea esi, [ebp - 0x1c]
call fcn.00404ddd
mov eax, ebx
jmp 0x43bc6a
lea eax, [esi - 0x10]
call fcn.00401023
push str.kdesk.exe
lea eax, [ebp - 8]
push eax
call fcn.00401000
mov esi, dword [ebp - 8]
add esi, 0xfffffff0
mov eax, esi
call fcn.004244f5
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
lea esi, [ebp - 0x1c]
call fcn.00404ddd
mov eax, edi
jmp 0x43bc6a
mov eax, dword [ebp + 8]
push 0x4e9bdc
call fcn.00423484
lea esi, [ebp - 0x1c]
call fcn.00404ddd
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43bc71
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
call fcn.0043bd63
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
jne 0x43bc9f
push 0x4e9bdc
mov eax, edi
call fcn.00423484
lea eax, [ebx - 0x10]
jmp 0x43bd58
lea eax, [ebp - 0xc]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 8]
call fcn.00406de1
mov esi, 0x4e26ac
push esi
push eax
call fcn.0040f2c5
test eax, eax
mov eax, dword [ebp - 0xc]
setne byte [ebp - 1]
add eax, 0xfffffff0
call fcn.00401023
cmp byte [ebp - 1], 0
je 0x43bcde
push esi
lea eax, [ebp - 8]
push eax
call fcn.00401000
mov ebx, dword [ebp - 8]
call fcn.004406fe
cmp eax, 2
jne 0x43bd36
add ebx, 0xfffffff0
mov eax, ebx
call fcn.004244f5
add eax, 0x10
mov dword [ebp - 0xc], eax
push str.kdesk64.exe
lea eax, [ebp - 0xc]
push eax
call fcn.00401000
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bd2e
add esi, 0xfffffff0
mov eax, esi
call fcn.004244f5
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
mov eax, ebx
jmp 0x43bd58
lea eax, [esi - 0x10]
call fcn.00401023
push str.kdesk.exe
lea eax, [ebp - 8]
push eax
call fcn.00401000
mov esi, dword [ebp - 8]
add esi, 0xfffffff0
mov eax, esi
call fcn.004244f5
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
pop esi
mov eax, edi
pop ebx
leave
ret

Function at 0x43be99
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00494ac0
push ebx
push esi
push edi
mov esi, 0x20219
push esi
push str.HKEY_LOCAL_MACHINE_softwarecmcmkdesk
lea ebx, [ebp - 0x18]
call fcn.00404d49
lea edi, [ebp - 0x1020]
call fcn.00404d21
push esi
mov esi, ebx
call fcn.00404df5
test eax, eax
je 0x43bf68
push str.ProgramPath
mov eax, ebx
push eax
mov eax, edi
call fcn.00404e1f
test eax, eax
je 0x43bf68
mov eax, edi
push eax
lea eax, [ebp - 4]
call fcn.00423484
lea eax, [ebp - 8]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 4]
call fcn.00406de1
mov esi, 0x4e26ac
push esi
push eax
call fcn.0040f2c5
test eax, eax
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x43bf2e
push esi
lea eax, [ebp - 4]
push eax
call fcn.00401000
push str.ressrcchsuplive.svr
lea eax, [ebp - 4]
push eax
call fcn.00401000
mov esi, dword [ebp - 4]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401023
lea esi, [ebp - 0x18]
call fcn.00404ddd
mov eax, edi
jmp 0x43bf72
lea esi, [ebp - 0x18]
call fcn.00404ddd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c725
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x509500]
push esi
push edi
mov ecx, 0x509500
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
push 7
push str._from:_d__mode:3__operation:_d
lea eax, [ebp - 4]
call fcn.00422cb5
add esp, 0xc
call fcn.00404c8e
lea edi, [ebp - 8]
call fcn.0043bc71
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c775
test al, 0x10
je 0x43c785
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
jmp 0x43c7a6
mov edi, dword [ebp - 4]
push 1
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.00401023
lea eax, [edi - 0x10]
call fcn.00401023
pop edi
pop esi
leave
ret

Function at 0x43c7af
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x509500]
push ebx
push esi
push edi
mov ecx, 0x509500
call dword [eax + 0xc]
push str.arrange_pop_page_failed
add eax, 0x10
push 0x4ef4f0
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
push str._from:_d__mode:2___s:1___s:1
lea eax, [ebp - 4]
call fcn.00422cb5
add esp, 0x10
lea edi, [ebp - 8]
call fcn.0043c832
mov esi, dword [ebp - 8]
push ebx
push esi
call fcn.004839f0
test eax, eax
mov edi, dword [ebp - 4]
pop ecx
pop ecx
je 0x43c819
lea eax, [esi - 0x10]
call fcn.00401023
lea eax, [edi - 0x10]
call fcn.00401023
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push 1
push ebx
push edi
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
jmp 0x43c802

Function at 0x43c832
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call fcn.004406fe
cmp eax, 2
jne 0x43c88d
push str.kdesk64.exe
lea eax, [ebp - 4]
push eax
call fcn.0043c8b3
lea ecx, [ebp - 8]
call fcn.00415037
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c885
add esi, 0xfffffff0
mov eax, esi
call fcn.004244f5
add eax, 0x10
mov dword [edi], eax
mov eax, esi
jmp 0x43c8a9
lea eax, [esi - 0x10]
call fcn.00401023
push str.kdesk.exe
lea eax, [ebp - 8]
push eax
call fcn.0043c8b3
mov ecx, edi
call fcn.00415037
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.00401023
mov eax, edi
pop esi
leave
ret
Function at 0x43cb23
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x50b3b8], esi
mov dword [ebp - 4], esi
je 0x43cb3f
xor eax, eax
inc eax
jmp 0x43cbff
push edi
push str.F1FDC119_1B9A_4f7d_AACD_566A48BCE196
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push str.GlobalF46865EC_12FC_4828_8D94_538AE3B7EDF1_EXIST
push esi
push 1
push esi
mov dword [0x50a850], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x50a854], eax
call fcn.0043ca92
test eax, eax
jge 0x43cb7a
xor eax, eax
jmp 0x43cbfe
cmp dword [ebp - 4], esi
je 0x43cbfc
mov eax, dword [0x50b3b0]
push ebx
mov ebx, dword [eax]
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43cbf8
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
call ebx
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
xor esi, esi
inc esi
pop ebx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x43cd12
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
push edi
push 0x103
lea eax, [ebp - 0x133]
push 0
push eax
mov byte [ebp - 0x134], 0
call fcn.004857c0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x28], 0
pop ecx
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push eax
call fcn.004838a0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004375d2
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, 0x509500
call fcn.0040f32d
xor esi, esi
movzx eax, byte [ebp + esi - 0x28]
mov ecx, dword [ebp + 8]
push eax
push str._02x
call fcn.0040ae0b
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x43cd93
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x43cdb5
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.004857c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov esi, dword [ebp + 8]
mov ecx, 0x509500
call fcn.0040f32d
push dword [ebp - 8]
mov eax, esi
push str._010lu
call fcn.00422cb5
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43d744
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
push 2
call fcn.0043c725
pop ecx
call fcn.00404ceb
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
call edi
mov dword [esi], eax
lea eax, [esp + 0x10]
call fcn.0042a3ab
push dword [eax]
call fcn.0044536a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401023
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.0040608a
call fcn.0043d54f
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
call fcn.0043a046
test eax, eax
jne 0x43d813
push 0xc
call fcn.0045c795
cmp eax, ebx
pop ecx
jne 0x43d7db
xor esi, esi
jmp 0x43d7ff
push ebx
push ebx
push eax
push 0x43a0a0
lea ecx, [esp + 0x1c]
push ebx
push ebx
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43a06d
call fcn.00489553
add esp, 0x18
mov esi, eax
cmp dword [esp + 0xc], ebx
je 0x43d80f
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], esi
cmp dword [esp + 0x10], ebx
je 0x43d81e
call fcn.00406202
call fcn.00404ceb
mov esi, eax
call edi
mov dword [esi + 0x14], eax
cmp dword [0x50b16c], ebx
je 0x43d84b
cmp dword [0x50b1b8], ebx
jne 0x43d84b
cmp dword [0x50a830], 0xe0000038
je 0x43d84b
call fcn.0043c7af
lea edi, [esp + 0x18]
call fcn.0046ddd4
mov esi, eax
call fcn.0046de83
push 2
mov eax, esi
call fcn.0046e0bf
mov eax, esi
call fcn.0046e198
mov eax, esi
call fcn.0046e278
mov eax, esi
call fcn.0046e354
mov esi, edi
call fcn.0046de2f
call fcn.0047646a
push eax
call fcn.0047649f
cmp dword [0x50b1b8], ebx
je 0x43d898
call fcn.0043d690
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x50b1a8], ebx
je 0x43d8ab
call fcn.0042a5fb
mov eax, dword [0x50b140]
cmp eax, ebx
je 0x43d8ba
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x50b1c4]
cmp dword [eax - 0xc], ebx
je 0x43d8d2
push ebx
push ebx
push 1
push ebx
push eax
call fcn.0042a0f4
add esp, 0x14
mov esi, 0x50b26c
call fcn.004253ab
mov esi, 0x50b204
call fcn.0043a0ca
cmp dword [esp + 0xc], ebx
je 0x43d90c
push 0xffffffffffffffff
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [esp + 0xc], ebx
je 0x43d90c
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], ebx
push 1
call fcn.0043c725
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43de10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
call dword [section..data]
mov eax, dword [ebp + 8]
xor edi, edi
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x40c], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp + 0xc], ebx
jne 0x43de54
call fcn.0043f078
mov esi, eax
jmp 0x43df33
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x43de71
call fcn.0043f078
jmp 0x43df28
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x43de67
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x43deb4
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43deaa
lea eax, [ebp - 0x40c]
call fcn.0043332f
mov eax, 0x8007000e
jmp 0x43df4e
push 2
push eax
call fcn.00434997
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43ded4
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0043ecd6
jmp 0x43dee0
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x43def1
mov esi, 0x8007000e
jmp 0x43df2a
call dword [section..data]
push esi
push ebx
push esi
push dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, edi
je 0x43de67
mov ecx, dword [ebp - 0x40c]
push dword [ebp + 0x18]
mov word [ecx + eax*2], di
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.0043df55
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43df4c
lea eax, [ebp - 0x40c]
call fcn.0043332f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14