joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101aa230
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.101aa150
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.101aa150
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.101aa150
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.101aa150
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x101aa256
add edi, 4
cmp edi, 0x10
jl 0x101aa23d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x101b7aa0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x101b7ac3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.101b7790
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.101b77e0
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.101b7880
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.10196330
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x101e06cc
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x101b7b74
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.101b7a70
cmp ax, 0x10
jae 0x101b7b3e
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x101b7b60
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x101b7b60
lea ecx, [esp + 0xa]
push esi
push ecx
call fcn.10196440
test al, al
jne 0x101b7b74
jmp 0x101b7b6f
lea edx, [esp + 8]
push esi
push edx
call fcn.101963a0
test al, al
jne 0x101b7b74
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x101b7b8f
cmp ax, 0xffff
je 0x101b7b8f
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x101b7ba0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
push ebx
mov bx, word [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
cmp bx, 4
mov word [esi], 0
jbe 0x101b7bc3
pop esi
xor al, al
pop ebx
add esp, 0x44
ret 8
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.101b7790
lea ecx, [esp + 0x28]
push 0x10
push ecx
call fcn.101b77e0
lea edx, [esp + 8]
push 0x10
push edx
call fcn.101b7880
lea eax, [esp + 8]
add bl, 0x31
push eax
call fcn.10196330
and eax, 0xffff
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
mov byte [esp + eax + 0xc], bl
push 0x14
push edx
lea eax, [esp + 0x14]
push 0x101e06cc
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x101b7c6f
lea edx, [esp + 0x38]
push 0x2c
push edx
call fcn.101b7a70
cmp ax, 0x10
jae 0x101b7c6f
and eax, 0xffff
mov cl, byte [esp + eax + 0x39]
and cl, 0xdf
cmp cl, 0x54
jne 0x101b7c6f
cmp byte [esp + eax + 0x3a], 0x3a
jne 0x101b7c6f
lea edx, [esp + eax + 0x3b]
push esi
push edx
call fcn.101963a0
test al, al
je 0x101b7c6a
mov ax, word [esi]
cmp ax, 1
jl 0x101b7c6a
cmp ax, 7
jle 0x101b7c6f
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x44
ret 8

Function at 0x101b7c80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.101b7790
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.101b77e0
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.101b7940
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.101b7900
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x101e06cc
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x101b7cf0
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.101961e0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x101b7d00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.101b7790
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.101b77e0
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.101b78c0
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4
Function at 0x101b7d60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.10196350
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.101b7790
cli
invalid
dec dword [ebp + 0x6a342454]
adc byte [edx - 0x18], dl
dec ebp
cli
invalid
dec dword [ebp + 0x6a242444]
adc byte [eax - 0x18], dl
xchg ecx, eax
cli
invalid
dec dword [ebp + 0x6a44244c]
adc byte [ecx - 0x18], dl
in eax, 0xfb
invalid
dec dword [ebp + 0x6a542454]
adc byte [edx - 0x18], dl
imul edi, esp, 0x448dffff
and al, 0x64
push 0x10
push eax
call fcn.101b79e0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x101e06cc
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x101b7e4e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.101961e0
test al, al
je 0x101b7e0f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push ecx
push edx
call fcn.101961e0
test al, al
je 0x101b7e36
xor eax, eax
mov word [esi], 3
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea eax, [esp + 0x64]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.101961e0
test al, al
je 0x101b7e4e
mov word [esi], 1
xor eax, eax
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4

Function at 0x101bc753
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1020ed34]
jne 0x101bc75d
repz ret
jmp fcn.101c548c
Function at 0x101d2e2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101c4dd2
and dword [ebp - 4], 0
cmp dword [0x1021ed90], 0
mov ebx, eax
jne 0x101d2edb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101d2f8c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101d2f8c
push eax
call fcn.101c4d60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1021ed90], eax
call esi
push eax
call fcn.101c4d60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1021ed94], eax
call esi
push eax
call fcn.101c4d60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1021ed98], eax
call esi
push eax
call fcn.101c4d60
pop ecx
mov dword [0x1021eda0], eax
test eax, eax
je 0x101d2edb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101c4d60
pop ecx
mov dword [0x1021ed9c], eax
mov eax, dword [0x1021ed9c]
cmp eax, ebx
je 0x101d2f33
cmp dword [0x1021eda0], ebx
je 0x101d2f33
push eax
call fcn.101c4ddb
push dword [0x1021eda0]
mov esi, eax
call fcn.101c4ddb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101d2f33
test edi, edi
je 0x101d2f33
call esi
test eax, eax
je 0x101d2f2a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101d2f2a
test byte [ebp - 0xc], 1
jne 0x101d2f33
or dword [ebp + 0x10], 0x200000
jmp 0x101d2f6c
mov eax, dword [0x1021ed94]
cmp eax, ebx
je 0x101d2f6c
push eax
call fcn.101c4ddb
pop ecx
test eax, eax
je 0x101d2f6c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101d2f6c
mov eax, dword [0x1021ed98]
cmp eax, ebx
je 0x101d2f6c
push eax
call fcn.101c4ddb
pop ecx
test eax, eax
je 0x101d2f6c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1021ed90]
call fcn.101c4ddb
pop ecx
test eax, eax
je 0x101d2f8c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101d2f8e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405c80
Capabilities:
Authenticate hmac
Encode data using xor
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x436090]
push ebx
mov ebx, dword [esp + 0x80]
cmp ebx, 0x40
mov dword [esp + 0x70], eax
push ebp
jbe 0x405cf8
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
push ebx
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004058a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00405b40
add esp, 0x14
lea ebp, [esp + 0x64]
mov ebx, 0x10
jmp 0x405cff
mov ebp, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x80]
push edi
lea edi, [esi + 0x200]
push 0x40
push edi
call fcn.00410f10
add esi, 0x240
push 0x40
push esi
call fcn.00410f10
push ebx
push edi
push ebp
call fcn.00410ed0
push ebx
push esi
push ebp
call fcn.00410ed0
add esp, 0x28
pop edi
mov eax, esi
mov ecx, 0x40
mov dl, 0x36
pop esi
xor byte [eax - 0x40], dl
xor byte [eax], 0x5c
inc eax
dec ecx
jne 0x405d42
mov ecx, dword [esp + 0x74]
pop ebp
pop ebx
call fcn.0042373b
add esp, 0x70
ret
Function at 0x4062c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x42de78
xor edi, edi
push 1
push edi
push 0x42de68
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x406337
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, edi
jl 0x406337
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406310
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
je 0x406332
push 0x3e8
call ebp
mov edx, edi
inc edi
cmp edx, 0x1e
jl 0x406310
test esi, esi
pop ebp
jl 0x406337
xor esi, esi
mov eax, dword [esp + 8]
test eax, eax
je 0x406345
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x406353
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x410c40
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x84
mov eax, dword [0x436090]
mov ecx, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0xa0]
mov edx, dword [esi]
mov dword [esp + 0x88], eax
xor eax, eax
sub ecx, ebx
cmp edx, 4
push edi
jne 0x410cba
mov dx, word [esp + 0xa8]
mov word [esp + 0xe], dx
mov edx, dword [esi + 4]
lea edi, [esi + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xa0]
test edx, edx
mov word [esp + 0xc], 2
je 0x410ca9
mov edx, dword [edx + 0x8c]
jmp 0x410d2b
mov edx, dword [esp + 0x94]
mov edx, dword [edx]
mov edx, dword [edx + 0x80]
jmp 0x410d2b
cmp edx, 6
jne 0x410e15
mov dx, word [esp + 0xa8]
mov word [esp + 0xe], dx
push ebp
lea edi, [esi + 4]
mov edx, edi
mov ebp, dword [edx]
mov dword [esp + 0x18], ebp
mov ebp, dword [edx + 4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xa4]
test edx, edx
mov dword [esp + 0x20], ebp
mov word [esp + 0x10], 0x17
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
pop ebp
je 0x410d1c
mov edx, dword [edx + 0x8c]
jmp 0x410d2b
mov edx, dword [esp + 0x94]
mov edx, dword [edx]
mov edx, dword [edx + 0xa0]
cmp edx, 0xffffffff
je 0x410e32
push 0x80
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push ebx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jle 0x410d65
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x80]
call fcn.0042373b
add esp, 0x84
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x410e0b
call ebx
mov ebx, eax
test ebx, ebx
je 0x410e30
mov eax, dword [esi]
cmp eax, 4
jne 0x410d96
mov ecx, dword [edi]
cmp ecx, dword [0x42df08]
je 0x410e30
cmp eax, 6
jne 0x410dc6
mov edx, dword [edi]
cmp edx, dword [0x42df0c]
jne 0x410dc6
mov eax, dword [esi + 8]
cmp eax, dword [0x42df10]
jne 0x410dc6
mov ecx, dword [esi + 0xc]
cmp ecx, dword [0x42df14]
jne 0x410dc6
mov edx, dword [esi + 0x10]
cmp edx, dword [0x42df18]
je 0x410e30
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2750
je 0x410df0
call esi
cmp eax, 0x2742
je 0x410df0
call esi
cmp eax, 0x2751
je 0x410df0
call esi
cmp eax, 0x2743
jne 0x410e30
pop edi
pop esi
mov eax, 0xfffeffe6
pop ebx
mov ecx, dword [esp + 0x80]
call fcn.0042373b
add esp, 0x84
ret
mov ebx, 0xffffe5a5
jmp 0x410d81
pop edi
pop esi
mov eax, 0xfffefffc
pop ebx
mov ecx, dword [esp + 0x80]
call fcn.0042373b
add esp, 0x84
ret
mov eax, ebx
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
call fcn.0042373b
add esp, 0x84
ret

