joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403680
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1214
call fcn.00405820
push ebx
push ebp
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x224]
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40377f
mov ebx, dword [esp + 0x10]
mov ebp, 2
shr ebx, 2
cmp ebx, ebp
jbe 0x40377f
push edi
lea edi, [esp + 0x22c]
mov edx, dword [edi]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40374d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 4
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x403744
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0x208
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x403744
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [esp + 0x1c]
push str.explorer.exe
push edx
call fcn.004057d1
add esp, 8
test eax, eax
jne 0x403759
lea eax, [esp + 0x1c]
push str.winfile.exe
push eax
call fcn.004057d1
add esp, 8
test eax, eax
jne 0x403759
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc ebp
add edi, 4
cmp ebp, ebx
jb 0x4036c8
test esi, esi
pop edi
je 0x40377f
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0xa
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
push esi
jne 0x40378b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1214
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x4037b5
mov eax, dword [esp + 0xc]
push eax
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1214
ret
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1214
ret

Function at 0x4037d0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x2c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4037f1
pop esi
add esp, 0x14
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40380c
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x403847
xor eax, eax
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0x1c]
mov eax, 8
test ecx, ecx
je 0x403859
mov eax, 0xc
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push 0
test eax, eax
mov dword [esp + 0x1c], 0
push 0
jne 0x403889
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
call esi
xor eax, eax
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call esi
mov eax, 1
pop esi
add esp, 0x14
ret
Function at 0x4038b0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0x10], str.DNTUS26
mov dword [esp + 0x14], 0x403a00
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, dword [esp + 0x20]
mov esi, eax
cmp edi, 1
jle 0x40397a
mov ecx, dword [esi + 4]
mov ax, word [ecx]
cmp ax, 0x2d
je 0x403908
cmp ax, 0x2f
jne 0x40397a
add ecx, 2
push ecx
push str.install
call fcn.00405951
add esp, 8
test eax, eax
jne 0x403924
call fcn.00403c60
jmp 0x403973
mov ecx, dword [esi + 4]
add ecx, 2
push ecx
push str.remove
call fcn.00405951
add esp, 8
test eax, eax
jne 0x403943
call fcn.00403d80
jmp 0x403973
mov edx, dword [esi + 4]
add edx, 2
push edx
push str.debug
call fcn.00405951
add esp, 8
test eax, eax
jne 0x40397a
mov eax, dword [esp + 0x24]
mov dword [0x411b84], 1
push eax
push edi
call fcn.00403f00
add esp, 8
push 0
call fcn.0040587c
push str.DNTUS26
push str._s__install__________to_install_the_service_n
call fcn.004057a0
add esp, 8
push str.DNTUS26
push str._s__remove___________to_remove_the_service_n
call fcn.004057a0
add esp, 8
push str.DNTUS26
push str._s__debug__params____to_run_as_a_console_app_for_debugging_n
call fcn.004057a0
add esp, 8
push str._nStartServiceCtrlDispatcher_being_called._n
call fcn.004057a0
add esp, 4
push str.This_may_take_several_seconds.__Please_wait._n
call fcn.004057a0
add esp, 4
push str._n_tDameWare_Development_n
call fcn.004057a0
add esp, 4
push str._twww.dameware.com_n
call fcn.004057a0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x403b40
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [0x411b84]
sub esp, 0x208
test eax, eax
push esi
jne 0x403bbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.DNTUS26
push 0
mov dword [0x411b80], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
mov eax, dword [0x411b80]
push eax
push str.DameWare_NT_Utilities_2.6
lea ecx, [esp + 0x14]
push str._s_r_nLast_Error:__d_r_n
push ecx
call fcn.004059d1
mov eax, dword [esp + 0x220]
add esp, 0x10
lea edx, [esp + 0xc]
mov dword [esp + 8], eax
test esi, esi
mov dword [esp + 4], edx
je 0x403bbf
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x208
ret
Function at 0x403bd0
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [0x411b84]
sub esp, 0x208
test eax, eax
push esi
jne 0x403c4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.DNTUS26
push 0
mov dword [0x411b80], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
mov eax, dword [0x411b80]
push eax
push str.DameWare_NT_Utilities_2.6
lea ecx, [esp + 0x14]
push str._s_r_nLast_Error:__d_r_n
push ecx
call fcn.004059d1
mov eax, dword [esp + 0x220]
add esp, 0x10
lea edx, [esp + 0xc]
mov dword [esp + 8], eax
test esi, esi
mov dword [esp + 4], edx
je 0x403c4f
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 2
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x208
ret

Function at 0x403c60
Capabilities:
Create service

Disassembly:
sub esp, 0x400
lea eax, [esp]
push edi
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x403caa
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.DameWare_NT_Utilities_2.6
push str.Unable_to_install__s____s_n
call fcn.00405a40
add esp, 0xc
pop edi
add esp, 0x400
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x403d4e
push ebx
push esi
push 0
push 0
push 0x411938
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 1
push 3
push 0x10
push 0xf01ff
push str.DameWare_NT_Utilities_2.6
push str.DNTUS26
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x403d21
push str.DameWare_NT_Utilities_2.6
push str._s_installed._n
call fcn.00405a40
add esp, 8
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
add esp, 0x400
ret
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.CreateService_failed____s_n
call fcn.00405a40
add esp, 8
push edi
call ebx
pop esi
pop ebx
pop edi
add esp, 0x400
ret
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.OpenSCManager_failed____s_n
call fcn.00405a40
add esp, 8
pop edi
add esp, 0x400
ret
Function at 0x403d80
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x403ed6
push esi
push 0xf01ff
push str.DNTUS26
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x403eac
push 0x411b60
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x403e4d
push ebx
push edi
push str.DameWare_NT_Utilities_2.6
push str.Stopping__s.
call fcn.00405a40
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x411b60
push esi
call ebx
test eax, eax
je 0x403e28
cmp dword [0x411b64], 3
jne 0x403e28
push 0x40e7c4
call fcn.00405a40
add esp, 4
push 0x3e8
call edi
push 0x411b60
push esi
call ebx
test eax, eax
jne 0x403dff
mov eax, dword [0x411b64]
pop edi
pop ebx
cmp eax, 1
push str.DameWare_NT_Utilities_2.6
jne 0x403e40
push str._n_s_stopped._n
jmp 0x403e45
push str._n_s_failed_to_stop._n
call fcn.00405a40
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x403e7b
push str.DameWare_NT_Utilities_2.6
push str._s_removed._n
call fcn.00405a40
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.DeleteService_failed____s_n
call fcn.00405a40
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.OpenService_failed____s_n
call fcn.00405a40
add esp, 8
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x411960
call fcn.00403f80
add esp, 8
push eax
push str.OpenSCManager_failed____s_n
call fcn.00405a40
add esp, 8
pop ebp
ret

Function at 0x403f00
Capabilities:
Accept command line arguments

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.DameWare_NT_Utilities_2.6
push str.Debugging__s._n
mov esi, eax
call fcn.00405a40
add esp, 8
push 1
push 0x403f50
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, dword [esp + 4]
push esi
push ecx
call fcn.00402690
add esp, 8
pop esi
pop ecx
ret
Function at 0x404a80
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x11c
push eax
call esi
test eax, eax
jne 0x404ac1
lea ecx, [esp + 8]
mov dword [esp + 8], 0x114
push ecx
call esi
test eax, eax
je 0x404ae7
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x404ae7
cmp dword [esp + 0xc], 6
jne 0x404ae7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x404ae7
pop edi
mov eax, 1
pop esi
add esp, 0x11c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x11c
ret

Function at 0x404b00
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x11c
push eax
call esi
test eax, eax
jne 0x404b41
lea ecx, [esp + 8]
mov dword [esp + 8], 0x114
push ecx
call esi
test eax, eax
je 0x404b80
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x404b80
cmp dword [esp + 0xc], 5
jne 0x404b80
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x404b63
pop edi
pop esi
add esp, 0x11c
ret
cmp eax, 2
jne 0x404b80
cmp byte [esp + 0x122], 1
jne 0x404b80
pop edi
mov eax, 1
pop esi
add esp, 0x11c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x11c
ret
Function at 0x404c90
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
sub esp, 0x210
mov ax, word [0x411938]
push ebx
push esi
push edi
mov word [esp + 0x14], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x208
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 1
push ecx
stosw word es:[edi], ax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x14]
push edx
call edi
cmp word [esp + eax*2 + 0x12], 0x5c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x404cf4
lea eax, [esp + 0x14]
push 0x40f0f0
push eax
call ebx
lea ecx, [esp + 0x14]
push str.DNTUSrvu.exe
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
call fcn.00404c40
add esp, 4
test eax, eax
jne 0x404d2e
lea eax, [esp + 0x14]
push eax
call fcn.00405080
add esp, 4
test eax, eax
jne 0x404d2e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00404e90
add esp, 8
test eax, eax
je 0x404de2
lea eax, [esp + 0x14]
push 0x208
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
call edi
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x404d72
lea edx, [esp + 0x14]
push 0x40f0f0
push edx
call ebx
lea eax, [esp + 0x14]
push 0x40f0bc
push eax
call ebx
xor edi, edi
lea ecx, [esp + 0x14]
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x404d22
cmp esi, 0xffffffff
je 0x404d22
mov eax, dword [esp + 0x220]
lea edx, [esp + 0x10]
push edi
push edx
push 0x800c
push eax
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404dd0
mov dword [esp + 0xc], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x210
ret

