joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6010bf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 4]
push 0xffffffffffffffff
push 0x60181a8
push eax
mov dword fs:[0], esp
sub esp, 0x28
test ecx, ecx
je 0x6010c20
mov eax, dword [0x6022244]
test eax, eax
jne 0x6010c1e
mov eax, 0x6019168
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x6010c38
mov eax, dword [0x6022254]
test eax, eax
jne 0x6010c36
mov eax, 0x6019168
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x6010c50
mov eax, dword [0x6022234]
test eax, eax
jne 0x6010c4e
mov eax, 0x6019168
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x6010c68
mov eax, dword [0x6022264]
test eax, eax
jne 0x6010c66
mov eax, 0x6019168
mov dword [ecx], eax
push ebx
push esi
push edi
push 0x6022228
push 0
push 0x50
push str.E:_svneboot_dll_trunkeboot_debug.cpp
lea ecx, [esp + 0x1c]
call fcn.06013920
mov ecx, dword [0x6022278]
push 0x6020ed0
push ecx
push eax
mov dword [esp + 0x48], 0
call fcn.060139a0
or edi, 0xffffffff
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.06013990
mov ebx, dword [0x6022254]
test ebx, ebx
jne 0x6010cbe
mov ebx, 0x6019168
mov esi, dword [0x6022244]
test esi, esi
jne 0x6010ccd
mov esi, 0x6019168
push 0x6022228
push 0
push 0x51
push str.E:_svneboot_dll_trunkeboot_debug.cpp
lea ecx, [esp + 0x1c]
call fcn.06013920
mov edx, dword [0x6022278]
push ebx
push esi
push str.Eboot_GetDLLInfo__:__s___100s
push edx
push eax
mov dword [esp + 0x50], 1
call fcn.060139a0
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.06013990
mov esi, dword [0x6022234]
test esi, esi
jne 0x6010d1f
mov esi, 0x6019168
push 0x6022228
push 0
push 0x52
push str.E:_svneboot_dll_trunkeboot_debug.cpp
lea ecx, [esp + 0x1c]
call fcn.06013920
mov ecx, dword [0x6022278]
push esi
push str.Eboot_GetDLLInfo__:_Build_Date:___100s
push ecx
push eax
mov dword [esp + 0x4c], 2
call fcn.060139a0
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.06013990
mov esi, dword [0x6022264]
test esi, esi
jne 0x6010d70
mov esi, 0x6019168
push 0x6022228
push 0
push 0x53
push str.E:_svneboot_dll_trunkeboot_debug.cpp
lea ecx, [esp + 0x1c]
call fcn.06013920
mov edx, dword [0x6022278]
push esi
push str.Eboot_GetDLLInfo__:_LoadPath__100s
push edx
push eax
mov dword [esp + 0x4c], 3
call fcn.060139a0
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.06013990
push 0x6022228
push 0
push 0x54
push str.E:_svneboot_dll_trunkeboot_debug.cpp
lea ecx, [esp + 0x30]
call fcn.06013920
mov ecx, dword [0x6022278]
push 0x6020ed0
push ecx
push eax
mov dword [esp + 0x48], 4
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edi
call fcn.06013990
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x60115b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x601828b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov al, byte [esp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi + 4], 0x4b0
mov byte [esi + 8], al
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x38], ecx
mov ecx, esi
mov dword [esi], fcn.060117f0
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], edx
call fcn.060117c0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x6011af0
Capabilities:
Read file on windows

Disassembly:
call fcn.06011e60
test eax, eax
je 0x6011b18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
ret 0x14
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push 0x186a0
push ecx
push edx
push eax
call fcn.06017880
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ecx], eax
mov eax, edx
ret 0x14

Function at 0x6011b50
Capabilities:
Write file on windows

Disassembly:
call fcn.06011e60
test eax, eax
je 0x6011b78
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 0x14
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push ecx
push edx
push eax
call fcn.060177f0
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ecx], eax
mov eax, edx
ret 0x14

Function at 0x6011e60
Capabilities:
Check os version

