joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bacac
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
push 0
mov dword [esp + 0x18], 0xa
call fcn.00470330
lea eax, [esi + 0xc0]
push eax
mov byte [esp + 0x18], 9
call fcn.00471500
lea eax, [esi + 0xa0]
push eax
mov byte [esp + 0x18], 8
call fcn.004713a0
lea eax, [esi + 0x80]
push eax
mov byte [esp + 0x18], 7
call fcn.004713a0
mov byte [esp + 0x14], 6
mov edi, dword [esi + 0x7c]
mov dword [esi + 0x78], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x46f400
push edi
call fcn.0047ac60
push edi
call fcn.00491276
add esp, 4
mov byte [esp + 0x14], 5
mov edi, dword [esi + 0x74]
mov dword [esi + 0x70], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x46f422
push edi
call fcn.0047ac60
push edi
call fcn.00491276
add esp, 4
mov byte [esp + 0x14], 4
mov edi, dword [esi + 0x6c]
mov dword [esi + 0x68], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x46f444
push edi
call fcn.0047ac60
push edi
call fcn.00491276
add esp, 4
mov byte [esp + 0x14], 3
mov dword [esi + 0x5c], vtable.apache::thrift::concurrency::Mutex.0
mov edi, dword [esi + 0x64]
test edi, edi
je 0x46f481
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46f481
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46f481
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea eax, [esi + 0x3c]
push eax
mov byte [esp + 0x18], 2
call fcn.00471340
mov byte [esp + 0x14], 1
mov edi, dword [esi + 0x38]
test edi, edi
je 0x46f4c5
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46f4c5
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46f4c5
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea edi, [esi + 0x18]
mov byte [esp + 0x14], 0
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x46f4eb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, edi
setne dl
movzx edx, dl
push edx
call eax
mov dword [edi + 0x10], 0
mov dword [esi], vtable.apache::thrift::concurrency::ThreadManager.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x476fd0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc5f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4e9688]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x14]
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 + 0xd0]
push ecx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], 1
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
mov dword [esp + 0x28], 0x1fffff
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], 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 + 0x10]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x1c], 8
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jb 0x477100
mov ecx, dword [esi + 8]
jmp 0x477103
lea ecx, [esi + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
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 0x477178
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0x19
push str.TCreateNamedPipe___failed
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00424780
mov dword [esp + 0xc0], ebx
call esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.004768f0
push 0x4da708
lea eax, [esp + 0x64]
push eax
call fcn.00497a7b
mov dword [esi + 0x24], eax
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00491281
mov esp, ebp
pop ebp
ret

Function at 0x4784d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6178
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0xc]
call fcn.004798e0
mov edi, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.00479930
push 0x4dadf4
mov eax, esi
push eax
call fcn.00497a7b
int3
Function at 0x478a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6c68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e9688]
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.00422ae0
mov dword [esp + 0x18], 0
test edi, edi
je 0x478ac4
add edi, 0x28
jmp 0x478ac6
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 0x478ade
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 0x478b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7678
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e9688]
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.00422640
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x478b9a
add edi, 0x28
jmp 0x478b9c
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 0x478bb4
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
Function at 0x478d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7678
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e9688]
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.00422640
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x478d8a
add edi, 0x28
jmp 0x478d8c
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 0x478da4
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_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.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 0x478e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7678
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e9688]
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.00422640
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x478e7a
add edi, 0x28
jmp 0x478e7c
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 0x478e94
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_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_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

Function at 0x47a820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbc73
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0047a390
push 0xc
mov dword [esp + 0x18], 0
call fcn.0049130d
add esp, 4
mov dword [esp + 8], eax
mov byte [esp + 0x14], 1
test eax, eax
je 0x47a873
push eax
call fcn.00477950
jmp 0x47a875
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x47a960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, esi
or eax, ebx
jne 0x47a9af
push edi
call fcn.0047aa60
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], 1
lea eax, [esp + 0x14]
push 0x477370
push eax
mov dword [esp + 0x40], 0
call fcn.00477ee0
add esp, 8
push ebx
push esi
lea esi, [esp + 0x24]
call fcn.00477b60
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.00477d40
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
sub esp, 0x18
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
call fcn.0047b4c0
xor edx, edx
test al, al
setne dl
dec edx
and edx, 0x274c
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8

Function at 0x47abb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd70b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x34
mov dword [edi], vtable.apache::thrift::concurrency::Monitor.0
call fcn.0049130d
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x47ac20
push esi
call fcn.0047a390
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [edi + 4], esi
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [edi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x47bc80
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0xc
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 8], 0x400
cmp dword [esp + 0x1c], ebx
jne 0x47bca1
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push ebx
push 0x410
call edi
mov esi, eax
cmp esi, ebx
jne 0x47bcd1
push ebp
push ebx
push 0x1000
call edi
mov esi, eax
cmp esi, ebx
jne 0x47bcd1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push 0x4c474c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x47bd02
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x47bd02
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push esi
call eax
test eax, eax
jne 0x47bd39
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x47bd3b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x47bd3b
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret

Function at 0x4822e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x634
mov eax, dword [0x4e9688]
xor eax, esp
mov dword [esp + 0x630], eax
push esi
push 0x104
lea eax, [esp + 0x14]
push eax
mov esi, 0x1234abcd
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ecx, ecx
cmp eax, ecx
je 0x4823af
cmp eax, 0x104
ja 0x4823af
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov ax, word [esp + 0x10]
cmp ax, 0x41
jb 0x482337
cmp ax, 0x5a
jbe 0x482344
mov eax, dword [esp + 0x10]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x48234b
xor edx, edx
mov word [esp + 0x16], dx
push 0x104
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4823a9
mov eax, dword [esp + 4]
pop esi
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.00491281
add esp, 0x634
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x634]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00491281
add esp, 0x634
ret

Function at 0x4823d0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4f11f0]
push esi
mov esi, dword [0x4f11f8]
push 0x104
push eax
lea ecx, [esi + 0x14]
push 0x105
push ecx
call fcn.004937af
add esp, 0x10
cmp dword [esi], 0xffffffff
mov dword [esi + 0x224], 0x43e9a0
mov dword [esi + 0x220], 0x43e3b0
je 0x48241c
mov dword [esi + 0x10], 0
mov eax, 1
pop esi
pop ecx
ret
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x4824c0
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.00492054
add esp, 0x18
mov dword [esi], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x482450
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x224]
test eax, eax
je 0x482467
mov ecx, dword [esi + 0x228]
push ecx
push esi
call eax
add esp, 8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4824aa
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4824a1
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret

Function at 0x48dbb0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b6b52
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4f1198
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x4eae40], eax
call esi
push 0x4ef3fe
push 0x20
mov dword [0x4eae3c], eax
call fcn.00492bc8
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0x48dc4c
lea ecx, [ebx + 1]
call fcn.004425f0
cmp eax, ebx
je 0x48dc3a
mov dword [eax], esi
mov dword [esi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x48dc4e
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x48dc4e
xor esi, esi
lea eax, [esp + 0xc]
push eax
push 4
push ebx
push 0x48d890
push ebx
push ebx
mov dword [0x4f1694], esi
mov dword [esp + 0x24], ebx
call fcn.00492054
or ecx, 0xffffffff
add esp, 0x18
mov dword [0x4eae44], eax
cmp eax, ecx
je 0x48dcad
cmp dword [0x4eae40], ecx
je 0x48dcad
cmp dword [0x4eae3c], ecx
je 0x48dcad
mov byte [0x4f162b], 1
mov byte [0x4f162a], bl
lea eax, [ecx + 2]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x491281
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e9688]
jne 0x49128b
repz ret
jmp fcn.0049a14c
Function at 0x4acbaa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0049a2fb
and dword [ebp - 4], 0
cmp dword [0x4f01e0], 0
mov ebx, eax
jne 0x4acc5b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4acd0c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4acd0c
push eax
call fcn.0049a289
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f01e0], eax
call esi
push eax
call fcn.0049a289
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f01e4], eax
call esi
push eax
call fcn.0049a289
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f01e8], eax
call esi
push eax
call fcn.0049a289
pop ecx
mov dword [0x4f01f0], eax
test eax, eax
je 0x4acc5b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049a289
pop ecx
mov dword [0x4f01ec], eax
mov eax, dword [0x4f01ec]
cmp eax, ebx
je 0x4accb3
cmp dword [0x4f01f0], ebx
je 0x4accb3
push eax
call fcn.0049a304
push dword [0x4f01f0]
mov esi, eax
call fcn.0049a304
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4accb3
test edi, edi
je 0x4accb3
call esi
test eax, eax
je 0x4accaa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4accaa
test byte [ebp - 0xc], 1
jne 0x4accb3
or dword [ebp + 0x10], 0x200000
jmp 0x4accec
mov eax, dword [0x4f01e4]
cmp eax, ebx
je 0x4accec
push eax
call fcn.0049a304
pop ecx
test eax, eax
je 0x4accec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4accec
mov eax, dword [0x4f01e8]
cmp eax, ebx
je 0x4accec
push eax
call fcn.0049a304
pop ecx
test eax, eax
je 0x4accec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f01e0]
call fcn.0049a304
pop ecx
test eax, eax
je 0x4acd0c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4acd0e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b11a0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b4b28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4b0a90
push 0x4f0208
call fcn.004b0cc0
mov eax, dword [0x4f0210]
add esp, 8
test eax, eax
je 0x4b11fa
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.00492823
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00439330
int3
Function at 0x4b1230
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b4b58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4f0210]
test eax, eax
jne 0x4b1262
xor esi, esi
jmp 0x4b126b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4b1297
cmp dword [esi + 0x14], 0
jne 0x4b12d9
cmp dword [esi + 0x10], 0
jne 0x4b12e0
push 0
call fcn.004b11a0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4b12c5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b12c5
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x4b1320
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x4b130e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x4b12e0
cmp dword [esi + 0x14], 0
je 0x4b1287
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4b1345
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4b1376
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b1376
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b1376
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x4b132a
jmp 0x4b1281