joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4015c8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x539008]
je 0x4015e3
inc edi
cmp edi, 0x17
jb 0x4015d4
cmp edi, 0x17
jae 0x401763
push ebp
push 3
call fcn.004039a0
cmp eax, 1
pop ecx
je 0x40172f
push 3
call fcn.004039a0
test eax, eax
pop ecx
jne 0x401617
cmp dword [section..data], 1
je 0x40172f
cmp ebx, 0xfc
je 0x401762
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x557fb8
push ebp
call fcn.0040393b
add esp, 0xc
test eax, eax
je 0x40164d
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push 0x104
mov esi, 0x557fd1
push esi
push 0
mov byte [0x5580d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401691
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040393b
add esp, 0xc
test eax, eax
je 0x401691
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402b95
add esp, 0x14
push esi
call fcn.004038b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4016d6
push esi
call fcn.004038b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5582cc
push 0x52d9d4
sub ecx, eax
push ecx
push eax
call fcn.004037fa
add esp, 0x14
test eax, eax
je 0x4016d6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
jmp 0x4016d8
xor esi, esi
push 0x52d9d0
push ebx
push ebp
call fcn.00403789
add esp, 0xc
test eax, eax
je 0x4016f8
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push dword [edi*8 + 0x53900c]
push ebx
push ebp
call fcn.00403789
add esp, 0xc
test eax, eax
je 0x40171a
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004035cc
add esp, 0xc
jmp 0x401762
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x401762
cmp ebp, 0xffffffff
je 0x401762
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x53900c]
push dword [esi]
call fcn.004038b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4035cc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004020d6
xor ebx, ebx
cmp dword [0x558578], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4036a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x403782
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x52db00
push edi
call esi
cmp eax, ebx
je 0x403782
push eax
call fcn.00402068
mov dword [esp], 0x52daf0
push edi
mov dword [0x558578], eax
call esi
push eax
call fcn.00402068
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55857c], eax
call esi
push eax
call fcn.00402068
mov dword [0x558580], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401319
test eax, eax
pop ecx
pop ecx
je 0x403670
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b95
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4036a2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402068
cmp eax, ebx
pop ecx
mov dword [0x558588], eax
je 0x4036a2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402068
pop ecx
mov dword [0x558584], eax
mov eax, dword [0x558584]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x403727
cmp dword [0x558588], ecx
je 0x403727
push eax
call fcn.004020df
push dword [0x558588]
mov esi, eax
call fcn.004020df
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x403727
cmp edi, ebx
je 0x403727
call esi
cmp eax, ebx
je 0x4036f4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4036f4
test byte [ebp - 0x18], 1
jne 0x403727
lea eax, [ebp - 0x10]
push eax
call fcn.0040138c
test eax, eax
pop ecx
je 0x40370f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b95
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40371e
or dword [ebp + 0x10], 0x200000
jmp 0x403762
or dword [ebp + 0x10], 0x40000
jmp 0x403762
mov eax, dword [0x55857c]
cmp eax, dword [ebp - 8]
je 0x403762
push eax
call fcn.004020df
cmp eax, ebx
pop ecx
je 0x403762
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x403762
mov eax, dword [0x558580]
cmp eax, dword [ebp - 8]
je 0x403762
push eax
call fcn.004020df
cmp eax, ebx
pop ecx
je 0x403762
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x558578]
call fcn.004020df
cmp eax, ebx
pop ecx
je 0x403782
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403784
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40553d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x539a68]
jne 0x405547
repz ret
jmp fcn.00409315
Function at 0x40baa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 1
jne 0x40badd
call fcn.0040bb70
test eax, eax
je 0x40badd
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ce70
add esp, 8
jmp 0x40bb63
push 0x539cc0
push 0
call fcn.00460160
add esp, 8
lea edx, [ebp - 4]
push edx
call fcn.00460e30
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40bb2f
push str.LMGRD___initialization_error__exiting._n
call fcn.00443165
add eax, 0x40
push eax
call fcn.00443016
add esp, 8
call fcn.00443165
add eax, 0x40
push eax
call fcn.00442fba
add esp, 4
push 1
call fcn.0040153c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040c4b0
add esp, 8
cmp dword [ebp - 8], 0
je 0x40bb5c
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004611f0
add esp, 8
mov dword [ebp - 8], 0
call fcn.00460380
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40d5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40d686
cmp dword [ebp + 0xc], 0
je 0x40d686
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40d686
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.00405e7b
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40d686
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d686
mov edx, dword [ebp - 8]
push edx
call fcn.004039e6
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40e520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [0x558aa8], 0
je 0x40e6b4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [0x558c60]
mov dword [ebp - 4], edx
mov dword [0x558c60], 0
mov eax, dword [ebp - 8]
push eax
call fcn.0040e6c0
add esp, 4
test eax, eax
jne 0x40e5a0
push 0
push 1
call fcn.004542f0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
push str.daemon_process__s_pid__d_exited_n
call fcn.00454520
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
jmp 0x40e6ab
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Still_trying_to_kill_daemon__s_pid__d_n
call fcn.00454520
add esp, 0xc
mov dword [ebp - 0x10], 5
mov dword [ebp - 0xc], 0
call fcn.00402cf0
mov dword [eax], 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
call fcn.00466140
add esp, 0x14
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x40e6ab
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0xffffffff
je 0x40e6ab
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Terminating__s_pid__d_n
call fcn.00454520
add esp, 0xc
push 0x25
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0
call fcn.00402cf0
mov dword [eax], 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
call fcn.00466140
add esp, 0x14
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x40e6ab
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0xffffffff
je 0x40e6ab
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.lmgrd_cant_kill__s_pid__d._Trying_to_restart_anyway_n
call fcn.00454520
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [0x558c60], edx
mov esp, ebp
pop ebp
ret
Function at 0x412e70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 1
call fcn.004542f0
add esp, 8
push 0x53bbb0
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str.usage:_lmgrd___2__p____z____c_license_file_list__n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str._______________v____l___debug_log_path___local__n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str._______________x_lmdownlmremove____help__n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push 0x53bc48
call fcn.00454520
add esp, 4
push 1
call fcn.0040153c
pop ebp
ret
Function at 0x413200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
push 0
push 1
call fcn.004542f0
add esp, 8
push str.Detecting_other_license_server_manager__lmgrd__processes..._n
call fcn.00454520
add esp, 4
push 0
mov eax, dword [0x558b28]
push eax
call fcn.00470170
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [0x5589cc]
mov dword [ebp - 0x18], ecx
jmp 0x41325e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4133a4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
jmp 0x413278
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41337a
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x41332b
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41332b
lea edx, [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4132e3
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
cmp eax, 0x20
je 0x4132e3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x4132b0
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
lea ecx, [ebp - 0x28]
test ecx, ecx
je 0x413313
cmp dword [ebp - 0x18], 0
je 0x413313
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x413313
mov dword [ebp - 4], 1
jmp 0x41332b
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
test edx, edx
je 0x413326
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x413292
cmp dword [ebp - 4], 0
jne 0x413336
jmp 0x413270
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0
je 0x413348
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1c], 0
jne 0x41334f
jmp 0x413270
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp - 0x2c]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push str._s_already_running__s_n
call fcn.00454520
add esp, 0xc
jmp 0x41337a
cmp dword [ebp - 4], 0
je 0x413398
cmp dword [ebp - 0x2c], 0
je 0x413398
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0
je 0x413398
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1c], 0
jne 0x41339f
mov dword [ebp - 0x10], 1
jmp 0x413255
cmp dword [ebp - 0xc], 0
je 0x4133bd
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.00470de0
add esp, 8
cmp dword [0x5589cc], 0
je 0x4133fa
cmp dword [ebp - 0x10], 0
jne 0x4133fa
push 0
push 1
call fcn.004542f0
add esp, 8
push str.The_license_server_manager__lmgrd__is_already_serving_all_vendors__exiting._n
call fcn.00454520
add esp, 4
mov eax, dword [0x558b28]
push eax
call fcn.0046f580
add esp, 4
push 2
call fcn.0040153c
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x413670
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3468
call fcn.0040a530
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
push 0x53be1c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.0046e6f0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4136d3
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
push edx
push str.Error_opening_finder_config._file___s__n
call fcn.00454520
add esp, 8
push 1
call fcn.0040153c
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00443e5c
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.00443d67
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00405e7b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41372b
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
push str.Configuration_file_too_big._malloc__d__failed_n
call fcn.00454520
add esp, 8
push 1
call fcn.0040153c
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00443e5c
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.00443bb4
add esp, 0x10
push 0x434
push 0
lea edx, [ebp - 0x1458]
push edx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x1454], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x144c], eax
mov ecx, dword [ebp - 0x144c]
mov dword [ebp - 0x1450], ecx
push 0
lea edx, [ebp - 0x1458]
push edx
push 0x1000
lea eax, [ebp - 0x2460]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.00471240
add esp, 0x14
test eax, eax
je 0x41381c
lea edx, [ebp - 0x1018]
push edx
lea eax, [ebp - 0x3468]
push eax
push str.DATA__s__s
lea ecx, [ebp - 0x2460]
push ecx
call fcn.004436a0
add esp, 0x10
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 1
jle 0x413817
lea edx, [ebp - 0x1018]
push edx
call fcn.004038b0
add esp, 4
add eax, 1
push eax
call fcn.00405e7b
add esp, 4
mov dword [0x558ab8], eax
lea eax, [ebp - 0x1018]
push eax
mov ecx, dword [0x558ab8]
push ecx
call fcn.00443310
add esp, 8
jmp 0x41381c
jmp 0x413786
mov edx, dword [ebp - 4]
push edx
call fcn.00462990
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0044389c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x41d6f0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x55c5a8]
push eax
call fcn.0040b89b
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jmp 0x41d722
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41d739
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x3a
je 0x41d739
jmp 0x41d719
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jne 0x41d757
mov eax, dword [ebp - 0xc]
push eax
call fcn.004039e6
add esp, 4
or eax, 0xffffffff
jmp 0x41d83a
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040a3d7
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
push edx
call fcn.004039e6
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x41d79b
or eax, 0xffffffff
jmp 0x41d83a
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004057a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x41d7f9
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 2
mov dx, word [ebp - 4]
push edx
call sub.WSOCK32.dll_htons
mov ecx, dword [ebp - 0x30]
mov word [ecx + 2], ax
push 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x30]
add edx, 4
push edx
call fcn.00404340
add esp, 0xc
mov dword [ebp - 0x14], 0x10
jmp 0x41d7fe
or eax, 0xffffffff
jmp 0x41d83a
push 0
push 1
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 8]
push ecx
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41d81d
or eax, 0xffffffff
jmp 0x41d83a
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x41d837
or eax, 0xffffffff
jmp 0x41d83a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret

Function at 0x41da60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x41d850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x41dcd0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x54e4f4
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
push str.SELECT__FROM_Win32_BaseBoard
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41dd3b
jmp 0x41dde4
cmp dword [ebp - 4], 0
je 0x41dde4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41dde4
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Product
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x41ddd1
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x41ddd1
cmp dword [ebp - 0x28], 0
je 0x41ddd1
mov eax, dword [ebp - 0x28]
push eax
push str.Virtual_Machine
call fcn.00447c45
add esp, 8
test eax, eax
je 0x41ddc7
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x41dd53
cmp dword [ebp - 4], 0
je 0x41ddf8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41de20
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x54e568
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_BIOS
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x41de8b
jmp 0x41df3d
cmp dword [ebp - 4], 0
je 0x41df3d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41df3d
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x41df2a
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x41df2a
cmp dword [ebp - 0x28], 0
je 0x41df2a
push str.VMware
mov eax, dword [ebp - 0x28]
push eax
call fcn.00447c45
add esp, 8
test eax, eax
je 0x41df19
mov dword [ebp - 0xc], 1
jmp 0x41df20
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x41dea3
cmp dword [ebp - 4], 0
je 0x41df51
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret