joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405456
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x14], 0x10
push edi
mov edi, ecx
jb 0x40546b
mov eax, dword [esi]
push 0x4b29e8
push eax
call fcn.0040d891
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x405489
or eax, 0xffffffff
jmp 0x4055a3
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x14], ebx
jb 0x405494
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
call fcn.0047ae47
mov esi, dword [ebp - 4]
and esi, 0x803fffff
pop ecx
pop ecx
jns 0x4054b3
dec esi
or esi, 0xffc00000
inc esi
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 0x10
jb 0x4054be
mov eax, dword [eax]
push eax
lea eax, [edi + 9]
push eax
call fcn.0040cc20
pop ecx
pop ecx
test eax, eax
jne 0x4054d1
mov ebx, dword [edi + 4]
mov eax, dword [ebp - 4]
cdq
and edx, 0x3fffff
add eax, edx
sar eax, 0x16
test esi, esi
je 0x4054e5
inc eax
mov esi, 0x400000
push esi
mov dword [ebp - 0xc], eax
call fcn.0040ca29
mov edi, eax
pop ecx
test edi, edi
jne 0x405509
push str._read_and_send_log__malloc_failed.
call fcn.004026e0
jmp 0x40558b
push esi
push 0
push edi
call fcn.0040c970
and dword [ebp - 8], 0
add esp, 0xc
cmp dword [ebp - 0xc], 0
jbe 0x40558c
push 0
push ebx
push dword [ebp - 0x10]
call fcn.0040d759
add esp, 0xc
test eax, eax
jne 0x405572
push dword [ebp - 0x10]
push esi
push 1
push edi
call fcn.0040dec2
push dword [ebp + 0x14]
add ebx, eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
call fcn.00405267
add esp, 0x2c
test eax, eax
jne 0x40557d
push esi
push eax
push edi
call fcn.0040c970
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x40551f
jmp 0x40558c
or dword [ebp - 0x14], 0xffffffff
push str._read_and_send_log__INVALID_SET_FILE_POINTER.
jmp 0x4054ff
push str._read_and_send_log__send_log_failed.
call fcn.004026e0
or dword [ebp - 0x14], 0xffffffff
pop ecx
push dword [ebp - 0x10]
call fcn.0040d0ab
pop ecx
test edi, edi
je 0x4055a0
push edi
call fcn.0040c932
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4092a3
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.004176ca
add esp, 0x10
push str.SSSyncService
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edi, eax
cmp edi, esi
je 0x409305
push esi
lea eax, [ebp - 0x104]
push eax
push esi
push 1
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040c660
leave
ret
Function at 0x409387
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x188], eax
call fcn.00409266
test eax, eax
je 0x4093b2
xor eax, eax
jmp 0x4094ac
push ebx
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
jne 0x4093ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed__while_installing__0x_08X_
call fcn.004026e0
push str.Couldnt_open_service_manager_while_installing
call fcn.004092a3
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4094aa
push esi
mov esi, 0x103
push esi
lea eax, [ebp + 0x85]
push ebx
push eax
mov byte [ebp + 0x84], bl
call fcn.0040c970
push esi
lea eax, [ebp - 0x7f]
push ebx
push eax
mov byte [ebp - 0x80], bl
call fcn.0040c970
add esp, 0x18
push 0x102
lea eax, [ebp + 0x84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp - 0x80]
push 0x4b2f44
push eax
call fcn.0040c779
add esp, 0xc
push ebx
push ebx
push 0x4b29cf
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 1
push 2
push 0x10
push 0xf01ff
mov eax, str.SSSyncService
push eax
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, ebx
jne 0x40949b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push str.CreateService_failed__while_installing__0x_08X_
call fcn.004026e0
push str.Couldnt_create_service_while_installing
call fcn.004092a3
add esp, 0xc
push 2
pop eax
jmp 0x4094a9
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push edi
call esi
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.0040c660
add ebp, 0x18c
leave
ret
Function at 0x4094c1
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x20
mov eax, dword [0x4d4430]
xor eax, esp
mov dword [esp + 0x1c], eax
call fcn.00409266
test eax, eax
je 0x4095b0
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x409518
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed__while_uninstalling__0x_08X_
call fcn.004026e0
push str.Couldnt_open_service_manager_while_uninstalling
call fcn.004092a3
add esp, 0xc
push 3
pop eax
jmp 0x4095af
push esi
push 0x10020
push str.SSSyncService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40955c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push str.OpenService_failed__while_uninstalling__0x_08X_
call fcn.004026e0
push str.Couldnt_open_service_while_uninstalling
call fcn.004092a3
add esp, 0xc
push 4
pop eax
jmp 0x4095ae
push ebx
push ebp
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, eax
call esi
push edi
call esi
test ebx, ebx
je 0x409591
xor eax, eax
jmp 0x4095ac
push ebp
push str.Service_could_not_be_deleted__0x_08X_
call fcn.004026e0
push str.Service_could_not_be_deleted
call fcn.004092a3
add esp, 0xc
push 5
pop eax
pop ebp
pop ebx
pop esi
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040c660
add esp, 0x20
ret

