joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572da0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edx, edx
mov dword [ebp - 4], edx
cmp byte [esi + 0x2c], dl
jne 0x4b27d1
mov dword [ebp - 0x18], edx
mov byte [esi + 0x2c], 1
lea eax, [ebp - 0x18]
push eax
push edx
push esi
push 0x4b2840
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
xor edx, edx
test eax, eax
setne dl
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, edx
jmp 0x4b2815
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret

Function at 0x4c38c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574b60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [0x641ca7], 0
je 0x4c3931
cmp byte [0x641ca8], 0
je 0x4c3931
cmp byte [esi], 0
jne 0x4c3931
mov dword [ebp - 0x18], 0
mov byte [esi], 1
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x4c3a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret

Function at 0x4c40a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574c30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [0x641ca7], 0
je 0x4c4115
cmp byte [0x641ca8], 0
je 0x4c4115
cmp byte [esi + 0x1c], 0
jne 0x4c4115
mov dword [ebp - 0x18], 0
mov byte [esi + 0x1c], 1
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x4c42b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
jmp 0x4c4148
xor al, al
jmp 0x4c414a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x4cb950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x15ac], 0
jne 0x4cb9aa
lea eax, [ebp - 8]
mov byte [esi + 0x15ac], 1
push eax
push 0
push esi
push 0x4cb9c0
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x15b0], eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x4cd1c0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575f01
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 1
push 0
push 0
push dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0049a610
mov byte [ebp - 4], 2
lea edi, [esi + 0x26c]
lea esi, [edi + 0x34]
mov dword [ebp - 0x28], edi
push 0xa
mov ecx, esi
mov dword [edi], 0x593194
mov dword [ebp - 0x18], esi
call dword [0x586ad0]
mov byte [ebp - 4], 3
mov dword [esi], 0x58aff4
mov byte [ebp - 4], 4
mov dword [esi], 0x593180
mov byte [ebp - 4], 5
lea eax, [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x50]
push eax
call esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov dword [edi], 0x5ce844
mov edi, eax
mov dword [eax], 0x5ce854
lea eax, [edi + 0x304]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [edi + 0x2e4]
push eax
mov byte [edi + 0x78], 0
mov byte [edi + 0x2d4], 0
mov dword [edi + 0x2d8], 0
mov byte [edi + 0x2dc], 0
mov dword [edi + 0x2e0], 0
call esi
lea eax, [edi + 0x2f4]
push eax
call esi
cmp dword [ebp + 0xc], 0
je 0x4cd339
cmp byte [0x641c59], 0
je 0x4cd339
cmp byte [edi + 0x2d4], 0
jne 0x4cd339
lea eax, [ebp - 0x14]
mov byte [edi + 0x2d4], 1
push eax
push 0
push edi
push 0x4cd500
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2d8], eax
push 0x78
call dword [sym.imp.mfc140u.dll_operator]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x4cd368
push 0x78
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push edi
call fcn.004cca40
jmp 0x4cd36a
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, edi
push eax
call fcn.004bcb30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 8
Function at 0x4cd4a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x2d4], 0
jne 0x4cd4e6
lea eax, [ebp - 8]
mov byte [esi + 0x2d4], 1
push eax
push 0
push esi
push 0x4cd500
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2d8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055c86d
mov esp, ebp
pop ebp
ret

