joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cc10
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
test eax, eax
jne 0x42cc5d
push str.GetFileSizeEx__
push 0x11e
push str..QHImageHlp.c
call fcn.0042f150
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x42ccf4
jg 0x42cc83
cmp ebx, ecx
jb 0x42ccf4
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42ccb9
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.0042f150
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.0042b6f0
test eax, eax
je 0x42ccaf
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42ccda
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42cd01
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x42cd01
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x42d5b0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4b1d00]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x42d6f0
cmp dword [esp + 0x28], ebp
je 0x42d6f0
push ebx
push 0x2800
call fcn.00465a08
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x42d613
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00464fe1
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x42d620
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.0042b580
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d6c6
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00464d20
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42d6b9
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x42d6b9
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.0042d360
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x42d6d0
inc edi
cmp edi, 0x10
jl 0x42d620
push ebx
call fcn.00464f07
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00464fe1
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.00464fe1
add esp, 0x1c
ret
Function at 0x42d7a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x42d7da
cmp dword [esp + 0x34], esi
je 0x42d7da
push 0x200
call fcn.00465a08
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x42d7e5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d944
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x42d8da
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42d83d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d8b3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42d8a8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0042d710
cmp edx, edi
jb 0x42d8a8
ja 0x42d8a2
cmp eax, dword [esp + 0x24]
jbe 0x42d8a8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x42d830
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x42d8f0
cmp dword [esp + 0x24], 0
jbe 0x42d944
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.0042b580
add esp, 0xc
test eax, eax
jne 0x42d929
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00464f07
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.0042d360
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.00464f07
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x430910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4b9c94]
xor edi, edi
cmp ecx, edi
jne 0x43095b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x430968
mov dword [ebp - 0x14], edi
jmp 0x430980
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x430a16
mov ecx, dword [0x4b9c94]
mov eax, dword [ecx]
cmp eax, edi
je 0x430947
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x430947
mov ebx, 0x4b9c94
mov dword [ebp - 4], edi
call fcn.00430a30
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x4309be
push 0x4a6f7c
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.00464f95
mov ecx, dword [0x4b9c94]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4309d8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x430a02
push 0x4a6f7c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.00464f95
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4309f9
call fcn.00430d40
mov eax, 0x4309ff
ret
mov eax, dword [0x4b9c94]
mov eax, dword [eax]
test eax, eax
je 0x430a14
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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
Function at 0x430a30
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x430a5d
xor ecx, ecx
jmp 0x430a69
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x430b1d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x430a90
mov dword [esp + 0xc], esi
jmp 0x430af0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x430ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x430adc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x430af0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x430af0
push 0x49d698
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x430af0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x430b13
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x430a82
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x430b31
mov ecx, dword [ebx]
add ecx, 8
call fcn.00430c70
test eax, eax
je 0x430b31
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x430b40
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x48926b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00464d20
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x430bd8
push 0x4a6f7c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00464f95
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x431710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a138
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x11
push str.TimedOutException
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00401c60
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0x30], 0
call fcn.0040e860
cmp dword [esp + 0x1c], 0x10
jb 0x43177f
mov ecx, dword [esp + 8]
push ecx
call fcn.004617a0
add esp, 4
mov eax, esi
mov dword [esi], vtable.apache::thrift::concurrency::TimedOutException.0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x431970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48df05
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
push 4
mov byte [esp + 0x20], 2
lea esi, [ebx + 0x3c]
call fcn.00461770
add esp, 4
cmp eax, edi
je 0x4319d9
mov dword [eax], esi
jmp 0x4319db
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov byte [esp + 0x1c], 3
lea esi, [ebx + 0x5c]
push 8
mov dword [esi], vtable.apache::thrift::concurrency::Mutex.0
call fcn.00461770
add esp, 4
cmp eax, edi
je 0x431a0c
mov dword [eax], edi
mov dword [eax + 4], edi
mov edi, eax
lea ebp, [esi + 4]
push edi
lea ecx, [ebp + 4]
mov dword [ebp], edi
call fcn.0043ce70
push edi
push edi
push ebp
call fcn.00439cd0
add esp, 0xc
push esi
lea edi, [ebx + 0x68]
mov byte [esp + 0x20], 4
call fcn.0043e120
push esi
lea edi, [ebx + 0x70]
mov byte [esp + 0x20], 5
call fcn.0043e120
lea esi, [ebx + 0x78]
mov byte [esp + 0x1c], 6
call fcn.0043e060
lea eax, [ebx + 0x80]
push eax
mov byte [esp + 0x20], 7
call fcn.00434220
lea eax, [ebx + 0xa0]
push eax
mov byte [esp + 0x20], 8
call fcn.00434220
lea eax, [ebx + 0xc0]
push eax
mov byte [esp + 0x20], 9
call fcn.0040bbd0
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x431aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48dc84
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
push 0
mov esi, edi
mov dword [esp + 0x20], 0xa
call fcn.00432c90
lea esi, [edi + 0xc0]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xb
call fcn.00434990
mov esi, dword [esi]
push esi
call fcn.004617a0
lea esi, [edi + 0xa0]
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xc
call fcn.00434630
mov esi, dword [esi]
push esi
call fcn.004617a0
lea esi, [edi + 0x80]
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xd
call fcn.00434630
mov esi, dword [esi]
push esi
call fcn.004617a0
mov byte [esp + 0x20], 6
mov esi, dword [edi + 0x7c]
add esp, 4
mov dword [edi + 0x78], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x431b5f
push esi
call fcn.0043e1d0
push esi
call fcn.004617a0
add esp, 4
mov byte [esp + 0x1c], 5
mov esi, dword [edi + 0x74]
mov dword [edi + 0x70], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x431b81
push esi
call fcn.0043e1d0
push esi
call fcn.004617a0
add esp, 4
mov byte [esp + 0x1c], 4
mov esi, dword [edi + 0x6c]
mov dword [edi + 0x68], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x431ba3
push esi
call fcn.0043e1d0
push esi
call fcn.004617a0
add esp, 4
mov byte [esp + 0x1c], 3
mov dword [edi + 0x5c], vtable.apache::thrift::concurrency::Mutex.0
mov esi, dword [edi + 0x64]
test esi, esi
je 0x431be0
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x431be0
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 0x431be0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [edi + 0x3c]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xe
call fcn.00434160
mov esi, dword [esi]
push esi
call fcn.004617a0
mov byte [esp + 0x20], 1
mov esi, dword [edi + 0x38]
add esp, 4
test esi, esi
je 0x431c32
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x431c32
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 0x431c32
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [edi + 0x18]
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x431c58
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, esi
setne dl
movzx edx, dl
push edx
call eax
mov dword [esi + 0x10], 0
mov dword [edi], vtable.apache::thrift::concurrency::ThreadManager.0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x437ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489f18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b1d00]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.004383e0
mov dword [esp + 0x38], 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00437f60
cmp dword [esp + 0x24], 0x10
jb 0x437f3a
mov edx, dword [esp + 0x10]
push edx
call fcn.004617a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00464fe1
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x43a330
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48db38
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4b1d00]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
push 1
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0xbc], bl
mov byte [esp + 0xbd], bl
mov byte [esp + 0xbe], bl
mov byte [esp + 0xbf], bl
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], 1
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push 1
mov dword [esp + 0x2c], 0x1fffff
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov edx, dword [esp + 0x14]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x1c], 8
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
jb 0x43a460
mov ecx, dword [esi + 8]
jmp 0x43a463
lea ecx, [esi + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
push eax
mov eax, dword [esi + 0x28]
push eax
push 6
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
jne 0x43a4e0
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov ecx, str.TPipeServer::TCreateNamedPipe___GLE
call fcn.00437400
push 0x19
push str.TCreateNamedPipe___failed
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00401c60
mov dword [esp + 0xa8], ebx
call esi
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ebx, [esp + 0x6c]
call fcn.00439bc0
push 0x4a6cf0
mov edx, ebx
push edx
call fcn.00464f95
mov dword [esi + 0x24], eax
mov al, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00464fe1
mov esp, ebp
pop ebp
ret
Function at 0x43ba10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489d68
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0xc]
call fcn.0043ce00
mov edi, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.0043ce50
push 0x4a7294
mov eax, esi
push eax
call fcn.00464f95
int3

Function at 0x43bfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4895c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00401390
mov dword [esp + 0x18], 0
test edi, edi
je 0x43bfe4
add edi, 0x28
jmp 0x43bfe6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x43bffe
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x43c070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489d38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b1d00]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00401530
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x43c0ba
add edi, 0x28
jmp 0x43c0bc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x43c0d4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4