joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4270a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b61db
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], 0x604ea0
mov ecx, dword [ecx]
call fcn.0041d580
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], eax
call fcn.004141d0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00426960
push 0x427290
push 0x429e00
push 4
push 0x1c
lea eax, [esi + 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.00571445
push 0x426020
push 0x425ff0
push 3
push 0xc
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.00571445
mov byte [ebp - 4], 4
mov dword [esi + 0xcc], 0
push 0xc
mov byte [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov byte [esi + 0xd8], 0
call fcn.0043ad67
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4271c6
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0043ad67
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4271b2
mov dword [eax], 0x604e80
mov dword [eax + 0xc], esi
jmp 0x4271b4
xor eax, eax
push 0
push eax
mov ecx, edi
call fcn.00414630
mov dword [esi + 0xd4], edi
jmp 0x4271d0
mov dword [esi + 0xd4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427960
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x427993
mov ecx, dword [edi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x4279b5
mov ecx, dword [edi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x18], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x427a09
cmp eax, 0x3e5
je 0x427a09
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.00417a10
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x427a20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x427a53
mov ecx, dword [esi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x427a75
mov ecx, dword [esi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
push edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x427aaf
mov eax, 0x2746
jmp 0x427abc
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x427adc
cmp eax, 0x3e5
je 0x427adc
push dword [ebp + 0x18]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.00417a80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.00417a10
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x42c680
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax]
mov eax, dword [0x63de00]
cmp eax, dword [edx + 4]
jle 0x42c6d1
push 0x63de00
call fcn.00570fc1
add esp, 4
cmp dword [0x63de00], 0xffffffff
jne 0x42c6d1
call fcn.00404b60
push 0x63de00
call fcn.00570f82
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x63de20
pop esi
cmp eax, 0xffffffff
jne 0x42c6ff
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.00416fd0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x42c71c
push 4
push dword [ebp + 8]
push 1
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.00417db0
cmp byte [ebp - 8], 0
jne 0x42c728
mov esp, ebp
pop ebp
ret 4
mov edx, 0x604ce0
lea ecx, [ebp - 0xc]
call fcn.00405810
int3

Function at 0x42c740
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax]
mov eax, dword [0x63de00]
cmp eax, dword [edx + 4]
jle 0x42c791
push 0x63de00
call fcn.00570fc1
add esp, 4
cmp dword [0x63de00], 0xffffffff
jne 0x42c791
call fcn.00404b60
push 0x63de00
call fcn.00570f82
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x63de20
pop esi
cmp eax, 0xffffffff
jne 0x42c7bf
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.00416fd0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x42c7e2
push 4
push dword [ebp + 8]
push 0x1001
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.00417db0
cmp byte [ebp - 8], 0
jne 0x42c7ee
mov esp, ebp
pop ebp
ret 4
mov edx, 0x604ce0
lea ecx, [ebp - 0xc]
call fcn.00405810
int3

Function at 0x42c800
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax]
mov eax, dword [0x63de00]
cmp eax, dword [edx + 4]
jle 0x42c851
push 0x63de00
call fcn.00570fc1
add esp, 4
cmp dword [0x63de00], 0xffffffff
jne 0x42c851
call fcn.00404b60
push 0x63de00
call fcn.00570f82
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x63de20
pop esi
cmp eax, 0xffffffff
jne 0x42c87f
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.00416fd0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x42c8a2
push 4
push dword [ebp + 8]
push 0x1002
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.00417db0
cmp byte [ebp - 8], 0
jne 0x42c8ae
mov esp, ebp
pop ebp
ret 4
mov edx, 0x604ce0
lea ecx, [ebp - 0xc]
call fcn.00405810
int3
Function at 0x42f940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b593e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], 0
push dword [0x63f244]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42f9b0
mov eax, dword [eax + 4]
test eax, eax
je 0x42f9b0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42f9b0
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 9
jb 0x42f9a7
mov byte [ecx + 0x24], al
jmp 0x42f9c0
push ecx
call fcn.0043ada7
add esp, 4
push 0x25
call fcn.0043ad67
mov ecx, eax
add esp, 4
mov byte [ecx + 0x24], 9
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x42fa0c
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
movq xmm0, qword [ebp + 0x14]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
mov dword [ecx], 0x430a10
jmp 0x42fa0e
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0042fe00
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42fa4e
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42fa4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42fa4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x42fe00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b51b6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x42fe64
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x42fe5d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42fe5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42fe5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x42fea2
push dword [0x63f244]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42fe92
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42fe92
cmp dword [ecx + 8], 0
jne 0x42fe92
mov al, byte [esi + 0x24]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x42fe9b
push esi
call fcn.0043ada7
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b70d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 0
push dword [0x63f244]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4309af
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4309af
mov eax, dword [ecx + 8]
test eax, eax
je 0x4309af
mov dword [ecx + 8], 0
mov cl, byte [eax]
cmp cl, 0xe
jb 0x4309a6
mov byte [eax + 0x38], cl
jmp 0x4309bd
push eax
call fcn.0043ada7
add esp, 4
push 0x39
call fcn.0043ad67
add esp, 4
mov byte [eax + 0x38], 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4309d9
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.00430ba0
jmp 0x4309db
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi], eax
mov dword [ebp - 0x14], 0
call fcn.00430b00
lea ecx, [ebp + 8]
call fcn.0042dd70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34

Function at 0x430b00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x430b1a
add ecx, 4
call fcn.0042dd70
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x430b60
push dword [0x63f244]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x430b50
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x430b50
cmp dword [ecx + 8], 0
jne 0x430b50
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.0043ada7
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x430f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b717e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 0
push dword [0x63f244]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x430f90
mov eax, dword [eax + 4]
test eax, eax
je 0x430f90
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x430f90
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xe
jb 0x430f87
mov byte [ecx + 0x38], al
jmp 0x430fa0
push ecx
call fcn.0043ada7
add esp, 4
push 0x39
call fcn.0043ad67
mov ecx, eax
add esp, 4
mov byte [ecx + 0x38], 0xe
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x431008
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
movq xmm0, qword [ebp + 0xc]
movq qword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x20], eax
movq xmm0, qword [ebp + 0x28]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
movq qword [ecx + 0x24], xmm0
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ecx + 0x30], eax
mov dword [ecx], 0x431270
jmp 0x43100a
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004311b0
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x43104a
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x43104a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x43104a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
Function at 0x431060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b717e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 0
push dword [0x63f244]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4310d0
mov eax, dword [eax + 4]
test eax, eax
je 0x4310d0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4310d0
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xe
jb 0x4310c7
mov byte [ecx + 0x38], al
jmp 0x4310e0
push ecx
call fcn.0043ada7
add esp, 4
push 0x39
call fcn.0043ad67
mov ecx, eax
add esp, 4
mov byte [ecx + 0x38], 0xe
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x431148
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
movq xmm0, qword [ebp + 0xc]
movq qword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x20], eax
movq xmm0, qword [ebp + 0x28]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
movq qword [ecx + 0x24], xmm0
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ecx + 0x30], eax
mov dword [ecx], 0x431370
jmp 0x43114a
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004311b0
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x43118a
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x43118a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x43118a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4311b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b51b6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x431214
mov dword [ebp - 4], 0
mov esi, dword [esi + 0x20]
test esi, esi
je 0x43120d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x43120d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x43120d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x431252
push dword [0x63f244]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x431242
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x431242
cmp dword [ecx + 8], 0
jne 0x431242
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x43124b
push esi
call fcn.0043ada7
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433fd0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x60539c
push 1
mov edi, ecx
mov dword [ebp - 4], 0
push 0
push 0x60537c
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x434014
push esi
push 0x6050f0
jmp 0x434045
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x43402f
push esi
push 0x605160
jmp 0x434045
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x43404d
push esi
push 0x605184
call fcn.00433fa0
add esp, 8
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43405a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x434067
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434570
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x20], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
mov eax, 2
movq qword [ebp - 0x12], xmm0
push 0x60551c
mov dword [ebp - 0xa], esi
mov word [ebp - 6], si
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x5a
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetBestInterfaceEx]
test eax, eax
jne 0x434658
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x434658
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x434658
push edi
push eax
call fcn.0057e717
mov edi, eax
add esp, 4
test edi, edi
je 0x434646
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x43463d
mov ecx, dword [ebp - 0x1c]
mov eax, edi
nop dword [eax]
cmp dword [eax + 0x19c], ecx
je 0x434620
mov eax, dword [eax]
test eax, eax
jne 0x434610
jmp 0x43463d
push 0x104
push dword [ebp - 0x20]
add eax, 8
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, 1
push edi
call fcn.0057a627
add esp, 4
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x434880
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x605444
push 0x6053ec
mov esi, ecx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push 0x6054c0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43495d
push edi
push 0x828
call fcn.0043ad9e
mov edi, eax
add esp, 4
test edi, edi
je 0x43495c
push 0x828
push 0
push edi
call fcn.00577700
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push eax
push 0x826
push edi
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
call dword [ebp - 0x18]
test eax, eax
je 0x434951
cmp dword [ebp - 0x14], 0
jbe 0x434951
mov eax, dword [edi + 0x10]
test eax, eax
je 0x434951
cmp eax, 0xffffffff
je 0x434951
lea ecx, [eax + edi]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x434943
push 0x28
push edi
call fcn.0057132d
add esp, 8
pop edi
test ebx, ebx
je 0x43496d
cmp ebx, 0xffffffff
je 0x43496d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x434a60
Capabilities:
Get hostname
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7720
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x62cfe8]
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
push 0x114
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00577700
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0xf
push eax
lea eax, [esi + 0x7a]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00577700
add esp, 0xc
mov dword [ebp - 0x54], 0x40
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x434b01
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
shrd ecx, eax, 0x14
shr eax, 0x14
mov word [esi + 0x28], cx
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x180]
push 0x114
mov word [esi + 0x2a], ax
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00577700
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
mov dword [ebp - 0x168], 0x114
push 0x605408
push 0x6053cc
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x434b61
lea ecx, [ebp - 0x168]
push ecx
call eax
mov eax, dword [ebp - 0x164]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x160]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x15c]
mov dword [esi + 0x34], eax
call fcn.00405d90
lea ecx, [esi + 0xa7]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
call fcn.00434880
call fcn.00434670
mov dword [esi + 0x4c], edx
lea ecx, [esi + 0x5c]
lea edx, [esi + 0x38]
mov dword [esi + 0x48], eax
call fcn.00434980
call fcn.00434380
test eax, eax
je 0x434bb5
or dword [esi + 0x50], 1
call fcn.00434420
test eax, eax
je 0x434bc2
or dword [esi + 0x50], 0x20
push 0x6054ac
push 0x6053ec
call edi
push eax
call ebx
test eax, eax
je 0x434bdf
call eax
test eax, eax
je 0x434bdf
or dword [esi + 0x50], 0x40
push 0x6053bc
push 0x6053ec
mov dword [ebp - 0x16c], 0
call edi
push eax
call ebx
mov edi, eax
test edi, edi
je 0x434c0e
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x16c], 0
je 0x434c1e
or dword [esi + 0x50], 0x800
call fcn.004344f0
test al, al
je 0x434c2e
or dword [esi + 0x50], 0x8000
xor eax, eax
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.00570e5f
mov esp, ebp
pop ebp
ret