joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a0c7
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.00486d70
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 0x43a153
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, 0x51049c
call fcn.004452e2
add esp, 0xc
jmp 0x43a1cb
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 0x43a186
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x43a1ae
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 0x43a1bd
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, 0x51049c
call fcn.004452e2
add esp, 0xc
jmp 0x43a1c4
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 0x43abad
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx], 2
push esi
push edi
jne 0x43abc3
lea edi, [ebp - 4]
call fcn.0043ac79
jmp 0x43abcd
lea eax, [ebp - 4]
push eax
call fcn.0043ac24
pop ecx
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43abe2
push edi
call fcn.0046b2fe
pop ecx
lea esi, [ebp - 8]
mov eax, ebx
call fcn.0043ae69
mov esi, dword [ebp - 8]
and dword [ebp - 4], 0
push esi
push SysReAllocString
lea eax, [ebp - 4]
call fcn.00424e8c
cmp dword [ebp - 4], 0
je 0x43ac10
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 0x43b1e4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00497b00
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
xor esi, esi
cmp edi, esi
jne 0x43b206
xor eax, eax
jmp 0x43b2ad
push 0xffe
lea eax, [ebp - 0x1016]
push esi
push eax
mov dword [ebp - 8], esi
mov word [ebp - 0x1018], si
call fcn.00486d70
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 0x43b299
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0xc]
call fcn.00423978
call fcn.0042587d
mov ebx, dword [ebp + 0xc]
push eax
lea edi, [ebp - 0x18]
call fcn.0043be09
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.00486d70
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 0x43b238
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43b60f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push esi
push edi
push ecx
add eax, 0xfffffff0
mov esi, esp
call fcn.004249f2
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
call fcn.0043b692
mov esi, dword [ebp - 4]
xor edi, edi
add esp, 0xc
cmp dword [esi - 0xc], edi
je 0x43b679
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jne 0x43b657
lea eax, [ebp - 4]
mov edi, ebx
call fcn.00424a4a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
call fcn.0043b3ec
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401023
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x43b86d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x50f498], 0
jne 0x43b92c
push esi
push edi
push 0x400000
lea eax, [ebp - 4]
call fcn.00472ff2
xor ecx, ecx
lea esi, [ebp - 4]
mov dword [esp], str.fantasydesk
call fcn.0041522b
cmp eax, 0xffffffff
mov edi, dword [ebp - 4]
je 0x43b8b2
mov dword [0x50f494], 1
jmp 0x43b91b
push str.kdesk
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0041522b
cmp eax, 0xffffffff
je 0x43b91b
mov eax, dword [0x50e594]
mov ecx, 0x50e594
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.0042318c
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 [0x50f494], eax
lea eax, [esi - 0x10]
call fcn.00401023
lea eax, [edi - 0x10]
mov byte [0x50f498], 1
call fcn.00401023
pop edi
pop esi
mov al, 1
leave
ret
Function at 0x43b930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00497b00
push ebx
push esi
push edi
mov esi, 0x20219
push esi
push str.HKEY_LOCAL_MACHINE_softwarecmcmkdesk
lea ebx, [ebp - 0x1c]
call fcn.00404d91
lea edi, [ebp - 0x1024]
call fcn.00404d69
push esi
mov esi, ebx
call fcn.00404e3d
test eax, eax
je 0x43ba6c
push str.ProgramPath
mov eax, ebx
push eax
mov eax, edi
call fcn.00404e67
test eax, eax
je 0x43ba6c
mov eax, edi
push eax
lea eax, [ebp - 8]
call fcn.00423978
lea eax, [ebp - 0xc]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 8]
call fcn.00406fd3
mov esi, 0x4e66bc
push esi
push eax
call fcn.0040f48f
test eax, eax
mov eax, dword [ebp - 0xc]
setne bl
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x43b9c9
push esi
lea eax, [ebp - 8]
push eax
call fcn.00401000
call fcn.0044063d
cmp eax, 2
jne 0x43ba36
mov edi, dword [ebp - 8]
add edi, 0xfffffff0
mov eax, edi
call fcn.004249f2
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 0x43ba2e
add esi, 0xfffffff0
mov eax, esi
call fcn.004249f2
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.00404e25
mov eax, ebx
jmp 0x43ba84
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.004249f2
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
lea esi, [ebp - 0x1c]
call fcn.00404e25
mov eax, edi
jmp 0x43ba84
mov eax, dword [ebp + 8]
push 0x4ee0dc
call fcn.00423978
lea esi, [ebp - 0x1c]
call fcn.00404e25
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43ba8b
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.0043bb7d
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
jne 0x43bab9
push 0x4ee0dc
mov eax, edi
call fcn.00423978
lea eax, [ebx - 0x10]
jmp 0x43bb72
lea eax, [ebp - 0xc]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 8]
call fcn.00406fd3
mov esi, 0x4e66bc
push esi
push eax
call fcn.0040f48f
test eax, eax
mov eax, dword [ebp - 0xc]
setne byte [ebp - 1]
add eax, 0xfffffff0
call fcn.00401023
cmp byte [ebp - 1], 0
je 0x43baf8
push esi
lea eax, [ebp - 8]
push eax
call fcn.00401000
mov ebx, dword [ebp - 8]
call fcn.0044063d
cmp eax, 2
jne 0x43bb50
add ebx, 0xfffffff0
mov eax, ebx
call fcn.004249f2
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 0x43bb48
add esi, 0xfffffff0
mov eax, esi
call fcn.004249f2
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
mov eax, ebx
jmp 0x43bb72
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.004249f2
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401023
pop esi
mov eax, edi
pop ebx
leave
ret