Function at 0x411020
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push edi
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jge 0x41105f
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x41105a
call esi
test eax, eax
je 0x411063
call esi
test eax, eax
jne 0x411063
pop esi
xor eax, eax
pop edi
ret
mov eax, edi
pop edi
ret
pop esi
mov eax, edi
pop edi
ret
Function at 0x411070
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push edi
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jge 0x4110af
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x4110aa
call esi
test eax, eax
je 0x4110b3
call esi
test eax, eax
jne 0x4110b3
pop esi
xor eax, eax
pop edi
ret
mov eax, edi
pop edi
ret
pop esi
mov eax, edi
pop edi
ret

Function at 0x4110c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3f8
mov eax, dword [0x436090]
mov ecx, dword [esp + 0x3fc]
push esi
mov dword [esp + 0x3f8], eax
push 0x5c
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0
call fcn.004027f0
mov al, byte [esp + 0x14]
add esp, 0xc
test al, al
lea esi, [esp + 8]
je 0x411124
mov edi, edi
movsx edx, byte [esi]
push edx
call fcn.00423ced
mov cl, byte [esi + 1]
add esp, 4
test cl, cl
mov byte [esi], al
jne 0x41111c
cmp al, 0x2e
jne 0x41111c
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x411100
lea eax, [esp + 4]
push eax
push str.SOFTWAREApple_Computer__Inc.BonjourDynDNSStateHostNames
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41116f
mov esi, dword [esp + 0x404]
push 4
xor ecx, ecx
lea edx, [esp + 0x408]
push edx
test esi, esi
push 4
sete cl
push eax
mov eax, dword [esp + 0x14]
push 0x42f65c
push eax
mov dword [esp + 0x41c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
test eax, eax
pop esi
je 0x41117f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x3f4]
call fcn.0042373b
add esp, 0x3f8
ret
Function at 0x411230
Capabilities:
Get hostname