Function at 0x4cd740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0x2dc], 0
jne 0x4cd7a8
push ebx
push esi
lea eax, [ebp - 8]
mov byte [edi + 0x2dc], 1
push eax
push 0
push edi
push 0x4cd7c0
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [edi + 0x2e0], eax
cmp byte [edi + 0x2dc], 0
je 0x4cd7a6
push 0x32
call ebx
inc esi
cmp esi, 0xc8
jl 0x4cd790
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x4d9bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x640040]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4d9830
push 0
push 0
mov byte [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x4d9c40
mov eax, dword [0x641a88]
add eax, 0x32c
push str.Failed_to_start_reading_tags_from_device_n
push eax
call fcn.004ec040
add esp, 8
mov edx, 0x124f80
mov ecx, esi
call fcn.0050eb40
mov al, byte [esi + 0x30]
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d9d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x640040]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esi + 0x2c], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 0x38], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x4d9deb
mov eax, dword [0x641a88]
push 0x1209
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusClone.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x30], 0
jne 0x4d9e16
mov eax, dword [0x641a88]
push 0x120a
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusClone.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
cmp dword [esi + 0x2c], 0
jne 0x4d9e3e
mov eax, dword [0x641a88]
push 0x120b
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusClone.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push esi
push 0x4d9c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x4d9e7c
mov eax, dword [0x641a88]
add eax, 0x32c
push str.Failed_to_start_reading_tags_from_device_n
push eax
call fcn.004ec040
add esp, 8
mov edx, 0x493e0
lea ecx, [esi + 4]
call fcn.0050eb40
mov al, byte [esi + 0x30]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4dbb20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x641a88]
push ebx
push esi
push edi
add eax, 0x610
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4dbb4a
mov edi, dword [ebx + 0xac]
mov esi, dword [ebp + 8]
push str.Host_Computer_Status_information
push esi
push edi
push ebx
call fcn.004ec4a0
mov ecx, dword [0x641a88]
mov eax, dword [ecx + 0x618]
shr eax, 0xa
push eax
mov eax, dword [ecx + 0x61c]
shr eax, 0xa
push eax
push str.Physical_memory___010ld____010ld__kbytes_
push esi
push edi
push ebx
call fcn.004ec4a0
mov ecx, dword [0x641a88]
mov eax, dword [ecx + 0x628]
shr eax, 0xa
push eax
mov eax, dword [ecx + 0x62c]
shr eax, 0xa
push eax
push str.Virtual_memory____010ld____010ld__kbytes_
push esi
push edi
push ebx
call fcn.004ec4a0
mov ecx, dword [0x641a88]
add esp, 0x40
mov eax, dword [ecx + 0x620]
shr eax, 0xa
push eax
mov eax, dword [ecx + 0x624]
shr eax, 0xa
push eax
push str.PageFile_Size_____010ld____010ld__kbytes_
push esi
push edi
push ebx
call fcn.004ec4a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4dbbe0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577570
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x640040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
wait
mov bl, byte [ebp + 0xc]
cmp dword [ebp + 8], 0
jne 0x4dbc24
test bl, bl
jne 0x4dbcc8
mov eax, dword [0x641a88]
add eax, 0x610
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [0x641a88]
mov edx, dword [eax + 0x624]
mov eax, dword [eax + 0x61c]
mov dword [ebp + 0xc], eax
mov ecx, eax
shr ecx, 0x14
mov eax, edx
shr eax, 0x14
add ecx, eax
cmp ecx, 0x10
jae 0x4dbcc1
lea edi, [esi + 0xec]
test bl, bl
jne 0x4dbc68
cmp byte [edi], bl
jne 0x4dbcbc
mov eax, dword [ebp + 0xc]
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x606660]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x606418]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str.WARNING___Low_computer_memory___only__5.2f_MB_available
push 0x3eb
mov ebx, dword [ebp + 8]
push ebx
push esi
call fcn.004ec4a0
add esp, 0x18
push ebx
push 0x3ec
mov ecx, esi
call fcn.004dbb20
mov byte [edi], 1
jmp 0x4dbcc8
mov byte [esi + 0xec], 0
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4eda60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x60], 0
jne 0x4edb38
mov eax, dword [0x641b70]
test eax, eax
je 0x4eda93
cmp byte [eax + 0x102], 0
jne 0x4edb38
cmp dword [esi + 0x68], 0
jne 0x4edaff
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x68], eax
test eax, eax
jne 0x4edad0
mov eax, dword [0x641a88]
push 0x1f70
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4edaff
mov eax, dword [0x641a88]
push 0x1f71
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push esi
push 0x4edc50
push 0
push 0
mov byte [esi + 0x60], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4edb38
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x4f68b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x640040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x18], edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [esi + 0x34]
jge 0x4f6960
lea ecx, [esi + 0x2c]
push ebx
call fcn.0047d510
cmp eax, dword [ebp - 0x14]
jne 0x4f695d
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
push eax
push dword [esi + 0x34]
lea ecx, [esi + 0x2c]
mov edi, dword [sym.imp.mfc140u.dll_Ordinal_13254]
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi + 0x40]
push eax
push dword [ecx + 8]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc ebx
jmp 0x4f68fe
cmp dword [esi + 0x18], edi
jle 0x4f6984
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x24], eax
jne 0x4f6984
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
push eax
lea ecx, [esi + 0x2c]
push dword [ecx + 8]
jmp 0x4f6929
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x18]
test eax, eax
jg 0x4f699d
cmp dword [esi + 0x1c], 0
jle 0x4f69e3
cmp byte [ebp + 8], 0
je 0x4f69df
call ecx
test edi, edi
jne 0x4f69ad
mov edi, eax
jmp 0x4f69c8
mov ecx, eax
sub ecx, edi
cmp ecx, 0xea60
jbe 0x4f69c1
push esi
call ebx
jmp 0x4f6a4e
xor ecx, ecx
cmp eax, edi
cmovb edi, ecx
mov dword [ebp - 0x18], edi
push esi
call ebx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4f698a
test eax, eax
jg 0x4f69b9
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
push eax
lea ecx, [esi + 0x2c]
push dword [ecx + 8]
mov edi, dword [sym.imp.mfc140u.dll_Ordinal_13254]
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi + 0x40]
push eax
push dword [ecx + 8]
call edi
push esi
call ebx
jmp 0x4f6947
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f89d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x640040]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x4f8b2f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4f8a24
mov eax, dword [0x641a88]
push 0x42
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusdcmhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4f8a50
mov eax, dword [0x641a88]
push 0x43
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusdcmhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4f8a84
mov eax, dword [0x641a88]
push 0x49
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusdcmhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4f8ab0
mov eax, dword [0x641a88]
push 0x4a
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusdcmhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push esi
push 0x4f8c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x4f8b05
mov eax, dword [0x641a88]
push str.Failed_to_start_IDM_handler_thread
add eax, 0x32c
push 0x3e9
push eax
call fcn.004ec2c0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4f8b2f
mov eax, dword [0x641a88]
push str.Unable_to_set_IDM_Handler_thread_priority
add eax, 0x32c
push 0x3e9
push eax
call fcn.004ec2c0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov al, 1
pop esi
xor ecx, esp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x4ffdc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4ffe71
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
movlpd qword [ebp - 0x244], xmm0
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
push eax
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
movlpd qword [ebp - 0x218], xmm0
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x234], str._UPDATEDTMDEVICECATEGORIESASADMINISTRATOR
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4ffe85
push 0
push str.IDMManager_Registration_Error
push str.Permissions_Error_n_nUnable_to_update_registry_on_this_computer_due_to_Windows_Administration_privileges_being_restricted_nThis_is_normal_for_Windows_7_and_later_n_nPlease_try_the_following:_n___Copy_to_the_computers_local_disk_and_try_again_n___Please_launch_using__Run_as_administrator__and_try_again
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret
Function at 0x5015e0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae9c
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x440], edi
push 0x59fe70
mov dword [ebp - 0x43c], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x410]
push str.Unknown
push 0x3ff
push eax
mov dword [ebp - 0x43c], 1
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x3ff
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x5017b0
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
mov dword [ebp - 4], 1
mov ecx, edi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xorps xmm0, xmm0
mov dword [ebp - 0x434], 0
movlpd qword [ebp - 0x420], xmm0
xor esi, esi
movlpd qword [ebp - 0x418], xmm0
movaps xmm0, xmmword [0x606650]
movups xmmword [ebp - 0x430], xmm0
nop word [eax + eax]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push 0
push dword [eax]
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp ebx, 0x2afa
jne 0x501736
mov eax, esi
inc esi
cmp eax, 2
jl 0x5016e0
jmp 0x50173a
test ebx, ebx
je 0x50175e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [0x641a88]
push str.FindHostName_failed:_Error_0x_08X
add eax, 0x32c
push 0x3e9
push eax
call fcn.004ec2c0
add esp, 0x10
mov esi, dword [ebp - 0x434]
test esi, esi
je 0x5017a9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x50179c
push eax
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov dword [ebp - 4], 3
mov ecx, edi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x501768
mov esi, dword [ebp - 0x434]
push esi
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 4