Function at 0x43bcb3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00497b00
push ebx
push esi
push edi
mov esi, 0x20219
push esi
push str.HKEY_LOCAL_MACHINE_softwarecmcmkdesk
lea ebx, [ebp - 0x18]
call fcn.00404d91
lea edi, [ebp - 0x1020]
call fcn.00404d69
push esi
mov esi, ebx
call fcn.00404e3d
test eax, eax
je 0x43bd82
push str.ProgramPath
mov eax, ebx
push eax
mov eax, edi
call fcn.00404e67
test eax, eax
je 0x43bd82
mov eax, edi
push eax
lea eax, [ebp - 4]
call fcn.00423978
lea eax, [ebp - 8]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 4]
call fcn.00406fd3
mov esi, 0x4e66bc
push esi
push eax
call fcn.0040f48f
test eax, eax
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x43bd48
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.00404e25
mov eax, edi
jmp 0x43bd8c
lea esi, [ebp - 0x18]
call fcn.00404e25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c4d7
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x50e594]
push esi
push edi
mov ecx, 0x50e594
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.0042318c
add esp, 0xc
call fcn.00404cd6
lea edi, [ebp - 8]
call fcn.0043ba8b
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c527
test al, 0x10
je 0x43c537
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
jmp 0x43c558
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 0x43c561
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x50e594]
push ebx
push esi
push edi
mov ecx, 0x50e594
call dword [eax + 0xc]
push str.arrange_pop_page_failed
add eax, 0x10
push 0x4f3880
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.0042318c
add esp, 0x10
lea edi, [ebp - 8]
call fcn.0043c5e4
mov esi, dword [ebp - 8]
push ebx
push esi
call fcn.0048763d
test eax, eax
mov edi, dword [ebp - 4]
pop ecx
pop ecx
je 0x43c5cb
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 0x43c5b4

