joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a69de28
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
cmp byte [0x4a6cc42d], 0
jne 0x4a69de49
push esp
push 0x201
call sub.wsock32.dll_WSAStartup
mov byte [0x4a6cc42d], 1
mov al, 1
add esp, 0x190
ret

Function at 0x4a69df58
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a69e0af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.4a6075ac
mov dl, 0x2e
mov eax, ebx
call fcn.4a6110d4
cmp eax, 4
jne 0x4a69e043
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov cl, 0x2e
mov edx, 4
mov eax, ebx
call fcn.4a611150
push dword [ebp - 0xc]
push 0x4a69e0c8
lea eax, [ebp - 0x10]
push eax
mov cl, 0x2e
mov edx, 3
mov eax, ebx
call fcn.4a611150
push dword [ebp - 0x10]
push 0x4a69e0c8
lea eax, [ebp - 0x14]
push eax
mov cl, 0x2e
mov edx, 2
mov eax, ebx
call fcn.4a611150
push dword [ebp - 0x14]
push 0x4a69e0c8
lea eax, [ebp - 0x18]
push eax
mov cl, 0x2e
mov edx, 1
mov eax, ebx
call fcn.4a611150
push dword [ebp - 0x18]
push 0x4a69e0d8
lea eax, [ebp - 8]
mov edx, 8
call fcn.4a607da0
mov eax, dword [ebp - 8]
call fcn.4a607ee8
push eax
call sub.dnsapi.dll_DnsQuery_A
test eax, eax
jne 0x4a69e094
mov eax, esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov ecx, 0
call fcn.4a607c04
push 1
mov eax, dword [ebp - 4]
push eax
call sub.dnsapi.dll_DnsRecordListFree
jmp 0x4a69e094
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, 0x4a69e0c8
mov edx, ebx
call fcn.4a607d1c
mov eax, dword [ebp - 0x1c]
call fcn.4a607ee8
push eax
call sub.dnsapi.dll_DnsQuery_A
test eax, eax
jne 0x4a69e094
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, esi
mov ecx, 0
call fcn.4a607c04
push 1
mov eax, dword [ebp - 4]
push eax
call sub.dnsapi.dll_DnsRecordListFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a69e0b6
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.4a607618
ret
Function at 0x4a69e0f8
Capabilities:
List domain servers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a69e216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x4a60e258]
call fcn.4a609274
push 0
push 0
push 0x1000
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0x64
push 0
call sub.netapi32.dll_NetServerEnum
test eax, eax
jne 0x4a69e1f3
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
xor edi, edi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4a69e1d4
mov dword [ebp - 0x14], eax
cmp edi, ebx
jne 0x4a69e18c
test edi, edi
jne 0x4a69e174
mov edi, 0x40
jmp 0x4a69e176
add edi, edi
push edi
mov eax, esi
mov ecx, 1
mov edx, dword [0x4a60e258]
call fcn.4a609150
add esp, 4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.4a6082a4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.4a69df58
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
lea eax, [eax + ebx*4]
call fcn.4a6079e4
mov eax, dword [esi]
cmp dword [eax + ebx*4], 0
je 0x4a69e1cb
inc ebx
add dword [ebp - 8], 8
dec dword [ebp - 0x14]
jne 0x4a69e165
push ebx
mov eax, esi
mov ecx, 1
mov edx, dword [0x4a60e258]
call fcn.4a609150
add esp, 4
mov eax, dword [ebp - 4]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a69e21d
lea eax, [ebp - 0x20]
call fcn.4a607588
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.4a607618
ret
Function at 0x4a69ecac
Capabilities:
Send icmp echo request

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov edi, eax
xor ebx, ebx
lea ebp, [esi + 1]
test ebp, ebp
jle 0x4a69ee04
call sub.iphlpapi.dll_IcmpCreateFile
mov dword [esp], eax
cmp dword [esp], 0xffffffff
je 0x4a69ee04
mov edx, dword [0x4a69ec78]
mov eax, 4
call fcn.4a608d48
mov ebx, eax
push ebp
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4a69ec78]
call fcn.4a609150
add esp, 4
mov byte [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a69ed16
sub eax, 4
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x4a69edd8
inc eax
mov dword [esp + 8], eax
xor esi, esi
mov eax, dword [edi]
call fcn.4a607ee8
push eax
call sub.wsock32.dll_inet_addr
mov ebp, eax
lea eax, [esi + esi*2]
lea eax, [eax + eax*8]
mov edx, dword [ebx]
mov dword [edx + eax*4 + 0xc], ebp
cmp ebp, 0xffffffff
je 0x4a69edca
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
lea edx, [esi + esi*2]
lea edx, [edx + edx*8]
mov ecx, dword [ebx]
mov dword [ecx + edx*4 + 4], eax
push 0xfa
push 0x60
lea ebp, [esi + esi*2]
lea ebp, [ebp + ebp*8]
mov eax, dword [ebx]
lea eax, [eax + ebp*4 + 0xc]
push eax
push 0
push 4
mov eax, dword [ebx]
lea eax, [eax + ebp*4 + 0x28]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + ebp*4 + 0xc]
push eax
push 0
push 0
mov eax, dword [ebx]
mov eax, dword [eax + ebp*4 + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.iphlpapi.dll_IcmpSendEcho2
test eax, eax
jne 0x4a69edb6
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x3e5
jne 0x4a69edb6
mov byte [esp + 4], 1
jmp 0x4a69edca
mov eax, dword [ebx]
mov eax, dword [eax + ebp*4 + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + ebp*4 + 4], edx
inc esi
add edi, 4
dec dword [esp + 8]
jne 0x4a69ed26
cmp byte [esp + 4], 0
jne 0x4a69edfd
mov eax, ebx
mov edx, dword [0x4a69ec78]
call fcn.4a609274
mov edx, dword [0x4a69ec78]
mov eax, ebx
call fcn.4a608d5c
xor ebx, ebx
jmp 0x4a69ee04
mov eax, dword [ebx]
mov edx, dword [esp]
mov dword [eax], edx
mov eax, ebx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a69f838
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
push 8
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov dword [esi], ebx
xor eax, eax
mov dword [esi + 4], eax
push esp
push 0
push esi
push 0x4a69f2c4
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
setne bl
test bl, bl
je 0x4a69f872
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4a69f878
push esi
call sub.kernel32.dll_LocalFree_1
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x4a69fe04
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_getsockname
inc eax
je 0x4a69fe54
push dword [ebp - 0x20]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 0
call fcn.4a607c04
movzx eax, word [ebp - 0x22]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_getpeername
inc eax
je 0x4a69fe96
push dword [ebp - 0x20]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0
call fcn.4a607c04
movzx eax, word [ebp - 0x22]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x4a6d5298
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4a69feeb
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x4a6cc434]
cmp dword [0x4a6cc434], 0xfffffffe
jbe 0x4a69fec7
mov dword [0x4a6cc434], 1
mov eax, dword [ebp - 4]
mov edx, dword [0x4a6cc434]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a69fef2
push 0x4a6d5298
call sub.kernel32.dll_LeaveCriticalSection_1
ret
Function at 0x4a6a0d68
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, 0x4a6d52b0
cmp dword [esi + 0xc], 0
jne 0x4a6a0ded
push 0x4a6a0df8
push 0x4a6a0e2c
call sub.kernel32.dll_LoadLibraryW
push eax
call fcn.4a60d6e0
mov ebx, eax
test ebx, ebx
je 0x4a6a0d9f
push 1
push 0x4a6a0e44
call sub.user32.dll_RegisterWindowMessageW
push eax
call ebx
mov byte [esi + 4], 0
lea eax, [esi + 0x10]
push eax
push 0
push 0
push 0x4a6a0b44
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
mov dword [esi + 0xc], ebx
push 2
push ebx
call sub.kernel32.dll_SetThreadPriority
cmp dword [esi + 0xc], 0
je 0x4a6a0ded
jmp 0x4a6a0dd5
push 1
call sub.kernel32.dll_Sleep_1
push 0
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4a6a0ded
cmp byte [esi + 4], 0
je 0x4a6a0dce
cmp dword [esi], 0
setne al
pop esi
pop ebx
ret