Disassembly:
sub esp, 0x148
mov eax, dword [0x436090]
push ebp
push esi
push edi
mov dword [esp + 0x150], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x54]
push ecx
push 5
mov byte [esp + 0x5c], 0
mov dword [esp + 0x18], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x41126c
xor ebp, ebp
jmp 0x411280
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4112db
call esi
mov ebp, eax
test ebp, ebp
jne 0x411288
mov al, byte [esp + 0x50]
test al, al
jne 0x4112a5
mov edx, dword [str.My_Computer]
mov eax, dword [0x42f6f0]
mov ecx, dword [0x42f6f4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x50]
mov byte [esp + 0x14f], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4112b4
sub eax, edx
cmp eax, 0x3f
jae 0x4112e2
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4112d0
sub eax, edx
jmp 0x4112e4
mov ebp, 0xffffe5a8
jmp 0x411288
mov al, 0x3f
movzx ecx, al
mov edx, ecx
shr ecx, 2
mov byte [esp + 0x10], al
lea esi, [esp + 0x50]
lea edi, [esp + 0x11]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x158]
lea esi, [edi + 0x8ec]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00402850
mov al, byte [esi]
add esp, 8
test al, al
jne 0x411330
push str.My_Computer
push esi
call fcn.00402710
add esp, 8
push edi
call fcn.0040eaf0
mov ecx, dword [esp + 0x154]
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
call fcn.0042373b
add esp, 0x148
ret
Function at 0x411d50
Capabilities:
Get routing table

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [esp + 0xc]
push eax
push ebx
mov dword [esp + 0x14], 0
xor esi, esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, 0x7a
jne 0x411dca
mov ecx, dword [esp + 8]
push edi
push ecx
call fcn.00423687
mov edi, eax
add esp, 4
test edi, edi
je 0x411dc3
push ebx
lea edx, [esp + 0x10]
push edx
push edi
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x411dba
mov ecx, dword [edi]
test ecx, ecx
jbe 0x411dba
lea eax, [edi + 0x28]
lea ecx, [ecx]
mov edx, dword [eax - 0x24]
test edx, edx
jne 0x411db4
test esi, esi
je 0x411daf
cmp dword [eax], ebx
jae 0x411db4
mov esi, dword [eax - 0x14]
mov ebx, dword [eax]
add eax, 0x38
dec ecx
jne 0x411da0
push edi
call fcn.00423699
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x411e80
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x436090]
push edi
push 0x11
push 2
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
test eax, eax
je 0x411ef7
mov cx, word [0x42df00]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push esi
push eax
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
mov word [esp + 0xe], cx
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
lea edx, [esp + 0xc]
push edx
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_bind]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x14]
pop edi
call fcn.0042373b
add esp, 0x14
ret

