joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be3c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46fff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004bef40
lea edx, [esp + 0x18]
push eax
push edx
call dword [fcn.00472474]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [fcn.00472404]
test eax, eax
je 0x4be469
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004be050
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [fcn.00472434]
push edi
lea ecx, [esp + 0x4c]
call 0x4fb218
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.004cd720
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [fcn.00472148]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [fcn.004723d8]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [fcn.00472440]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call 0x4fb28a
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x4be9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004bc5a0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4be9f9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004b9a10
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004b9a00
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004be050
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.004723d8]
push 0
lea ecx, [esp + 0x4c]
call 0x4fb218
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.004cd720
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004bc000
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.004720bc]
mov ecx, ebx
call fcn.004b9980
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x4beac4
push edi
mov ecx, esi
call fcn.004bc110
push eax
push ebp
mov ecx, esi
call fcn.004bc2d0
cmp eax, dword [esp + 0x40]
jg 0x4beac0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4bea9e
mov eax, ebx
jmp 0x4beaca
cmp edi, ebx
jl 0x4beac8
mov eax, ebx
jmp 0x4beaca
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x4beadb
mov dword [esp + 0x30], eax
jmp 0x4beae6
cmp edi, ebx
jl 0x4beae1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.004b9940
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4beb2d
push edi
mov ecx, esi
call fcn.004bc030
push eax
push ebx
mov ecx, esi
call fcn.004bc400
cmp eax, dword [esp + 0x44]
jg 0x4beb25
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x4beaff
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4beb37
cmp edi, ebp
jl 0x4beb31
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4beb37
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4beb40
mov ecx, eax
jmp 0x4beb49
cmp edi, ebp
jl 0x4beb46
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.004bc020
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call 0x4fb28a
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4c4b00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4704d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4c4b39
inc eax
mov dword [esi + 0x10], eax
jmp 0x4c4c4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4c4b4d
mov eax, 0xffffffc7
jmp 0x4c4c4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4c4b5e
cmp dword [esi + 8], eax
jne 0x4c4b4d
cmp dword [esi + 8], eax
jne 0x4c4b77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4c4b77
mov eax, 0xffffffc7
jmp 0x4c4c4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4c4b8b
push eax
mov ecx, ebx
call fcn.004c4330
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00495410
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4c4bbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00495430
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004c3aa0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4c4bef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48e050
call fcn.00495610
mov eax, dword [esp + 0x38]
jmp 0x4c4c4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004c4960
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4c4c33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004c4980
mov esi, eax
test esi, esi
jne 0x4c4c63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004c4960
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4c4c05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48e050
call fcn.00495610
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48e050
call fcn.00495610
mov eax, esi
jmp 0x4c4c4e
Function at 0x4cdd80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.004723d8]
push 0
lea ecx, [esp + 0x20]
call 0x4fb218
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004cd720
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call 0x4fb146
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call 0x4f7a01
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call 0x4f7a01
push 1
push 0
push 0
mov ecx, esi
call 0x4f79a9
push 1
push 0
push 1
mov ecx, esi
call 0x4f79a9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x4fb28a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4cdf00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call 0x4fb218
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004cd720
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call 0x4fb146
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004723d8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4cdfc4
cmp dword [esp + 0x40], 1
jne 0x4cdfc2
cmp ecx, eax
jge 0x4cdfc4
mov eax, ecx
cmp eax, 0xc8
jge 0x4cdfd0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004cdd80
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004723dc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x4fb28a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4ce750
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470b93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call 0x4f5e21
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4926b0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4911e8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x472088]
push eax
mov ecx, edi
call 0x4fb4c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call 0x4fc9dc
test eax, eax
je 0x4ce86c
mov ecx, dword [esp + 0x3c]
call 0x4fb4ed
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004723b8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4ce830
push edi
mov ecx, esi
call 0x4f8b48
mov ecx, esi
call fcn.004ce9d0
cmp dword [esp + 0x38], 1
jne 0x4ce865
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call 0x4f8c83
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4e0210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4712e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004dfdc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004dfe40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004dfe40
lea ecx, [esi + 0xc]
call 0x4f47fe
lea ecx, [esi + 0x10]
call 0x4f47fe
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004e2670
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004e2670
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004e2670
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call 0x4f4873
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call 0x4f4873
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5326b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.00404420
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401400
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4041e2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5326b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00404420
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401400
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e1b6
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x417bc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5304eb
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x30]
add eax, 0xdc
push eax
call dword [0x535428]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x417c02
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x417c1d
call fcn.0052a247
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x41a3b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x532618
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
add ecx, 0x30
push eax
mov dword [esp + 0xc], 0
call fcn.0040f010
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x41e810
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x58a840]
test ah, ah
push ebx
push esi
push edi
mov esi, ecx
js 0x41e881
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x41e881
push 0xf003f
push 0
push 0
call dword [0x535068]
mov edi, eax
test edi, edi
je 0x41e91b
mov eax, dword [esi + 0x20]
push 0xf01ff
push eax
push edi
call dword [0x535064]
mov ebx, dword [0x535060]
mov esi, eax
test esi, esi
je 0x41e877
push 0
push 0
push esi
call dword [0x535050]
push esi
call ebx
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x7f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0xc8]
test eax, eax
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 1
je 0x41e8c1
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
jmp 0x41e8d0
lea ecx, [esp + 0xc]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [0x53505c]
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x41e91b
mov esi, dword [esi + 0x20]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push edx
call dword [0x535070]
test eax, eax
jne 0x41e910
push 5
lea eax, [esp + 0x1c]
push eax
call dword [0x535370]
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x535074]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ea20
Capabilities:
Persist via run registry key

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [0x535668]
test eax, eax
je 0x41ea45
push 0
push 0x10
push 0x111
push eax
call dword [0x535680]
pop esi
ret
mov ecx, esi
call fcn.0041e930
mov ecx, esi
pop esi
jmp fcn.0041e810
Function at 0x421520
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0x1058]
test eax, eax
je 0x421536
push edx
push esi
push eax
call fcn.00503e30
add esp, 0xc
ret
mov eax, dword [ecx + 0x34]
push 0
push edx
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
ret

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