Function at 0x404df0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
call fcn.00404b00
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x404e0c
call fcn.00404a80
test eax, eax
je 0x404e22
push esi
push ebx
call fcn.00404c90
add esp, 8
test eax, eax
je 0x404e22
pop esi
mov eax, 1
pop ebx
ret
push ebx
push 0x404b90
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x404e35
pop esi
pop ebx
ret
test esi, esi
push edi
je 0x404e7c
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jbe 0x404e7c
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea esi, [ebx + 0x104]
mov ecx, dword [esi - 0xf4]
lea eax, [esp + 0x18]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push ecx
call ebp
mov dword [esi], eax
mov eax, dword [ebx + 8]
inc edi
add esi, 0xfc
cmp edi, eax
jb 0x404e50
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x404e90
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x46c
mov ax, word [0x411938]
push ebx
push ebp
push esi
push edi
mov word [esp + 0x274], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x276]
lea edx, [esp + 0x274]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x484]
xor ebx, ebx
push ecx
push 0x40f160
push edx
mov dword [esp + 0x20], ebx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x404f08
push str.WTSGetActiveConsoleSessionId
push esi
call ebp
call eax
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, word [0x411938]
mov ecx, 0x81
mov word [esp + 0x6c], ax
xor eax, eax
lea edi, [esp + 0x6e]
push 0x208
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x70]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x6a], 0x5c
je 0x404f5c
push 0x208
lea eax, [esp + 0x70]
push 0x40f0f0
push eax
call fcn.004049d0
add esp, 0xc
push 0x208
lea ecx, [esp + 0x70]
push str.wtsapi32.dll
push ecx
call fcn.004049d0
add esp, 0xc
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
lea edx, [esp + 0x70]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x404f9e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x46c
ret
push str.WTSQueryUserToken
push esi
mov dword [esp + 0x18], 0
call ebp
test eax, eax
jne 0x404fbd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x46c
ret
lea ecx, [esp + 0x10]
push ecx
push ebx
call eax
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edx, edx
je 0x40505c
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
xor ebp, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x488]
push ebp
push ebp
push 0x30
push ebp
push ebp
lea eax, [esp + 0x290]
push ebp
push eax
mov edi, 1
push ecx
push edx
mov dword [esp + 0x54], 0x44
mov word [esp + 0x84], bp
mov dword [esp + 0x80], edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x405034
mov dword [esp + 0x14], ebp
jmp 0x40505c
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40505c
cmp eax, 0xffffffff
je 0x40505c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov dword [esp + 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40506e
push eax
call ebx
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x46c
ret
Function at 0x405080
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push str.DNTUSRVU
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405102
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x405102
mov eax, dword [esp + 0x14]
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x405102
cmp edi, 0xffffffff
je 0x405102
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
push esi
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405109
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x10002e80
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0xc1
in eax, 0x36
out dx, al
and dword [eax - 0x6acd59b5], ebp
in eax, 0xce
cwde
invalid

Function at 0x103f3928
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103f3932
pushal
call 0x103f3938
pop ebp
sub ebp, 0x10
add byte [eax], al
add byte [ebp - 0x7f], bl
in eax, dx
adc byte [eax], al
add byte [eax], al
sub ebp, 0x3f3928
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103f395c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103f3965
mov eax, 0x3f3928
add eax, ebp
add eax, 0x63
mov ecx, 0x604
add al, 6
add byte [eax], al
mov edx, 0x9d2bf369
xor byte [eax], dl
inc eax
dec ecx
jne 0x103f397c
jmp 0x103f398f
loop 0x103f3935
loop 0x103f3973
push ebp
imul ebp, dword [ecx + 0x69], 0x6991a8e8
imul ebp, dword [ecx + 0x6a], 0x6961d1a4
imul ebp, dword [ecx - 0x2d], 0x69696941
call 0x79a8cb44
imul ebp, dword [edx - 0x5c], 0x696961d1
imul edx, ebx, 0x69696941
sahf
mov ebp, dword [edx - 0x5f]
loop 0x103f3997
imul ebp, dword gs:[ecx + 0x69], 0xe439ac6a
or eax, 0x6de0954d
dec ebp
add dword [ecx + 0x1696714], ebp
add edx, edx
pop ecx
imul ebp, dword [eax + 0x45], 0x2e70014d
fidivr word [ecx + eax*4]
insb byte es:[edi], dx
imul ebp, dword [ecx + 0x69], 0x69694180
imul edi, dword [edx], 0x61ece285
imul ebp, dword [ecx + 0x69], 0x6965fce2
imul ebp, dword [ecx - 0x1e], 0x696979e4
imul ebp, dword [eax + 0x6b586b80], 0x206dabea
in al, dx
popfd
xchg esi, eax
xchg esi, eax
xchg esi, eax
xor al, 0xab
imul esp, edx, 0x696d4de5
imul ebp, dword [ecx + 1], 0x696714a9
add dword [ecx], eax
rcr byte [ecx + 0x69], cl
push 0xde44d45
dec ebp
xchg ebp, eax
loopne 0x103f3a80
dec ebp
sub dword [ecx + ebp*2 + 0x69], 0x6b2c8069
imul ebp, dword [ecx + 0x3c], 0x1c9685e2
xchg esi, eax
sbb al, 0x61
adc dword [ecx], 0xe2696969
aam 0x61
imul ebp, dword [ecx + 0x69], 0xc86e98e8
mov al, 0xb4
call 0xc107a8dd
mov ah, 0x5a
mov al, byte [0x81eabb5a]
insb byte es:[edi], dx
and dword [esi - 0x13], esp
daa
imul ebp, dword [ecx + 0x69], 0x6921e166
imul ebp, dword [ecx + 0xf], 0xe95075e2
xchg edx, eax
and dword [esi - 0x13], 0x69696973
jmp 0xfda5bafe
xchg esi, eax
inc eax
and eax, 0xa8ea6850
insb byte es:[edi], dx
ljmp 0x9696
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40645d
pop dword [ebp - 0x3c]
mov eax, 0xfcb40ea0
add eax, 0x38c55bd
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x60be424f
sub dword [ebp - 0x4c], 0x126bfd04
mov dword [ebp - 0x48], 0x641d35d4
sub dword [ebp - 0x48], 0x31e9e98f
mov dword [ebp - 0x44], 0xde7e4caf
add dword [ebp - 0x44], 0x6dcdf77f
mov dword [ebp - 0x40], 0xd7a637bb
sub dword [ebp - 0x40], 0xd7a637bb
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2e079cf6
sub eax, 0x2dc71c7e
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xabec1dbc
sub dword [ebp - 0x4c], 0x3779b466
mov dword [ebp - 0x48], 0xfd87fd91
add dword [ebp - 0x48], 0x43e463e4
mov dword [ebp - 0x44], 0xbf176cf6
add dword [ebp - 0x44], 0xa457ff76
mov dword [ebp - 0x40], 0xdb9bf178
add dword [ebp - 0x40], 0x24640e88
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x40b3ab69
sub eax, 0x40732aed
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a903
push 0
call eax
mov ecx, 0x83841333
sub ecx, 0x8383bd28
mov ebx, eax
mov edx, 0x6ad74dff
sub edx, 0x6a9239ff
add edx, dword [ebp - 0x3c]
mov edi, 0x84428cf2
sub edi, 0xff9a0c30
xor dword [ebp - 0x2c], 0xb113dd5
mov esi, dword [edx]
add esi, edi
xor dword [ebp - 0x28], 0xa2548a9d
mov dword [ebx], esi
sub dword [ebp - 0x24], eax
add ebx, 0x8a919d73
add ebx, 0x756e6291
add edx, 4
loop 0x40657f
add eax, 0x2a734f00
sub eax, 0x2a720401
xor ebx, ebx
add ebx, eax
add eax, 0x89fdb2ae
add eax, 0x76024d57
mov ecx, 0x6274597b
add ecx, 0x9dcba685
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x430a342d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x430a343c
pop dword [ebp - 0x2c]
mov eax, 0x7a2d2f6a
add eax, 0xc8dd04d2
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3900d
push 0
mov eax, 0xcee540ba
sub eax, 0x8bdb301a
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4da6
mov edx, eax
mov ebx, 0x430ade00
add ebx, dword [ebp - 0x2c]
mov edi, 0x8745f617
add dword [ebp - 0x20], 0x520c30f
mov esi, dword [ebx]
xor dword [ebp - 8], esi
sub esi, edi
xor dword [ebp - 4], esi
mov dword [edx], esi
add dword [ebp - 0xc], 0x25ebefdb
add edx, 0x446f75d8
sub edx, 0x446f75d4
add ebx, 4
loop 0x430a3489
add eax, 0x6bec65dc
add eax, 0x9414c38f
xor ebx, ebx
add ebx, eax
add eax, 0x16b21892
sub eax, 0x16b2188d
mov ecx, 0x430a0000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9