joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f770
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e7f7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.dbc::RunBiDirectItem_class_dbc::LogStream_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.dbc::LogStream.0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov byte [esi + 0x14], 1
lea ebx, [esi + 0x18]
mov dword [ebx], 0
mov byte [ebx + 4], 1
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
push 0x80000fa0
lea eax, [esi + 0x30]
mov byte [esi + 0x28], 0
push eax
mov dword [esi + 0x2c], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x28], 1
push 1
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 4
mov byte [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.0044f630
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
test eax, eax
je 0x44f95f
cmp byte [eax], 0
je 0x44f95f
push eax
lea ecx, [esi + 0x10]
call fcn.004220c0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44f84c
cmp byte [edi], 0
jne 0x44f851
mov edi, 0x4b12a8
push str.logfile
mov ecx, ebx
call fcn.004220c0
mov al, byte [edi]
cmp al, 0x2f
je 0x44f87e
cmp al, 0x5c
je 0x44f87e
push 0x4b2694
push ebx
call fcn.00418690
push edi
push eax
call fcn.00418690
add esp, 0x10
jmp 0x44f888
push edi
push ebx
call fcn.00418690
add esp, 8
movzx eax, byte [0x4e3018]
mov ecx, esi
push eax
call fcn.004505a0
cmp dword [esi + 0xa4], 0
je 0x44f8e1
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00450cf0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push str.Log_stream_open_success.
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x50
mov byte [ebp - 0x1c], 1
push eax
call fcn.00416710
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.0044fb10
jmp 0x44f913
push str.__closed
push dword [ebp + 8]
push str.write_file_failed__log_file__
push 0x4ea520
call fcn.00416710
add esp, 8
push eax
call fcn.00416710
add esp, 8
push eax
call fcn.00416710
push eax
call fcn.00420a60
add esp, 0xc
mov eax, dword [0x4e94e8]
test eax, eax
jne 0x44f941
push 0xf4
call fcn.00466473
add esp, 4
test eax, eax
je 0x44f936
mov ecx, eax
call fcn.0044f590
jmp 0x44f938
xor eax, eax
mov dword [0x4e94e8], eax
test eax, eax
je 0x44f949
push esi
mov ecx, eax
call fcn.004437a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4dde80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.Log_files_name_cant_null
push eax
call fcn.0046710d
int3
Function at 0x4509c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e958
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e32e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x450ae5
cmp byte [ebx + 0x45], 0
je 0x450ae5
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x450a14
xor al, al
jmp 0x450ae7
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x450a7e
dec eax
je 0x450a82
sub eax, 2
je 0x450ace
xor bl, bl
jmp 0x450ad0
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x450ab4
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00468e41
add esp, 0x10
cmp esi, eax
jne 0x450a7a
cmp byte [ebx + 0x45], 0
je 0x450ace
test esi, esi
jne 0x450a44
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004393c0
jmp 0x450a44
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x450ae1
push dword [ebp - 0x28]
call fcn.004664c4
add esp, 4
mov al, bl
jmp 0x450ae7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670fe
mov esp, ebp
pop ebp
ret
Function at 0x451300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e32e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x45133c
xor eax, eax
jmp 0x4514cc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x45136a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x45136a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x4514cc
cmp dword [ebx + 0x50], 0
jne 0x451378
or eax, 0xffffffff
jmp 0x4514cc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x451399
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4513be
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.00469fae
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x4514cc
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x4514b6
cmp eax, 1
jg 0x451496
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x451467
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.00468e41
add esp, 0x10
cmp esi, eax
jne 0x4514b6
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x451491
test esi, esi
jne 0x4513f1
cmp dword [ebp - 0x18], 0x20
jae 0x4514b6
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004393c0
jmp 0x4513f1
mov ebx, dword [ebp + 8]
jmp 0x4514b9
cmp eax, 3
jne 0x4514b6
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.0044f450
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x4514b9
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4514ca
push dword [ebp - 0x28]
call fcn.004664c4
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670fe
mov esp, ebp
pop ebp
ret 4
Function at 0x451d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e32e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov byte [esi], 1
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x452b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x451e75
push str.File:
lea ecx, [ebp - 0x54]
call fcn.00417840
push str..._srcThreadPool.cpp
push eax
mov dword [ebp - 4], 0
call fcn.00418690
push str._Line:
push eax
call fcn.00418690
mov esi, eax
lea eax, [ebp - 0x3c]
push 0xa
push eax
push 0
push 0x2bc
call fcn.00466d31
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.00418690
push str._desc:
push eax
call fcn.00418690
push 0x4b45e8
push eax
call fcn.00418690
add esp, 0x38
cmp dword [eax], 0
jne 0x451e52
mov eax, 0x491578
jmp 0x451e57
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417930
push 0x4de318
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], vtable.dbc::excpThrd.0
push eax
call fcn.0046710d
mov ecx, dword [esi + 0xc]
mov eax, esi
inc dword [ecx + 0x18]
mov ecx, dword [esi + 0xc]
inc dword [ecx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670fe
mov esp, ebp
pop ebp
ret 4
Function at 0x4524c0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push 1
lea ecx, [esi + 4]
call fcn.00448ca0
push 1
lea ecx, [esi + 8]
call fcn.00448ca0
xor edi, edi
cmp dword [esi + 0x24], edi
je 0x4524fe
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x24]
cmp dword [eax], 0
je 0x4524fe
cmp edi, 0x28
jge 0x4524fe
push 0x64
call ebx
inc edi
cmp dword [esi + 0x24], 0
jne 0x4524e6
cmp dword [esi + 0x24], 0
je 0x45259f
mov eax, dword [esi + 0x24]
cmp byte [eax + 0x24], 0
je 0x45251b
add eax, 0x2c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x24], 0
je 0x45258c
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
cmp dword [eax], 0
je 0x45258c
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
test edi, edi
je 0x452586
mov eax, dword [edi + 4]
test eax, eax
je 0x452586
push 0xffffffffffffffff
push eax
call ebx
mov edx, dword [esi + 0x24]
cmp dword [edi + 0x14], 0
je 0x452556
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov dword [eax + 0x10], ecx
cmp dword [edi + 0x10], 0
je 0x452565
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x14], ecx
cmp dword [edx], edi
jne 0x45256e
mov eax, dword [edi + 0x14]
mov dword [edx], eax
dec dword [esi + 0x18]
xor ecx, ecx
mov al, byte [edi]
test al, al
push edi
setne cl
sub dword [esi + 0x1c], ecx
call fcn.004664c4
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x452527
mov eax, dword [esi + 0x24]
cmp byte [eax + 0x24], 0
je 0x45259f
add eax, 0x2c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, 1
test eax, eax
mov dword [esi], vtable.dbc::PreAllocHeap_class_dbc::OnAsynReturn_.0
push 0x80000fa0
cmovne edx, eax
mov dword [esi + 4], 0
lea eax, [esi + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
push eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
call fcn.00448a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x452d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e29b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, 1
test eax, eax
mov dword [edi], vtable.dbc::PreAllocHeap_class_dbc::OnAsynReturn_.0
mov edx, esi
cmovne edx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [edi + 4], edx
push 0x80000fa0
cmovne esi, eax
lea eax, [edi + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
push eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [edi + 0x10], 1
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
call fcn.00448a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, 1
test eax, eax
mov dword [esi], vtable.dbc::PreAllocHeap_class_dbc::OnServeCall_.0
push 0x80000fa0
cmovne edx, eax
mov dword [esi + 4], 0
lea eax, [esi + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
push eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
call fcn.00448a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e29b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, 1
test eax, eax
mov dword [edi], vtable.dbc::PreAllocHeap_class_dbc::OnServeCall_.0
mov edx, esi
cmovne edx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [edi + 4], edx
push 0x80000fa0
cmovne esi, eax
lea eax, [edi + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
push eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [edi + 0x10], 1
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
call fcn.00448a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x452f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, 1
test eax, eax
mov dword [esi], vtable.dbc::PreAllocHeap_class_dbc::TFNCall_.0
push 0x80000fa0
cmovne edx, eax
mov dword [esi + 4], 0
lea eax, [esi + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
push eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
call fcn.00448a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e29b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, 1
test eax, eax
mov dword [edi], vtable.dbc::PreAllocHeap_class_dbc::TFNCall_.0
mov edx, esi
cmovne edx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [edi + 4], edx
push 0x80000fa0
cmovne esi, eax
lea eax, [edi + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
push eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [edi + 0x10], 1
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
call fcn.00448a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, 1
test eax, eax
mov dword [esi], vtable.dbc::PreAllocHeap_class_dbc::SNDPacket_.0
push 0x80000fa0
cmovne edx, eax
mov dword [esi + 4], 0
lea eax, [esi + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
push eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
call fcn.00448a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x457d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e29b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, 1
test eax, eax
mov dword [edi], vtable.dbc::PreAllocHeap_class_dbc::SNDPacket_.0
mov edx, esi
cmovne edx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [edi + 4], edx
push 0x80000fa0
cmovne esi, eax
lea eax, [edi + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
push eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [edi + 0x10], 1
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
call fcn.00448a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, 1
test eax, eax
mov dword [esi], vtable.dbc::PreAllocHeap_class_SendAll_.0
push 0x80000fa0
cmovne edx, eax
mov dword [esi + 4], 0
lea eax, [esi + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
push eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
call fcn.00448a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e29b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, 1
test eax, eax
mov dword [edi], vtable.dbc::PreAllocHeap_class_SendAll_.0
mov edx, esi
cmovne edx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [edi + 4], edx
push 0x80000fa0
cmovne esi, eax
lea eax, [edi + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
push eax
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [edi + 0x10], 1
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
call fcn.00448a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4580f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f2e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e32e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x28]
sub edx, eax
mov eax, dword [esi + 0x30]
add eax, 2
add eax, edx
cmp dword [esi + 0x30], 0x7ffffffe
mov dword [ebp - 0x14], eax
jae 0x458157
mov esi, dword [ebp - 0x14]
mov eax, 0xcccccccd
lea ecx, [esi + 9]
mul ecx
shr edx, 3
add esi, edx
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
cmp byte [edi + 0x44], 0
je 0x45817d
cmp dword [edi + 0x10], 0
je 0x45817d
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, dword [edi + 0x38]
jbe 0x45817d
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
sub eax, dword [edi + 0x38]
jmp 0x45817f
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jae 0x45818f
mov byte [edi + 0x44], 0
jmp 0x458282
test ecx, ecx
je 0x458282
mov eax, dword [esi + 0x30]
add eax, 2
cmp dword [esi + 0x30], 0x7ffffffe
mov dword [ebp - 0x14], eax
jae 0x458214
mov eax, dword [edi + 0x3c]
mov dword [ebp - 4], 0
mov ebx, dword [eax + 0x88]
mov eax, dword [esi]
mov ecx, dword [esi + 0x28]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [edi + 0x10]
add eax, ecx
mov edi, dword [ebx]
add esi, eax
lea eax, [ebp - 0x14]
push eax
mov edx, dword [edx + 0x10]
push esi
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
add eax, ecx
mov ecx, ebx
add edx, eax
mov eax, dword [esi + 0x3c]
push edx
push eax
call dword [edi + 0x18]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
add eax, 0xfffffffe
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
call fcn.0044a040
mov edx, dword [esi + 0x28]
mov edi, dword [ebp - 0x18]
jmp 0x458226
mov ecx, esi
call fcn.0044a040
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
add ecx, 2
add edx, ecx
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x2c]
add ecx, eax
mov eax, dword [edi + 0x10]
push ecx
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0x38]
push eax
call fcn.00467590
mov ecx, dword [esi + 0x30]
add esp, 0xc
add ecx, dword [edi + 0x38]
mov eax, dword [esi + 0x28]
add eax, 2
add eax, ecx
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x30]
add edx, dword [esi + 0x34]
mov eax, dword [esi + 0x28]
add edx, 2
add eax, edx
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x28]
add eax, 2
add eax, edx
cmp dword [esi + 0x34], eax
jne 0x458282
push 0
mov ecx, esi
call fcn.00449700
inc dword [edi + 0x34]
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 4