Function at 0x409ac1
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4b31ec
push dword [esp + 0xc]
call fcn.0040d891
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x409add
or eax, 0xffffffff
pop esi
ret
push esi
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0040d45c
push esi
call fcn.0040d2a9
push esi
call fcn.0040d0ab
add esp, 0x18
xor eax, eax
pop esi
ret

Function at 0x409b00
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push 0x4b31f0
push dword [esp + 0x10]
call fcn.0040d891
mov esi, eax
xor ebx, ebx
pop ecx
pop ecx
cmp esi, ebx
jne 0x409b1f
or eax, 0xffffffff
jmp 0x409b63
push edi
push 2
push ebx
push esi
call fcn.0040d759
push esi
call fcn.0040d66a
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x409b56
cmp edi, dword [esp + 0x18]
jg 0x409b56
push esi
call fcn.00411797
push esi
push edi
push 1
push dword [esp + 0x24]
call fcn.0040dec2
add esp, 0x14
jmp 0x409b59
or ebx, 0xffffffff
push esi
call fcn.0040d0ab
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40af5c
Capabilities:
Terminate process

Disassembly:
push 0x458
mov eax, 0x4b1145
call fcn.0040c6d8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x460], eax
call fcn.00435388
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x40af89
or eax, 0xffffffff
jmp 0x40b1ca
lea ecx, [ebp - 0x1bc]
call fcn.00436087
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], ebx
call fcn.00436749
mov eax, dword [ebp - 0x2c]
push 0x10
pop edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jae 0x40afb8
lea eax, [ebp - 0x2c]
push eax
call fcn.00435353
push eax
push str.os_type
push esi
call fcn.00435125
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00436774
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], edi
jae 0x40afeb
lea eax, [ebp - 0x48]
push eax
call fcn.00435353
push eax
push str.os_version
push esi
call fcn.00435125
add esp, 0x10
lea ecx, [ebp - 0x100]
call fcn.00438e13
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
call fcn.00438c4a
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], edi
jae 0x40b02d
lea eax, [ebp - 0x64]
push eax
call fcn.00435353
push eax
push 0x4b3308
push esi
call fcn.00435125
add esp, 0x10
lea ecx, [ebp - 0xc0]
call fcn.00435f7b
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00435fa1
mov dword [ebp - 0x464], eax
fild dword [ebp - 0x464]
test eax, eax
jns 0x40b072
fadd qword [0x4b3300]
push ecx
push ecx
fstp qword [esp]
call fcn.00435329
push eax
push str.total_ram
push esi
call fcn.00435125
add esp, 0x14
lea ecx, [ebp - 0x45c]
call fcn.00436f93
lea eax, [ebp - 0x45c]
push eax
mov byte [ebp - 4], 6
call fcn.0040aedc
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x45c]
call fcn.0043726f
cmp dword [eax + 0x14], edi
jb 0x40b0bd
mov eax, dword [eax]
push eax
call fcn.00435353
push eax
push str.adapter_name
push esi
call fcn.00435125
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401296
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x45c]
call fcn.0043728a
cmp dword [eax + 0x14], edi
jb 0x40b0f3
mov eax, dword [eax]
push eax
call fcn.00435353
push eax
push str.adapter_desc
push esi
call fcn.00435125
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401296
push esi
call fcn.00435b47
mov edi, eax
push edi
push str.os_info_s
push 0xa6
call fcn.00402674
add esp, 0x10
cmp edi, ebx
je 0x40b14d
push 0x200
push edi
call fcn.00409aa1
push eax
push edi
push dword [ebp - 0x460]
call fcn.0040ba20
add esp, 0x14
mov eax, dword [ebp - 0x460]
push esi
mov byte [eax + 0x1ff], bl
call fcn.00434803
pop ecx
cmp edi, ebx
je 0x40b16b
push edi
call fcn.0040c932
pop ecx
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.0043707f
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00435f9c
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00401296
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00438c16
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401296
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401296
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.004360c2
xor eax, eax
call fcn.0040c75b
ret
Function at 0x40c660
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4430]
jne 0x40c66a
repz ret
jmp fcn.0041380c