Function at 0x4a6a0e6c
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov ebp, edx
mov edi, eax
xor ebx, ebx
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x4a6a0ecd
mov word [esp + 4], 2
mov word [esp + 6], bp
mov eax, edi
call fcn.4a607ee8
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
push 0x10
lea eax, [esp + 8]
push eax
push 0
push 4
lea eax, [esp + 0x10]
push eax
push esi
call sub.wsock32.dll_sendto
inc eax
setne bl
push esi
call sub.wsock32.dll_closesocket
mov eax, ebx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a6a0ed8
Capabilities:
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov ebp, edx
mov edi, eax
xor ebx, ebx
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x4a6a0f62
mov word [esp + 4], 2
mov word [esp + 6], bp
mov eax, edi
call fcn.4a607ee8
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 8], eax
mov dword [esp], 0x20
push 4
lea eax, [esp + 4]
push eax
push 3
push 0
push esi
call sub.wsock32.dll_setsockopt
xor eax, eax
mov dword [esp], eax
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push esi
call sub.wsock32.dll_setsockopt
push 0x10
lea eax, [esp + 8]
push eax
push 0
push 4
lea eax, [esp + 0x10]
push eax
push esi
call sub.wsock32.dll_sendto
inc eax
setne bl
push esi
call sub.wsock32.dll_closesocket
mov eax, ebx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a6a1550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.4a607ee8
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4a6a15b0
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a6a1ffc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.4a604878
mov edi, eax
mov dword [edi], ebx
mov dword [edi + 4], esi
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x4a6a1f0c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
test esi, esi
setne bl
test bl, bl
je 0x4a6a2048
push 2
push esi
call sub.kernel32.dll_SetThreadPriority
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x4a6a204f
mov eax, edi
call fcn.4a604894
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a6a2590
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push ecx
cmp byte [0x4a6cc450], 0
jne 0x4a6a25d5
mov byte [0x4a6cc450], 1
push esp
push 0
push 0
push 0x4a6a2228
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
setne al
neg al
sbb esi, esi
test esi, esi
je 0x4a6a25d8
push 2
push ebx
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x4a6a25d8
or esi, 0xffffffff
mov eax, esi
pop edx
pop esi
pop ebx
ret

Function at 0x4a6a3e18
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov edx, dword [0x4a6a3d10]
mov eax, 8
call fcn.4a608d48
mov ebx, eax
mov eax, ebx
mov edx, esi
call fcn.4a6079e4
mov dword [ebx + 4], edi
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x4a6a3d64
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
test esi, esi
je 0x4a6a3e66
push 2
push esi
call sub.kernel32.dll_SetThreadPriority
jmp 0x4a6a3e73
mov edx, dword [0x4a6a3d10]
mov eax, ebx
call fcn.4a608d5c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a6a5d48
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
call sub.kernel32.dll_GetComputerNameW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.4a6082f8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6a5d84
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
call sub.advapi32.dll_GetUserNameW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.4a6082f8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a6a5e40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4a6a5e48
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6a5faf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.4a607588
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.4a60824c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a6a5f84
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.4a60801c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, ebx
call fcn.4a60824c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4a6a5f84
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a6a5fbc
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a6a5f84
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a6a5ffc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov cl, 0x30
mov edx, 4
call fcn.4a6107d8
mov eax, dword [ebp - 0x24]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.4a607f00
push dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, ebx
shr eax, 0x10
movzx eax, ax
mov cl, 0x30
mov edx, 4
call fcn.4a6107d8
mov eax, dword [ebp - 0x2c]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.4a607f00
push dword [ebp - 0x28]
push 0x4a6a601c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.4a607da0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.4a608314
mov eax, dword [ebp - 0x18]
call fcn.4a60824c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a6a5f84
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.4a6082a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a5fb6
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.4a607618
lea eax, [ebp - 0x18]
call fcn.4a607588
lea eax, [ebp - 4]
call fcn.4a6075ac
ret
Function at 0x4a6a638c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2bc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6a6446
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.4a607588
push 0
call sub.ole32.dll_CoInitialize
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4a6a6428
push 0
mov edx, dword [ebp - 0x2b0]
push edx
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov ebx, eax
test ebx, ebx
je 0x4a6a6428
lea edx, [ebp - 0x2bc]
mov eax, ebx
call fcn.4a6a62d0
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.4a624270
mov edx, dword [ebp - 0x2b8]
mov eax, esi
call fcn.4a608314
push ebx
call sub.user32.dll_DestroyIcon
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a644d
lea eax, [ebp - 0x2bc]
mov edx, 2
call fcn.4a607618
ret

Function at 0x4a6a7688
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, ecx
push 0xa
lea ecx, [esp + 4]
push ecx
mov eax, dword [eax + edx*4 + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, ebx
mov edx, esp
mov ecx, 0xb
push 0
call fcn.4a607c8c
add esp, 0xc
pop ebx
ret
Function at 0x4a6ab1a4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a6ab2ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0
je 0x4a6ab1cb
call fcn.4a69de28
call sym.madHcNet.dll_AutoNet_Listen
test eax, eax
je 0x4a6ab1e2
call sym.madHcNet.dll_AutoNet_Announce
test eax, eax
je 0x4a6ab1e2
call sym.madHcNet.dll_AutoNet_Search
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
push 0x32
call sub.kernel32.dll_Sleep_2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 0x4a6ab300
call fcn.4a6a41f8
test eax, eax
je 0x4a6ab2c1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x4a6ab271
inc esi
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.4a6075ac
mov edx, eax
lea edi, [ebx + ebx*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4 + 4]
lea ecx, [ebp - 0x18]
call fcn.4a6a148c
test al, al
je 0x4a6ab26d
mov eax, dword [ebp - 4]
mov edx, 0x4a6ab314
call fcn.4a607e68
jne 0x4a6ab26d
mov eax, dword [ebp - 0xc]
push dword [eax + edi*4 + 0xc]
push dword [eax + edi*4 + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edi*4 + 4]
push eax
call sym.madHcNet.dll_madVR_ConnectToInstance
mov dword [ebp - 8], eax
jmp 0x4a6ab271
inc ebx
dec esi
jne 0x4a6ab221
cmp dword [ebp - 8], 0
jne 0x4a6ab2b8
call fcn.4a646d08
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
fild qword [ebp - 0x20]
fsubrp st(1)
fcomp dword [0x4a6ab320]
wait
fnstsw ax
sahf
jbe 0x4a6ab2b8
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jle 0x4a6ab2b8
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sym.madHcNet.dll_madVR_ConnectToInstance
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree_1
cmp dword [ebp - 8], 0
jne 0x4a6ab2d6
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jbe 0x4a6ab1ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6ab2f3
lea eax, [ebp - 4]
call fcn.4a6075ac
ret
Function at 0x4a6af8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a6afb0a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
dec edx
je 0x4a6af922
dec edx
je 0x4a6af931
dec edx
je 0x4a6af940
dec edx
je 0x4a6af94f
jmp 0x4a6af95e
lea eax, [ebp - 4]
mov edx, 0x4a6afb28
call fcn.4a607a2c
jmp 0x4a6af96b
lea eax, [ebp - 4]
mov edx, 0x4a6afb78
call fcn.4a607a2c
jmp 0x4a6af96b
lea eax, [ebp - 4]
mov edx, 0x4a6afbc8
call fcn.4a607a2c
jmp 0x4a6af96b
lea eax, [ebp - 4]
mov edx, 0x4a6afc18
call fcn.4a607a2c
jmp 0x4a6af96b
lea eax, [ebp - 4]
mov edx, 0x4a6afc68
call fcn.4a607a2c
cmp byte [ebp - 9], 0
je 0x4a6af9ab
push dword [ebp - 4]
push 0x4a6afcb8
push 0x4a6afcc8
lea eax, [ebp - 4]
mov edx, 3
call fcn.4a607da0
cmp byte [ebp + 0xc], 0
jne 0x4a6af9ab
push dword [ebp - 4]
push 0x4a6afcb8
push 0x4a6afcf0
lea eax, [ebp - 4]
mov edx, 3
call fcn.4a607da0
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x60
call fcn.4a605184
mov dword [ebp - 0x70], 0x544c4433
mov dword [ebp - 0x6c], 1
mov esi, 0x4a6afd0c
lea edi, [ebp - 0x68]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x28], 0x60
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a6afa06
sub eax, 4
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x400
mov dword [ebp - 0x18], 0x6000000
mov dword [ebp - 0x14], 0x6000000
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_CreateFileW_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4a6afaf4
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x3a0
call fcn.4a60801c
push 0
lea eax, [ebp - 0x10]
push eax
push 0x60
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x4a6afa99
cmp dword [ebp - 0x10], 0x60
jne 0x4a6afa99
lea eax, [ebp - 4]
call fcn.4a607b28
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a6afa83
sub ebx, 4
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4a6afa9b
xor eax, eax
test al, al
je 0x4a6afab5
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a6afaab
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
cmp edx, eax
sete al
jmp 0x4a6afab7
xor eax, eax
test al, al
je 0x4a6afad8
push 0
lea eax, [ebp - 0x10]
push eax
push 0x6000000
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4a6afada
xor eax, eax
test al, al
je 0x4a6afaea
cmp dword [ebp - 0x10], 0x6000000
sete al
jmp 0x4a6afaec
xor eax, eax
mov ebx, eax
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6afb11
lea eax, [ebp - 4]
call fcn.4a6075ac
ret