joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
movzx eax, bl
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x36c]
test eax, eax
je 0x4438b2
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.Attach.ToDesktop
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4438b2
mov byte [esi + 0x1a], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
push str.Cant_set_the_Attach.ToDesktop.
push eax
call fcn.00404e00
add esp, 8
lea eax, [ebp - 0x14]
push 0x4f7910
push eax
call fcn.00498838
int3

Function at 0x443a80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba840
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x1060]
test eax, eax
je 0x443ade
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push str.The_mirror_driver_device_context_released
push dword [esi + 0x10dc]
mov dword [esi + 0x1060], 0
call fcn.004056e0
add esp, 8
cmp byte [esi + 0x1a], 0
je 0x443ba1
push str.Unloading_mirror_driver...
push dword [esi + 0x10dc]
call fcn.004056e0
add esp, 8
mov ecx, esi
push 0
call fcn.00443870
xor edi, edi
mov dword [esi + 0x430], 0
mov dword [esi + 0x434], 0
cmp dword [0x4fed28], edi
jne 0x443b41
push 0x4fed28
mov dword [0x4fed28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x4fed28], eax
cmp dword [0x4fed2c], 5
jne 0x443b52
cmp dword [0x4fed30], edi
je 0x443b58
lea edi, [esi + 0x384]
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004438e0
push str.Mirror_driver_is_unloaded
push dword [esi + 0x10dc]
call fcn.004056e0
add esp, 8
jmp 0x443ba1
push 0xcdc
lea eax, [esi + 0x384]
push 0
push eax
call fcn.00498620
mov eax, 0xdc
mov byte [esi + 0x19], 0
add esp, 0xc
mov word [esi + 0x3c8], ax
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 0x4455a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba906
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], vtable.Rect.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x1c]
mov dword [edi + 0x18], 0
lea esi, [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403cc0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov word [edi + 0x2c], 0x100
mov dword [edi + 0x30], 0
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
Function at 0x44b000
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
sub eax, edx
je 0x44af2a
sub eax, 1
je 0x44af23
sub eax, 1
jne 0x44af2f
mov edx, 0xc0000000
jmp 0x44af2f
mov edx, 0x40000000
jmp 0x44af2f
mov edx, bind
mov eax, dword [ebp + 0x10]
xor bl, bl
cmp eax, 5
ja case.default.0x44af39
jmp dword [eax*4 + 0x44afe8]
mov bl, 1
mov eax, 4
jmp 0x44af69
mov eax, 2
jmp 0x44af69
mov eax, 1
jmp 0x44af69
mov eax, 3
jmp 0x44af69
mov eax, 5
jmp 0x44af69
mov eax, dword [esp + 0xc]
push 0
push 0x80
push eax
movzx eax, byte [ebp + 0x14]
push 0
push eax
push edx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x44afb4
test bl, bl
je 0x44afac
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x44afac
test eax, eax
jne 0x44afcc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0041be20
push 0x4f7a3c
lea eax, [esp + 0x14]
push eax
call fcn.00498838
push eax
lea ecx, [esp + 0x14]
call fcn.0041bee0
push 0x4f7a3c
lea eax, [esp + 0x14]
push eax
call fcn.00498838
nop dword [eax]
inc eax
scasd eax, dword es:[edi]
inc esp
add byte [ecx - 0x51], cl
inc esp
add byte [eax - 0x51], dl
inc esp
add byte [edi - 0x51], dl
inc esp
add byte [edx - 0x51], al
inc esp
add byte [esi - 0x51], bl
inc esp
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [esp + 0x14], ecx
jg 0x44b02e
jl 0x44b061
cmp dword [esp + 0x10], eax
jb 0x44b061
push 1
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push eax
push dword [esi + 4]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x44b05a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44b082
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x18]
push str.Specified_file_pointer_position_is_more_than_file_length
push eax
call fcn.00404e00
add esp, 8
lea eax, [esp + 0x18]
push 0x4f7910
push eax
call fcn.00498838
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.0041bfa0
push 0x4f7a3c
lea eax, [esp + 0x1c]
push eax
call fcn.00498838
int3
Function at 0x44b480
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
push 1
mov edi, ecx
call ebx
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call ebx
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x44b548
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call ebx
mov ecx, edi
call fcn.0044b6c0
test al, al
je 0x44b4ea
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44b531
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x44b548
push eax
call ebx
mov ecx, edi
call fcn.0044b6c0
test al, al
jne 0x44b548
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44b548
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x264]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
Function at 0x44b870
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb176
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4fa008]
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 eax, dword [ebp + 8]
push dword [ecx + 4]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x27c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
call fcn.00403200
push 0x4daa64
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call fcn.00403200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
sub ecx, eax
mov edx, dword [ebp - 0x288]
sub eax, 2
push dword [ebp - 0x268]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x284]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x278]
call fcn.00403e50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.00403b90
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push 1
call edi
mov esi, eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [ebp - 0x264], eax
call edi
cmp dword [ebp - 0x264], 0xffffffff
jne 0x44b96a
xor bl, bl
jmp 0x44ba3a
mov edi, dword [ebp - 0x26c]
mov esi, edi
mov ecx, 0x4d0910
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44b9a6
test dx, dx
je 0x44b9a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44b9a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x44b980
xor eax, eax
jmp 0x44b9ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x44ba05
mov eax, 0x4daa5c
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44b9e6
test dx, dx
je 0x44b9e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44b9e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x44b9c0
xor eax, eax
jmp 0x44b9eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x44ba05
test edi, edi
je 0x44ba01
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, esi
call dword [eax + 4]
inc ebx
add esi, 0x10
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44b972
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x44ba38
mov eax, dword [ebp - 0x268]
mov dword [eax], ebx
mov bl, 1
lea ecx, [ebp - 0x278]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
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.00496bbb
mov esp, ebp
pop ebp
ret 8
Function at 0x44ba70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x204]
mov esi, edx
push eax
mov ebx, ecx
mov dword [ebp - 0x214], esi
push 0xff
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x44babd
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
cmp word [ebp - 0x204], ax
je 0x44bb5e
push edi
lea edi, [ebp - 0x204]
mov esi, ebx
push edi
call fcn.004ac5b2
mov ebx, eax
push 0x5c
push ebx
call fcn.00498390
add esp, 0xc
test eax, eax
je 0x44bafd
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x210], 0
je 0x44bb0e
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 4]
push ebx
call fcn.0049f495
push 0x4daa6c
push edi
call fcn.004a4fc2
mov ecx, dword [ebp - 0x208]
lea edi, [ebp - 0x204]
inc ecx
add esp, 0xc
add ecx, eax
add esi, 0x10
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x208], ecx
cmp word [edi + ecx*2], 0
lea edi, [edi + ecx*2]
mov dword [ebp - 0x20c], eax
jne 0x44bae1
mov ebx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
pop edi
test ebx, ebx
jne 0x44bb64
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00496bbb
mov esp, ebp
pop ebp
ret