Function at 0x41e8ca
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41e8f1
call fcn.0041499f
mov dword [eax], esi
call fcn.0041498c
push 0x16
pop esi
mov dword [eax], esi
call fcn.00414901
mov eax, esi
jmp 0x41e946
test dword [ebp + 0xc], 0xfffffff9
jne 0x41e8d7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e91e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004149b2
pop ecx
call fcn.0041498c
mov eax, dword [eax]
jmp 0x41e946
test al, 0x10
jne 0x41e944
test al, 1
je 0x41e944
test byte [ebp + 0xc], 2
je 0x41e944
call fcn.0041499f
mov dword [eax], 5
call fcn.0041498c
mov dword [eax], 0xd
jmp 0x41e915
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4281dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004131fa
and dword [ebp - 0x14], 0
cmp dword [0x4e1b14], 0
mov dword [ebp - 0x18], eax
jne 0x42828f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428337
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428337
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4e1b14], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4e1b18], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4e1b1c], eax
call edi
push eax
call esi
mov dword [0x4e1b24], eax
test eax, eax
je 0x42828f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4e1b20], eax
mov eax, dword [0x4e1b20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4282e8
cmp dword [0x4e1b24], ecx
je 0x4282e8
push eax
call esi
push dword [0x4e1b24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4282e8
test ebx, ebx
je 0x4282e8
call edi
test eax, eax
je 0x4282df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4282df
test byte [ebp - 8], 1
jne 0x4282e8
or dword [ebp + 0x10], 0x200000
jmp 0x42831b
mov eax, dword [0x4e1b18]
cmp eax, dword [ebp - 0x18]
je 0x42831b
push eax
call esi
test eax, eax
je 0x42831b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42831b
mov eax, dword [0x4e1b1c]
cmp eax, dword [ebp - 0x18]
je 0x42831b
push eax
call esi
test eax, eax
je 0x42831b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4e1b14]
call esi
test eax, eax
je 0x428337
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c660
leave
ret
Function at 0x435e28
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1394]
mov eax, 0x1414
call fcn.00429220
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x1390], eax
mov ecx, dword [ebp + 0x13ac]
mov eax, dword [ebp + 0x139c]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x13a8]
push esi
mov esi, dword [ebp + 0x13a0]
push edi
mov edi, dword [ebp + 0x13a4]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
mov dword [ebp - 0x78], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x74], eax
test eax, eax
je 0x435f0c
push 0x1000
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0040c970
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, 1
jne 0x435f0c
and dword [ebp - 0x74], 0
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x4b28c0
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
cmp eax, 1
jne 0x435f0c
push 0x400
lea eax, [ebp + 0xf90]
push 0
push eax
call fcn.0040c970
mov eax, dword [ebp - 0x74]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [edi], ecx
movzx ecx, word [eax + 0xe]
mov dword [ebx], ecx
movzx eax, word [eax + 0xc]
mov ecx, dword [ebp - 0x80]
add esp, 0xc
mov dword [ecx], eax
xor eax, eax
jmp 0x435f0f
or eax, 0xffffffff
mov ecx, dword [ebp + 0x1390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c660
add ebp, 0x1394
leave
ret

Function at 0x435f7b
Capabilities:
Get memory capacity

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.0040c970
add esp, 0xc
push esi
mov dword [esi], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, esi
pop esi
ret

Function at 0x436891
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x77]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x78], bl
call fcn.0040c970
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x20019
push ebx
push str.SOFTWARE_senseshield_ss
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4368f1
xor eax, eax
inc eax
jmp 0x43693e
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push str.InstallDir
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x80]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4368ec
mov eax, dword [ebp + 0x98]
cmp eax, dword [ebp - 0x7c]
jge 0x43692a
push 3
pop eax
jmp 0x43693e
lea eax, [ebp - 0x78]
push eax
push esi
call fcn.0040d8f0
mov eax, dword [ebp - 0x7c]
pop ecx
mov byte [esi + eax], bl
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.0040c660
add ebp, 0x90
leave
ret
Function at 0x436967
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1390]
mov eax, 0x1410
call fcn.00429220
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x138c], eax
push ebx
push esi
mov esi, dword [ebp + 0x139c]
push edi
mov edi, dword [ebp + 0x1398]
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
push edi
mov dword [ebp - 0x7c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x436a79
push 0x1000
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.0040c970
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, 1
jne 0x436a79
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x4b28c0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, 1
jne 0x436a79
push 0x400
lea eax, [ebp + 0xf8c]
push ebx
push eax
call fcn.0040c970
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x4b6804
lea eax, [ebp + 0xf8c]
push 0x3ff
push eax
call fcn.0040c819
lea eax, [ebp + 0xf8c]
push eax
call fcn.0040b990
inc eax
push eax
call fcn.0040ca29
add esp, 0x30
mov dword [esi], eax
cmp eax, ebx
je 0x436a79
lea eax, [ebp + 0xf8c]
push eax
call fcn.0040b990
inc eax
push eax
lea eax, [ebp + 0xf8c]
push eax
push dword [esi]
call fcn.0040ba20
add esp, 0x10
xor eax, eax
jmp 0x436a7c
or eax, 0xffffffff
mov ecx, dword [ebp + 0x138c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c660
add ebp, 0x1390
leave
ret

Function at 0x436c57
Capabilities:
Resolve dns

Disassembly:
push esi
push 0
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x436c72
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x288], eax
xor eax, eax
pop esi
ret

Function at 0x436cfa
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, 0x288
push edi
push eax
mov edi, ecx
mov dword [ebp - 4], eax
call fcn.00410fab
mov ebx, eax
pop ecx
lea eax, [ebp - 4]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x436d35
push ebx
call fcn.00410dc8
push dword [ebp - 4]
call fcn.00410fab
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
mov esi, ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x436d70
test ebx, ebx
je 0x436d70
push 8
push dword [ebp + 8]
lea eax, [esi + 0x194]
push eax
call fcn.0040f3f9
add esp, 0xc
test eax, eax
je 0x436d69
mov esi, dword [esi]
test esi, esi
jne 0x436d49
jmp 0x436d70
mov ecx, 0xa2
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00410dc8
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x436f93
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x4b12cd
call fcn.0040c6d8
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1a4], esi
mov dword [esi + 0x28c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x294], edi
lea eax, [ebp - 0x1a0]
push eax
push 0x202
mov dword [ebp - 4], edi
call sub.WS2_32.dll_WSAStartup
push 0x288
push edi
push esi
call fcn.0040c970
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x288], edi
call fcn.00436c57
mov ecx, esi
call fcn.00436c76
mov eax, esi
call fcn.0040c75b
ret

