joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51ff40
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x51ff55
mov edi, 0x2719
jmp 0x51ff85
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 3
push 0
push edi
call sub.WS2_32.dll_setsockopt
mov edi, eax
call fcn.005d95d0
mov ebx, eax
call sub.WS2_32.dll_WSAGetLastError
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x51ff8f
call fcn.005d95d0
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp + 4], eax
pop edi
mov dword [ebp], edx
mov eax, ebp
pop ebp
pop ebx
ret 8

Function at 0x5216c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e20f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
sub esp, 0x18
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x2c], esp
mov dword [eax + 0x10], esi
je 0x521731
lea edx, [esi + 4]
mov eax, 1
lock xadd dword [edx], eax
call fcn.00522400
test esi, esi
mov bl, al
mov dword [esp + 0x18], 0xffffffff
je 0x52176e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x52176e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52176e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov al, bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x52a9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5df388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.00559c90
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0052aa40
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x52aa23
test al, 1
jne 0x52aa23
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x52aa23
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x530980
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5ef52b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 4]
call fcn.005315c0
mov dword [ebx], eax
lea esi, [ebx + 4]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, 2
mov dword [esi + 0x20], ecx
mov byte [esi + 0x24], al
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov word [esi + 0x28], cx
mov word [esi + 0x2a], ax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x18], eax
mov ecx, dword [ebx]
add ecx, 0x14
push ecx
call fcn.004a7790
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x530c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df589
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov eax, dword [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x80]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], esp
call fcn.00531170
mov byte [esp + 0x4c], 2
mov dword [edi], 0x52f280
mov edx, dword [eax]
lea esi, [edi + 0x10]
lea ecx, [eax + 8]
mov dword [edi + 8], edx
call fcn.00559c90
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0xc], 1
je 0x530d03
test al, 1
jne 0x530cfb
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x530cfb
lea ecx, [esp + 0x24]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x1c], 0
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x530d2c
test al, 1
jne 0x530d2c
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x530d2c
lea ecx, [esp + 0x68]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret

Function at 0x531500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5de9
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
cmp edi, ecx
mov dword [esi], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
je 0x53155c
lea edx, [edi + 4]
mov ebx, 1
lock xadd dword [edx], ebx
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
cmp edi, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], 1
je 0x5315a1
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5315a1
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5315a1
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x5319d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5df508
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x20]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
sub esp, 0x30
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea esi, [eax + 0x10]
lea ecx, [esp + 0x68]
mov dword [esp + 0x44], esp
call fcn.00559c90
call fcn.00531f00
mov bl, al
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x531a5b
test al, 1
jne 0x531a5b
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x531a5b
lea edx, [esp + 0x38]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov al, bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x30
Function at 0x541c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5df388
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x61acd4]
test eax, eax
mov dword [esp + 0xc], 0
je 0x541c7c
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, fcn.00489120
test eax, eax
je 0x541c9b
mov ecx, 0x61acd4
or ecx, 1
mov dword [esp + 0x14], fcn.00489120
mov dword [esp + 0xc], ecx
jmp 0x541ca3
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push eax
add esi, 0x1f4
mov dword [esp + 0x48], 0
call fcn.00589570
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x541cf0
test al, 1
jne 0x541cf0
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x541cf0
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x544a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df1b8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
sub esp, 0xc
test esi, esi
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
mov dword [eax], esi
je 0x544aec
lea eax, [esi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
call fcn.00544cf0
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x544b1f
lea eax, [esi + 4]
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x544b1f
test eax, eax
je 0x544b1f
lea ecx, [eax - 4]
test ecx, ecx
je 0x544b1f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18
Function at 0x545030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ecc00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
cmp dword [esi + 0x64], 0
jne 0x545107
mov ecx, dword [ebp]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x78], esp
mov dword [eax + 8], ecx
je 0x545093
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x3c]
mov dword [eax + 0x10], ecx
push 0x2749
push edx
xor ecx, ecx
call fcn.005466e0
add esp, 0x20
mov dword [esp + 0x54], 0
mov ecx, dword [esi + 0x60]
push ecx
mov ecx, eax
call fcn.00546810
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x54521f
add eax, 4
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x54521f
test eax, eax
je 0x54521f
lea ecx, [eax - 4]
test ecx, ecx
je 0x54521f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
jmp 0x54521f
mov ecx, dword [esi + 0x40]
neg ecx
sbb ecx, ecx
test ecx, fcn.00489120
je 0x545167
mov edx, dword [ebp]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x78], esp
mov dword [eax + 8], ecx
je 0x545140
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x3c]
mov dword [eax + 0x10], ecx
push 0x273d
push edx
xor ecx, ecx
call fcn.005466e0
add esp, 0x20
mov dword [esp + 0x54], 1
jmp 0x5450b5
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x5451e0
mov edx, dword [esp + 0x60]
cmp edi, dword [edx + 4]
jne 0x545186
call fcn.005b8b18
mov eax, dword [esp + 0x60]
cmp edi, dword [eax + 4]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x64], ebx
jne 0x54519b
call fcn.005b8b18
mov esi, dword [esi + 0x64]
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], ebx
add esi, 8
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.0058dcb0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x64]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add dword [eax + 0x1b4], ecx
cmp edi, dword [edx + 4]
jne 0x5451d4
call fcn.005b8b18
mov edi, dword [edi]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
jmp 0x545174
mov ecx, dword [ebp]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x78], esp
mov dword [eax + 8], ecx
je 0x54520a
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
lea eax, [esi + 0x40]
push eax
call fcn.00546860
push esi
call fcn.0058a850
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
Function at 0x547310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5b68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esp + 8], al
mov eax, dword [esp + 8]
push eax
push ecx
sub esp, 0x20
lea ecx, [esp + 0x44]
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.005448b0
call fcn.00549020
lea edx, [esp + 0x24]
push edx
mov bl, al
mov dword [esp + 0x18], 0xffffffff
call fcn.0053c200
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 0x20