Disassembly:
mov eax, dword [ecx + 0x1058]
test eax, eax
je 0x421566
push edx
push esi
push eax
call fcn.00503da0
add esp, 0xc
ret
mov eax, dword [ecx + 0x34]
push 0
push edx
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x4218d0
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get process heap force flags
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x531028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx + 0x34]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0
movzx eax, byte [esp + 0x1f]
movzx ecx, byte [esp + 0x1e]
movzx edx, byte [esp + 0x1d]
push eax
movzx eax, byte [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._d._d._d._d
push ecx
call fcn.0044c220
mov esi, dword [esp + 0x28]
mov edi, dword [esi - 0xc]
add esp, 0x18
push 0
push 0
push edi
push esi
push 0
call dword [0x586c98]
push eax
call dword [0x535440]
mov ebx, eax
push ebx
push 0
call dword [0x53549c]
mov ebp, eax
test ebp, ebp
je 0x4219c4
push ebx
push ebp
push edi
push esi
push 0
call dword [0x586c98]
push eax
call dword [0x535440]
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4219af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
jmp fcn.004013f0
Function at 0x421a00
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x531028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx + 0x34]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0
movzx eax, byte [esp + 0x1f]
movzx ecx, byte [esp + 0x1e]
movzx edx, byte [esp + 0x1d]
push eax
movzx eax, byte [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._d._d._d._d
push ecx
call fcn.0044c220
mov esi, dword [esp + 0x28]
mov edi, dword [esi - 0xc]
add esp, 0x18
push 0
push 0
push edi
push esi
push 0
call dword [0x586c98]
push eax
call dword [0x535440]
mov ebx, eax
push ebx
push 0
call dword [0x53549c]
mov ebp, eax
test ebp, ebp
je 0x421af4
push ebx
push ebp
push edi
push esi
push 0
call dword [0x586c98]
push eax
call dword [0x535440]
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421adf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
jmp fcn.004013f0