Disassembly:
sub esp, 0xa4
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x6011ebe
mov dword [esp], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [esp + 4], 0x14f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 4]
push str.GetVersionEx_error__d
push ecx
call fcn.060010c0
add esp, 0xc
xor eax, eax
add esp, 0xa4
ret
cmp dword [esp + 0xc], 5
jne 0x6011ed2
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
je 0x6011ed4
xor eax, eax
add esp, 0xa4
ret
Function at 0x6012240
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
mov eax, 0x6019168
je 0x601227d
mov eax, esi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi + 0x1c], eax
jne 0x6012359
lea eax, [ebp - 0x1c]
push str.Create_file_failed..
push eax
mov dword [edi + 0x28], 0x4e20
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [ebp - 0x18], 0x1da
call fcn.060010c0
add esp, 8
cmp esi, ebx
je 0x60122f5
mov al, byte [esi - 1]
cmp al, bl
je 0x60122eb
dec al
mov byte [esi - 1], al
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
dec esi
push esi
call fcn.06017907
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, ebx
mov dword [edi + 0x24], eax
je 0x6012380
mov al, byte [esi - 1]
cmp al, bl
je 0x6012376
dec al
mov byte [esi - 1], al
jmp 0x6012380
dec esi
push esi
call fcn.06017907
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x6012600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [ecx + 0x18]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6012681
cmp edi, 8
jne 0x6012681
push esi
lea edx, [ebp - 0x1c]
push str.Send__s_OK
push edx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [ebp - 0x18], 0x23a
call fcn.060010c0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x24]
push str.Could_not_write__s_to_WM__
push eax
mov dword [ebp - 0x24], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [ebp - 0x20], 0x235
call fcn.060010c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6012fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60183b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
push 0
push edi
push esi
push eax
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x601301f
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [ebp - 0x14], 0x341
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x18]
push str.WriteFile_Error___Error_Code__d
push edx
call fcn.060010c0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
cmp esi, eax
je 0x6013063
push eax
push esi
lea eax, [ebp - 0x20]
push str.WriteFile_Error___should_write__d_bytes__write__d_bytes_actually
push eax
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunkFT_Download.cpp
mov dword [ebp - 0x1c], 0x347
call fcn.060010c0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x60139a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
test esi, esi
push edi
jne 0x60139b4
mov esi, 0x60222b0
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x30], eax
call edi
push 0x6022298
call edi
mov al, byte [esi + 0x35]
test al, al
je 0x6013b79
mov ebx, dword [esp + 0x28]
mov cl, byte [esi + 0x36]
mov al, byte [ebx + 0xc]
cmp al, cl
jb 0x6013b79
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str._s___s:_d_
push 0x80000
push 0x6022300
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
test eax, eax
jl 0x6013a18
cmp eax, 0x80000
jne 0x6013a1f
mov byte [0x60a22ff], 0
lea ecx, [esp + 0x34]
push ecx
push 0x6022300
push 0x80000
push 0x60a2300
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
test eax, eax
jl 0x6013a47
cmp eax, 0x80000
jne 0x6013a4e
mov byte [0x61222ff], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x10]
mov ebp, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x6013af8
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x6013a80
mov ecx, 0x6019168
mov edx, dword [ebx + 0x10]
push 0x60a2300
push edx
mov edx, dword [esp + 0x24]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x32]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x32]
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x3a]
sub ecx, 0x7d0
push ecx
mov ecx, dword [esp + 0x3a]
and edx, 0xffff
and ecx, 0xffff
push edx
push ecx
push str._02d__02d__02d__02d:_02d:_02d._03d__s__lu___lu_:_s__s_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x3c
mov al, byte [esi + 0x34]
test al, al
je 0x6013b79
mov esi, dword [esi + 4]
mov eax, 0x6019168
test esi, esi
je 0x6013b0d
mov eax, esi
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x1e]
push 0x60a2300
push ecx
mov ecx, dword [esp + 0x22]
push ebp
push edi
push eax
mov eax, dword [esp + 0x30]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x30]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
push str._02d:_02d:_02d._03d__s__lu___lu_:_s__s_n
push 0x80000
push 0x6022300
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x30
test eax, eax
jl 0x6013b67
cmp eax, 0x80000
jne 0x6013b6e
mov byte [0x60a22ff], 0
push 0x6022300
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x6022298
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x6014200
Capabilities:
Stop service