Function at 0x44bb80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b63c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
push dword [eax + 4]
mov eax, dword [ebp - 0x1c]
call dword [eax + 4]
push dword [ebp - 0x18]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov dword [ebp - 0x1c], vtable.StringStorage.0
lea ecx, [ebp - 0x18]
setne bl
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44cea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
mov edi, ecx
push 0
push 0x130b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
js 0x44ceed
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
sub edx, esi
sar edx, 2
lea eax, [edx - 1]
cmp ecx, eax
ja 0x44ceda
cmp edx, ecx
jbe 0x44cf39
mov eax, dword [esi + ecx*4]
jmp 0x44cedc
xor eax, eax
mov eax, dword [eax]
test eax, eax
je 0x44ceed
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp + 8]
push 0
push esi
push 0x130c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
js 0x44cf20
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
sub ecx, edx
sar ecx, 2
lea eax, [ecx - 1]
cmp esi, eax
ja 0x44cf20
cmp ecx, esi
jbe 0x44cf39
mov eax, dword [edx + esi*4]
jmp 0x44cf22
xor eax, eax
mov eax, dword [eax]
pop edi
pop esi
test eax, eax
je 0x44cf35
push 5
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
call fcn.00427110
int3
Function at 0x44fa10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4fed28], 0
jne 0x44fa48
push 0x4fed28
mov dword [0x4fed28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x4fed28], eax
cmp dword [0x4fed2c], 6
jae 0x44fa61
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
push 0x28
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret

Function at 0x450310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb5c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.ConnectionListener.0
mov ecx, 0x4fb590
mov dword [edi + 4], vtable.LogConnAuthListener.0
mov dword [edi + 8], vtable.LogListener.0
mov dword [edi + 0xc], vtable.Singleton_class_LogServer_.0
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
cmp dword [0x4feec8], 0
jne 0x450374
mov eax, edi
mov dword [0x4feec8], eax
mov dword [ebp - 4], 0
mov ecx, 0x4fb590
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov dword [ebp - 4], 1
lea ecx, [edi + 0x10]
push str.TVN_log_pipe_public_name
mov dword [edi], vtable.LogServer.2.0
mov dword [edi + 4], vtable.LogServer.3.0
mov dword [edi + 8], vtable.LogServer.0
mov dword [edi + 0xc], vtable.LogServer.1.0
call fcn.00403200
lea eax, [edi + 0x20]
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00403cc0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov byte [ebp - 4], 4
lea esi, [edi + 0x34]
push 0
mov byte [edi + 0x30], 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c400
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x3c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c400
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x44]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042dfd0
mov dword [esi], eax
lea eax, [edi + 0x50]
mov dword [edi + 0x4c], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 8
lea ecx, [edi + 0x6c]
mov dword [edi + 0x68], 0
call fcn.0046e7e0
mov dword [edi + 0xa8], 0
mov eax, edi
mov dword [edi + 0xac], 0
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 0x450a00
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 0x4c]
lea ecx, [ebx + 0x4c]
mov dword [ebp - 0x28], vtable.AutoLock.0
mov dword [ebp - 0x24], ecx
call dword [eax + 4]
push 0xa0
mov dword [ebp - 4], 0
call fcn.004970d4
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test ebx, ebx
je 0x450a6b
lea eax, [ebx + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 4]
mov dword [ebp - 0x10], eax
jmp 0x450a79
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov bl, byte [ebx + 0x30]
lea eax, [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push 4
push edi
push 0x46e440
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
lea eax, [edi + 0x2c]
mov dword [edi], vtable.LogConn.0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], vtable.LocalMutex.0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call edi
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x44], bl
mov ebx, eax
lea eax, [ebx + 0x4c]
mov dword [ebx + 0x48], vtable.LocalMutex.0
push eax
call edi
lea edi, [ebx + 0x64]
lea eax, [edi + 8]
mov dword [ebp + 8], edi
push eax
push 4
push edi
push 0x46e440
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call esi
mov dword [edi + 4], eax
push ecx
mov byte [ebp - 4], 5
lea ecx, [edi + 0x10]
mov dword [edi], vtable.LogLevelSender.0
call fcn.0041d100
lea eax, [edi + 0x24]
mov dword [edi + 0x18], 0
mov word [edi + 0x1c], 0
push eax
mov dword [edi + 0x20], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0xc], al
push dword [ebx + 4]
call esi
mov esi, dword [ebp - 0x1c]
cmp eax, 0xffffffff
mov byte [ebp - 4], 0
setne al
mov dword [ebp - 0x20], ebx
mov byte [ebx + 0xc], al
mov edi, dword [esi + 0x34]
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
call fcn.0040ddb0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [esi + 0x38]
sub ecx, eax
cmp ecx, 1
jb 0x450bce
inc eax
mov dword [esi + 0x38], eax
mov dword [edi + 4], edx
mov dword [ebx], edx
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 6
mov eax, dword [ecx]
call dword [eax + 8]
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
push str.list_T__too_long
call fcn.00497bb6
int3
Function at 0x4515e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb7f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea edi, [ebx + 4]
mov dword [ebx], vtable.Logger.0
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e440
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
lea esi, [ebx + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.LogDump.0
mov byte [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x18]
mov byte [esi + 0x14], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x400
mov byte [ebp - 4], 2
call fcn.00453670
lea eax, [ebx + 0x48]
mov dword [esi], vtable.ClientLogger.1.0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx], vtable.ClientLogger.0
mov dword [edi], vtable.ClientLogger.2.0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
push eax
mov dword [ebx + 0x44], vtable.LocalMutex.0
call esi
lea eax, [ebx + 0x6c]
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
push eax
mov dword [ebx + 0x68], vtable.LocalMutex.0
call esi
push 0x4c54b8
lea ecx, [ebx + 0x84]
mov byte [ebp - 4], 5
call fcn.00403200
push str.TVN_log_pipe_public_name
lea ecx, [ebx + 0x94]
mov byte [ebp - 4], 6
call fcn.00403200
mov eax, ebx
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
Function at 0x452990
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bba70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ebp + 8]
mov dword [ebx], vtable.SecurityPipeServer.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], eax
call fcn.00452b50
mov eax, dword [ebx + 4]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], vtable.DataInputStream.0
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 0x24], vtable.DataOutputStream.0
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], vtable.Thread.0
push eax
push 4
lea eax, [ebp - 0x48]
mov byte [ebp - 0x3c], 0
push eax
push 0x46e440
push 0
push 0
mov byte [ebp - 0x3b], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], vtable.ConnectionTimer.0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x2710
call fcn.0041d100
push dword [ebp - 0x44]
mov byte [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne byte [ebp - 0x3c]
xor esi, esi
mov byte [ebp - 4], 4
lea edi, [esi + 1]
nop dword [eax]
cmp esi, 1
jae 0x452a8a
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push edi
add eax, esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
sub edi, eax
add esi, eax
jmp 0x452a70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.ConnectionTimer.0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x3b], 1
call fcn.00446250
cmp byte [ebp - 0x3c], 0
je 0x452ab6
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], vtable.WindowsEvent.0
test eax, eax
je 0x452acd
push eax
call esi
push dword [ebp - 0x44]
mov dword [ebp - 0x48], vtable.Thread.0
call esi
mov eax, ebx
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