Function at 0x547d30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5dd228
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 8], esi
je 0x547d8a
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.004fed70
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x61acec
test esi, esi
mov dword [edi], eax
je 0x547dc8
lea eax, [esi + 4]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x547dc8
test eax, eax
je 0x547dc8
lea ecx, [eax - 4]
test ecx, ecx
je 0x547dc8
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x549980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df068
mov eax, dword fs:[0]
push eax
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [eax + edx]
call dword [esp + 0x1c]
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5499f3
add eax, 4
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5499f3
test eax, eax
je 0x5499f3
lea ecx, [eax - 4]
test ecx, ecx
je 0x5499f3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
Function at 0x549ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df098
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call fcn.005d95d0
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
add ecx, esi
call dword [esp + 0x24]
test esi, esi
mov dword [esp + 0x18], 0xffffffff
je 0x549b2e
lea eax, [esi + 4]
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x549b2e
test eax, eax
je 0x549b2e
lea ecx, [eax - 4]
test ecx, ecx
je 0x549b2e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x549d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1493
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
call fcn.0054abd0
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
mov dword [esi + 0x1c], ebx
mov edi, dword [eax + 4]
call fcn.004f9190
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov byte [esi + 0x30], bl
lea eax, [esi + 0x48]
push eax
mov byte [esp + 0x2c], 1
call fcn.004a8400
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.005d95d0
neg edi
sbb edi, edi
test edi, fcn.00489120
mov dword [esp + 0x18], eax
je 0x549dce
lea ecx, [esp + 0x14]
push ecx
mov edx, str.mutex
call fcn.004a6540
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8

Function at 0x54a850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5df388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.00559c90
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0054aae0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x54a8c3
test al, 1
jne 0x54a8c3
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x54a8c3
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5507c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edx
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
lea edi, [esp + 0x1c]
mov dword [eax + 0xc], ecx
call fcn.00545850
mov eax, dword [esp + 0x44]
mov edx, edi
push edx
push esi
push esi
mov esi, dword [esp + 0x4c]
push eax
add esi, 0x1f4
mov dword [esp + 0x48], 0
call fcn.00589570
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x550858
test al, 1
jne 0x550858
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x550858
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x55a0a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e24e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub esp, 8
test esi, esi
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
mov dword [eax + 4], esi
je 0x55a0ff
lea edx, [esi + 8]
mov eax, 1
lock xadd dword [edx], eax
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004f6b20
mov dword [edi], 0x557c70
mov edx, dword [eax]
mov dword [edi + 4], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 8], eax
je 0x55a12e
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0xc], 1
je 0x55a153
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x55a153
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test esi, esi
mov byte [esp + 0x20], 0
je 0x55a171
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55a171
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x55a880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e9a38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
sub esp, 0x30
test ebx, ebx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [esp + 0x44], esp
mov dword [eax + 0xc], ebx
je 0x55a8e5
lea edx, [ebx + 4]
mov ecx, 1
lock xadd dword [edx], ecx
lea edi, [eax + 0x10]
mov ecx, 7
lea esi, [esp + 0x6c]
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.0055c510
test ebx, ebx
mov dword [esp + 0x20], 0xffffffff
je 0x55a92f
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x55a92f
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x55a92f
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x34