Function at 0x411f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov dword [esi], 0x3ed
mov dword [eax], 0
xor edi, edi
jmp 0x411f30
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x411f43
push eax
call fcn.00423699
add esp, 4
mov edx, dword [esi]
push edx
call fcn.00423687
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x411f7a
push esi
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0
push eax
push ebx
call ebp
inc edi
cmp eax, 0xea
jne 0x411f83
cmp edi, 0x64
jl 0x411f30
pop edi
pop ebp
pop ecx
ret
pop edi
mov eax, 0xfffefffd
pop ebp
pop ecx
ret
test eax, eax
jne 0x411fad
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x411fad
lea edx, [esp + 0x14]
push edx
push ecx
push eax
push eax
push 0x42f714
push ebx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
pop edi
pop ebp
pop ecx
ret
Function at 0x412c70
Capabilities:
Get networking parameters

Disassembly:
sub esp, 0x28
mov eax, dword [0x436090]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebp
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.00411d50
mov esi, eax
cmp esi, ebx
je 0x412cea
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x412cdd
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.00423d4d
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x412dcb
inc ebx
cmp ebx, 0x64
mov ebp, eax
jl 0x412ca5
jmp 0x412db3
test eax, eax
jne 0x412db3
lea eax, [ebp + 0xc]
jmp 0x412d3f
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x10], 0x248
test edi, edi
je 0x412d03
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x10]
push edx
push 0x40
call esi
mov edi, eax
test edi, edi
je 0x412dcb
lea eax, [esp + 0x10]
push eax
push edi
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, 0x6f
jne 0x412d31
inc ebx
cmp ebx, 0x64
jl 0x412cf8
jmp 0x412dc0
test eax, eax
jne 0x412dc0
lea eax, [edi + 0x10c]
test eax, eax
mov esi, eax
je 0x412db3
mov ebp, dword [esp + 0x1c]
lea ecx, [esi + 4]
lea ebx, [esp + 0x20]
call fcn.00411fc0
test eax, eax
jne 0x412da9
push 0x18
call fcn.00423687
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x412daf
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x10], edx
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [eax + 0x14], 0
jne 0x412da2
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x412da9
mov dword [ebp + 0x14], eax
mov esi, dword [esi]
test esi, esi
jne 0x412d45
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x412dc0
push ebp
call fcn.00423699
add esp, 4
test edi, edi
je 0x412dcb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0042373b
add esp, 0x28
ret