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

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
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 + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x4b4671
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x534024
test esi, esi
mov dword [edi], eax
je 0x4b46b7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b46b7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b46b7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x4b67e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51eef8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call fcn.005147f0
mov ecx, dword [esp + 0x30]
mov edx, 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, edx
call dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b686a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b686a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b686a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51eef8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call fcn.005147f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], ecx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [eax + edx]
call dword [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b69a0
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b69a0
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 0x4b69a0
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4c3bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x518f38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x534170]
test eax, eax
mov dword [esp + 0xc], 0
je 0x4c3c0c
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, fcn.004b2590
test eax, eax
je 0x4c3c2b
mov ecx, 0x534170
or ecx, 1
mov dword [esp + 0x14], fcn.004b2590
mov dword [esp + 0xc], ecx
jmp 0x4c3c33
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.00509a10
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c3c80
test al, 1
jne 0x4c3c80
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4c3c80
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 0x4c6aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b1b8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55609c]
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 0x4c6b0c
lea eax, [esi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
call fcn.004c6d10
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x4c6b3f
lea eax, [esi + 4]
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x4c6b3f
test eax, eax
je 0x4c6b3f
lea ecx, [eax - 4]
test ecx, ecx
je 0x4c6b3f
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 0x4c7050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5234d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
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 0x4c7127
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 0x4c70b3
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.004c84d0
add esp, 0x20
mov dword [esp + 0x54], 0
mov ecx, dword [esi + 0x60]
push ecx
mov ecx, eax
call fcn.004c8600
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c7242
add eax, 4
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x4c7242
test eax, eax
je 0x4c7242
lea ecx, [eax - 4]
test ecx, ecx
je 0x4c7242
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
jmp 0x4c7242
mov ecx, dword [esi + 0x40]
neg ecx
sbb ecx, ecx
test ecx, fcn.004b2590
je 0x4c7187
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 0x4c7160
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.004c84d0
add esp, 0x20
mov dword [esp + 0x54], 1
jmp 0x4c70d5
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x4c7203
mov edx, dword [esp + 0x60]
cmp edi, dword [edx + 4]
jne 0x4c71a7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x60]
cmp edi, dword [eax + 4]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x64], ebx
jne 0x4c71bd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
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.00504cb0
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 0x4c71f7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
jmp 0x4c7194
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 0x4c722d
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.004c8650
push esi
call fcn.00501830
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 0x4c8fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ed18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x55609c]
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.004c68d0
call fcn.004cacf0
lea edx, [esp + 0x24]
push edx
mov bl, al
mov dword [esp + 0x18], 0xffffffff
call fcn.004be180
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 0x20

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