Function at 0x43c5e4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call fcn.0044063d
cmp eax, 2
jne 0x43c63f
push str.kdesk64.exe
lea eax, [ebp - 4]
push eax
call fcn.0043c665
lea ecx, [ebp - 8]
call fcn.00415360
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 0x43c637
add esi, 0xfffffff0
mov eax, esi
call fcn.004249f2
add eax, 0x10
mov dword [edi], eax
mov eax, esi
jmp 0x43c65b
lea eax, [esi - 0x10]
call fcn.00401023
push str.kdesk.exe
lea eax, [ebp - 8]
push eax
call fcn.0043c665
mov ecx, edi
call fcn.00415360
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.00401023
mov eax, edi
pop esi
leave
ret
Function at 0x43c8f7
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x510460], esi
mov dword [ebp - 4], esi
je 0x43c913
xor eax, eax
inc eax
jmp 0x43c9d3
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 [0x50f8f8], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x50f8fc], eax
call fcn.0043c844
test eax, eax
jge 0x43c94e
xor eax, eax
jmp 0x43c9d2
cmp dword [ebp - 4], esi
je 0x43c9d0
mov eax, dword [0x510458]
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 0x43c9cc
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 0x43cae6
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.00486d70
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.00487430
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004373b3
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, 0x50e594
call fcn.0040f75c
xor esi, esi
movzx eax, byte [ebp + esi - 0x28]
mov ecx, dword [ebp + 8]
push eax
push 0x4f20e4
call fcn.0040b1e8
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x43cb67
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x43cb89
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.00486d70
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, 0x50e594
call fcn.0040f75c
push dword [ebp - 8]
mov eax, esi
push str._010lu
call fcn.0042318c
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43d70a
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.0043c4d7
pop ecx
call fcn.00404d33
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
call edi
mov dword [esi], eax
lea eax, [esp + 0x10]
call fcn.0042a91d
push dword [eax]
call fcn.004451e8
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.004060c9
call fcn.0043d4d6
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
call fcn.00439da5
test eax, eax
jne 0x43d7d9
push 0xc
call fcn.0045c61f
cmp eax, ebx
pop ecx
jne 0x43d7a1
xor esi, esi
jmp 0x43d7c5
push ebx
push ebx
push eax
push 0x439dff
lea ecx, [esp + 0x1c]
push ebx
push ebx
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x439dcc
call fcn.0048c235
add esp, 0x18
mov esi, eax
cmp dword [esp + 0xc], ebx
je 0x43d7d5
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], esi
cmp dword [esp + 0x10], ebx
je 0x43d7e4
call fcn.00406241
call fcn.00404d33
mov esi, eax
call edi
mov dword [esi + 0x14], eax
cmp dword [0x51021c], ebx
je 0x43d811
cmp dword [0x510268], ebx
jne 0x43d811
cmp dword [0x50f8d8], 0xe0000038
je 0x43d811
call fcn.0043c561
lea edi, [esp + 0x18]
call fcn.0046dd6b
mov esi, eax
call fcn.0046de1a
push 2
mov eax, esi
call fcn.0046e13c
mov eax, esi
call fcn.0046e215
mov eax, esi
call fcn.0046e2d9
mov eax, esi
call fcn.0046e3b5
mov esi, edi
call fcn.0046ddc6
call fcn.004786fa
push eax
call fcn.0047872f
cmp dword [0x510268], ebx
je 0x43d85e
call fcn.0043d617
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x510258], ebx
je 0x43d871
call fcn.0042ab6d
mov eax, dword [0x5101f0]
cmp eax, ebx
je 0x43d880
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x510274]
cmp dword [eax - 0xc], ebx
je 0x43d898
push ebx
push ebx
push 1
push ebx
push eax
call fcn.0042a666
add esp, 0x14
call fcn.00478431
mov esi, eax
call fcn.004784e7
mov esi, 0x51031c
call fcn.004258bd
mov esi, 0x5102b4
call fcn.00439e25
cmp dword [esp + 0xc], ebx
je 0x43d8de
push 0xffffffffffffffff
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [esp + 0xc], ebx
je 0x43d8de
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0xc], ebx
push 1
call fcn.0043c4d7
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43dddc
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 0x43de20
call fcn.0043f021
mov esi, eax
jmp 0x43deff
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x43de3d
call fcn.0043f021
jmp 0x43def4
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x43de33
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x43de80
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43de76
lea eax, [ebp - 0x40c]
call fcn.0043394e
mov eax, 0x8007000e
jmp 0x43df1a
push 2
push eax
call fcn.00434fd4
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43dea0
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.004339ae
jmp 0x43deac
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x43debd
mov esi, 0x8007000e
jmp 0x43def6
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 0x43de33
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.0043df21
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43df18
lea eax, [ebp - 0x40c]
call fcn.0043394e
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x43ec78
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43ec8b
push 0x80004005
call fcn.004011cc
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43ec92
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43f628
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.00486d70
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x43fdb8
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x43fde8
push 0x98
call fcn.0045c61f
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x43fddb
call fcn.0043f628
mov eax, ebx
jmp 0x43fddd
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x43fde8
xor eax, eax
jmp 0x43fe5e
push ebp
push 0x4f3df0
push dword [esp + 0x14]
call fcn.0048c6ad
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x43fe03
xor eax, eax
jmp 0x43fe5d
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x43fe17
push ebx
call fcn.00485550
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048c95c
add esp, 0x10
cmp eax, esi
je 0x43fe48
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.004372a4
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048c95c
add esp, 0x10
test eax, eax
jne 0x43fe2a
push ebp
call fcn.0048c9e9
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0043f660
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4