Function at 0x436ffd
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x4b1306
call fcn.0040c6d8
mov ebx, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1a4], esi
mov dword [esi + 0x28c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x294], edi
lea eax, [ebp - 0x1a0]
push eax
push 0x202
mov dword [ebp - 4], edi
call sub.WS2_32.dll_WSAStartup
push 0x288
push edi
push esi
call fcn.0040c970
push 8
push ebx
push 0x4b6830
call fcn.0040f3f9
add esp, 0x18
mov ecx, esi
test eax, eax
je 0x437069
push ebx
call fcn.00436cfa
jmp 0x437075
call fcn.00436c57
mov ecx, esi
call fcn.00436c76
mov eax, esi
call fcn.0040c75b
ret 4

Function at 0x437897
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 8
mov eax, 0x4b13d9
call fcn.0040c66f
xor esi, esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
mov edi, 0x80010106
cmp ebx, esi
jge 0x4378c4
cmp ebx, edi
je 0x4378c4
push 3
pop eax
jmp 0x43797e
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4378e9
cmp ebx, edi
je 0x4378e5
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4378bc
push 4
jmp 0x4378be
mov edi, dword [ebp + 8]
push edi
push 0x4c3ac0
push 1
push esi
push 0x4c3b90
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x4378dd
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.00437588
mov eax, dword [eax]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x43791e
mov ecx, dword [eax]
jmp 0x437920
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
cmp ecx, esi
je 0x437949
call fcn.00437741
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x14], esi
jge 0x43795a
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
jmp 0x4378dd
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x43797c
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], esi
jmp 0x43794e
xor eax, eax
call fcn.0040c747
ret