Disassembly:
sub esp, 0x24
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x6014249
mov dword [esp + 4], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [esp + 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 8]
push str.open_service_manager_failed:_win_error_code:__d
push eax
call fcn.060010c0
add esp, 0xc
xor eax, eax
pop edi
add esp, 0x24
ret
push esi
push 0xf01ff
push str.WcesComm
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x60142be
lea ecx, [esp + 8]
push str.OpenService_success
push ecx
mov dword [esp + 0x10], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [esp + 0x14], 0x34
call fcn.060010c0
add esp, 8
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x60142be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xc]
push str.stop_service_failed:_win_error_code:__d
push eax
mov dword [esp + 0x14], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [esp + 0x18], 0x38
call fcn.060010c0
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x24
ret

Function at 0x6014930
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x60184d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push 0x6022228
push 0
push 0x183
push str.E:_svneboot_dll_trunkMP_Download.cpp
lea ecx, [esp + 0x14]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.Wait_to_connect_with_platform...
push ecx
push eax
mov dword [esp + 0x40], 0
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 4]
mov dword [esp + 0x34], 0xffffffff
call fcn.06013990
mov eax, dword [esp + 0x3c]
lea edx, [esp]
push 0
push edx
push 7
push str.FTREADY
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6014a0d
cmp dword [esp], 7
jne 0x6014a0d
push 0x6022228
push 0
push 0x18b
push str.E:_svneboot_dll_trunkMP_Download.cpp
lea ecx, [esp + 0x28]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.Wait_to_connect_with_platform_Fail...
push ecx
push eax
mov dword [esp + 0x40], 1
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.06013990
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 0x2c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x6014fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 0x38]
mov ebx, str.E:_svneboot_dll_trunkMP_Download.cpp
push eax
push str._COM_d__Wait_all_thread_finish.
push ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x266
call fcn.060010c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
push 0xc8
call edi
mov ecx, esi
call fcn.060144f0
mov edx, dword [esi + 0x48]
push edx
call dword [esi + 0x5c]
test al, al
je 0x6015027
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x24]
push eax
push str._COM_d__Exit_is_permitted__
push ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x270
call fcn.060010c0
mov eax, dword [str.REBTREBT]
mov ecx, dword [esi + 0x20]
add esp, 0xc
lea edx, [ebp - 0x18]
push 0
push edx
push 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x60150cd
cmp dword [ebp - 0x18], 8
jne 0x60150cd
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x27b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x38]
push eax
push edx
lea eax, [ebp - 0x24]
push str._COM_d__Send_reboot_pattern_error__error_Code_:__d__
push eax
call fcn.060010c0
mov cl, byte [ebp - 0x11]
add esp, 0x10
lea edx, [ebp - 0x38]
xor eax, eax
push 0x6019338
push edx
mov byte [ebp - 0x34], cl
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x24]
push eax
push str._COM_d__Send_reboot_pattern__
push ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x275
call fcn.060010c0
mov edx, dword [esi + 0x4c]
add esp, 0xc
push edx
call edi
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x38]
push eax
push ecx
lea edx, [ebp - 0x24]
push str._COM_d__Sleep__d_ms_
push edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x277
call fcn.060010c0
mov eax, dword [esi + 0x38]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
push str._COM_d___All_threads_download_OK__
push ecx
mov dword [ebp - 0x20], 0x27f
call fcn.060010c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6015520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWCESCOMM.EXE
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x60156fd
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x130]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x14]
push 0x6022228
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x60156fd
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x60156fd
mov edi, 0x6021f8c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, dword [ebp + 8]
push 1
not ecx
dec ecx
mov esi, ecx
mov ecx, ebx
push esi
mov dword [ebp - 0x18], esi
call fcn.06002e00
test al, al
je 0x60155ec
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x6021f8c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
mov byte [eax], 0
lea edi, [ebp - 0x130]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x6019174]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x6015612
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x6015658
mov eax, dword [ebx + 8]
push 0
add eax, esi
mov ecx, ebx
push eax
mov dword [ebp + 8], eax
call fcn.06002e00
test al, al
je 0x6015658
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 4]
add edi, ecx
mov ecx, esi
mov edx, ecx
lea esi, [ebp - 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
mov byte [eax], 0
mov edi, 0x6021f8c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x6019174]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x601567d
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x60156c1
mov eax, dword [ebx + 8]
push 0
add eax, esi
mov ecx, ebx
push eax
mov dword [ebp + 8], eax
call fcn.06002e00
test al, al
je 0x60156c1
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, esi
add edi, eax
mov eax, ecx
mov esi, 0x6021f8c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x343f19f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x343f6b04]
jne 0x34415a46
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x34419cd8], eax
mov dword [0x34419cd4], ecx
mov dword [0x34419cd0], edx
mov dword [0x34419ccc], ebx
mov dword [0x34419cc8], esi
mov dword [0x34419cc4], edi
mov word [0x34419cf0], ss
mov word [0x34419ce4], cs
mov word [0x34419cc0], ds
mov word [0x34419cbc], es
mov word [0x34419cb8], fs
mov word [0x34419cb4], gs
pushfd
pop dword [0x34419ce8]
mov eax, dword [ebp]
mov dword [0x34419cdc], eax
mov eax, dword [ebp + 4]
mov dword [0x34419ce0], eax
lea eax, [ebp + 8]
mov dword [0x34419cec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x34419c28], 0x10001
mov eax, dword [0x34419ce0]
mov dword [0x34419bdc], eax
mov dword [0x34419bd0], 0xc0000409
mov dword [0x34419bd4], 1
mov eax, dword [0x343f6b04]
mov dword [ebp - 0x328], eax
mov eax, dword [0x34417ca0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x34419c20], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34415b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x34419c20], 0
jne 0x34415b36
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x3440e068
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x3440e077
pop dword [ebp - 8]
mov eax, 0x38968f56
add eax, 0xfbaa5121
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x8995bcda
add dword [ebp - 0x18], 0xc4bc8871
mov dword [ebp - 0x14], 0x9dfff412
add dword [ebp - 0x14], 0x94335833
mov dword [ebp - 0x10], 0xa9b14f9
add dword [ebp - 0x10], 0x41b12f35
mov dword [ebp - 0xc], 0x7722d45c
sub dword [ebp - 0xc], 0x7722d45c
lea eax, [ebp - 0x18]
push eax
mov eax, 0xc873ce88
add eax, 0x6bcb42a4
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xb7bdaf86
add dword [ebp - 0x18], 0xbcb4b9d0
mov dword [ebp - 0x14], 0xb2d7c83b
sub dword [ebp - 0x14], 0x716b66c6
mov dword [ebp - 0x10], 0xc60a0e8
add dword [ebp - 0x10], 0x570ecb84
mov dword [ebp - 0xc], 0x105d8551
sub dword [ebp - 0xc], 0x105d8551
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xa8811483
sub eax, 0x7442035b
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3f015
push 0
call eax
mov ecx, 0xdf75a0f7
sub ecx, 0xdf75590d
mov ebx, eax
mov edx, 0x3441d000
add edx, dword [ebp - 8]
mov edi, 0xb1f30307
add edi, 0xaef3cfac
xor dword [ebp - 4], edi
mov esi, dword [edx]
mov dword [ebp - 4], 0x2e8ae58e
sub esi, edi
add dword [ebp - 4], eax
mov dword [ebx], esi
add dword [ebp - 4], 0x76c3de0b
add ebx, 0x809deac0
add ebx, 0x7f621544
add edx, 4
loop 0x3440e193
add eax, 0x442756ce
add eax, 0xbbd9bbad
mov ebx, eax
add eax, 0xc4b7613c
add eax, 0x3b489ec9
mov ecx, 0x343f0000
add ecx, dword [ebp - 8]
call ebx
leave
ret