Disassembly:
push 0xffffffffffffffff
push 0x5193d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
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 0x4c9a2a
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479ff0
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x534188
test esi, esi
mov dword [edi], eax
je 0x4c9a68
lea eax, [esi + 4]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c9a68
test eax, eax
je 0x4c9a68
lea ecx, [eax - 4]
test ecx, ecx
je 0x4c9a68
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 0x4cb480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b0a8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x55609c]
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 0x4cb4f3
add eax, 4
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4cb4f3
test eax, eax
je 0x4cb4f3
lea ecx, [eax - 4]
test ecx, ecx
je 0x4cb4f3
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 0x4cb5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b0d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call fcn.005147f0
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 0x4cb62e
lea eax, [esi + 4]
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x4cb62e
test eax, eax
je 0x4cb62e
lea ecx, [eax - 4]
test ecx, ecx
je 0x4cb62e
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 0x4d3640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51ec4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 4]
push 0x4d3ab0
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 0x55c870
mov dword [esp + 0x18], 0
call fcn.00434260
mov dword [edi], eax
lea esi, [edi + 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 + 0x20], eax
mov ecx, dword [edi]
add ecx, 0x14
push ecx
call fcn.00437e00
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x4d3a40
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x4d3a55
mov edi, 0x2719
jmp 0x4d3a8a
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 0x20
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.005147f0
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x4d3a94
call fcn.005147f0
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 0x4d3bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5232f3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
call fcn.004d4a70
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [edi + 0x18], bl
mov dword [edi + 0x1c], ebx
mov esi, dword [eax + 4]
call fcn.004750b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
mov byte [edi + 0x30], bl
lea eax, [edi + 0x48]
push eax
mov byte [esp + 0x2c], 1
call fcn.00438a60
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.005147f0
neg esi
sbb esi, esi
test esi, fcn.004b2590
mov dword [esp + 0x18], eax
je 0x4d3c5e
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.mutex
call fcn.00436c20
mov eax, edi
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 0x4d3de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5209f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x48]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, dword [esi + 4]
mov eax, 0x44
mov edx, eax
mov eax, dword [ecx]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, esp
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax], edi
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
push esi
mov dword [eax + 8], ebx
push ecx
push esi
lea ebx, [esp + 0x34]
mov dword [eax + 0xc], edx
call fcn.004d4bf0
mov edi, dword [esp + 0x34]
mov ebx, dword [esi + 4]
add esp, 0x20
test edi, edi
je 0x4d3e79
cmp edi, esi
je 0x4d3e7f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4d3e8e
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4d3ee8
test edi, edi
jne 0x4d3e9c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jne 0x4d3eab
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x48], 0
je 0x4d3eb5
add dword [esi + 0x10], 0xffffffff
push eax
push edi
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004d4820
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x10], eax
jl 0x4d3ece
test eax, eax
jne 0x4d3ee3
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0xc]
push esi
mov esi, dword [edx + 8]
mov eax, 0x4d4670
push eax
call fcn.004d4d80
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d46f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x518f38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0041c2c0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004d4980
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4d4763
test al, 1
jne 0x4d4763
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4d4763
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 0x4e0070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518f38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x55609c]
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.004c7870
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.00509a10
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e0108
test al, 1
jne 0x4e0108
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4e0108
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 0x4e06d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51cc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0xc]
lea ebx, [esi + 0x48]
push edx
mov dword [ebx], eax
mov dword [esi + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [esi + 0x68], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jne 0x4e083e
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
mov dword [esp + 0xc], edi
jle 0x4e0742
mov edi, eax
mov dword [esp + 0xc], edi
mov eax, dword [ebx]
test eax, eax
jle 0x4e075a
test edi, edi
jne 0x4e0750
mov edi, eax
jmp 0x4e075a
cmp edi, eax
jge 0x4e0758
lea ebx, [esp + 0xc]
mov edi, dword [ebx]
call fcn.005147f0
push 0
mov eax, edi
cdq
push 0xf4240
push edx
push eax
call fcn.00515b20
push edx
push eax
call fcn.0047d900
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add esp, 8
add ecx, eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
lea ecx, [esi + 0x28]
adc edi, edx
push ecx
add eax, 0x14
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], edi
call fcn.0046dbd0
movzx edx, byte [0x55e0b3]
xor ecx, ecx
push ecx
mov eax, 0x4e0880
push eax
push edx
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x1c], esp
call fcn.004e04d0
lea eax, [esp + 0x2c]
push eax
call fcn.004e1930
mov dword [esp + 0x4c], 0
mov edi, dword [eax]
mov edx, dword [esi + 0x20]
add esp, 4
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x1c], esp
mov dword [ecx + 8], eax
je 0x4e0800
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
add edx, 0x14
lea edi, [esi + 0x28]
push edx
call fcn.004e2550
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e083e
add eax, 8
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x4e083e
test eax, eax
je 0x4e083e
lea ecx, [eax - 8]
test ecx, ecx
je 0x4e083e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e1930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51acd1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test esi, esi
push eax
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4e1989
lea eax, [esi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [esp + 0x30]
call fcn.0050e1b0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov eax, dword [eax]
test eax, eax
mov dword [edi + 8], eax
je 0x4e19b4
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0xc], 1
je 0x4e19e6
add eax, 8
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4e19e6
test eax, eax
je 0x4e19e6
lea ecx, [eax - 8]
test ecx, ecx
je 0x4e19e6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
test esi, esi
mov byte [esp + 0x18], 0
je 0x4e1a11
lea eax, [esi + 8]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4e1a11
test eax, eax
je 0x4e1a11
lea ecx, [eax - 8]
test ecx, ecx
je 0x4e1a11
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret