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

Disassembly:
push 0xffffffffffffffff
push 0x58aa9a
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00444a00
mov dword [esp + 0xc8], 1
call fcn.00420a7e
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + ecx + 0x20]
call fcn.00435fc0
mov edi, dword [esp + 0x10]
test edi, edi
je 0x446569
push 0
lea ecx, [esp + 0x18]
call fcn.00420ba3
mov eax, dword [edi + 4]
test eax, eax
je 0x446549
cmp eax, 0xffffffff
jae 0x446549
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x14]
not esi
call fcn.00420bcb
and esi, edi
je 0x446569
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0xdc]
cdq
push edx
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.0041fb64
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
lea ecx, [esp + ecx + 0x28]
push edx
push ecx
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0xec]
lea eax, [esp + eax + 0x30]
mov edx, 0x30
add esp, 0x18
mov word [eax + 0x40], dx
mov eax, dword [esp + 0xd8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00436710
mov esi, dword [esp + 0xd0]
push esi
lea ecx, [esp + 0x1c]
call fcn.004463c0
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0xc8], 0
call fcn.00441b30
mov eax, esi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc0
ret

Function at 0x446610
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58aad0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push 1
mov dword [esi + 8], ecx
push 2
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], 0
mov dword [esi], eax
mov dword [esi + 0xc], edx
call fcn.00444a00
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
movzx eax, word [esp + ecx + 0x70]
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 4]
lea ecx, [ecx + esi + 0x10]
mov word [ecx + 0x40], ax
mov eax, dword [esp + 0xc8]
xor edx, edx
push 0xffffffffffffffff
lea ecx, [esi + 0xa8]
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x24], 1
mov word [ecx], dx
call fcn.0041dbc0
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call fcn.00441b30
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xac
Function at 0x449070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58b0da
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x18], esi
mov dword [esi + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esi], vtable.file_collector.0
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x50], edi
mov dword [esi + 0x18], eax
cmp eax, edi
je 0x4490e1
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x34], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x74]
lea edx, [esi + 0x40]
push edx
mov byte [esp + 0x54], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
call fcn.00441ae0
lea ebp, [esi + 0x5c]
xor eax, eax
mov dword [ebp + 0x14], 7
mov dword [ebp + 0x10], edi
mov word [ebp], ax
push 0x38
mov byte [esp + 0x58], 4
mov dword [esi + 0x7c], edi
call fcn.0045c585
add esp, 8
cmp eax, edi
je 0x4491c4
mov dword [esi + 0x78], eax
mov dword [eax], eax
mov eax, dword [esi + 0x78]
mov dword [eax + 4], eax
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x58], 5
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
call fcn.00441c50
push eax
mov ecx, ebp
mov byte [esp + 0x54], 6
call fcn.0042ca43
cmp dword [esp + 0x3c], 8
mov byte [esp + 0x50], 5
jb 0x449197
mov edx, dword [esp + 0x28]
push edx
call fcn.0045c276
add esp, 4
push edi
push ebp
call fcn.004561a0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x40
ret 0x20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
call fcn.0045a6e8
push 0x7ef7e0
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], vtable.std::bad_alloc.0
call fcn.0045ccb1
int3
Function at 0x44b060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58b428
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
cmp esi, dword [esp + 0x48]
je 0x44b11d
xor edi, edi
xor eax, eax
mov word [esp + 0x10], ax
mov eax, esi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b0c0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0041dac0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], edi
call fcn.004484c0
cmp dword [esp + 0x24], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x44b108
mov edx, dword [esp + 0x10]
push edx
call fcn.0045c276
add esp, 4
add esi, 0x22
cmp esi, dword [esp + 0x48]
jne 0x44b0a4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
jmp 0x44b123
mov edx, dword [esp + 0x4c]
mov dword [eax], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x30
ret
Function at 0x44d6e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x58b918
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
push eax
sub esp, 0x10
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esp
call fcn.0044a960
xor edi, edi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], esp
mov dword [esp + 0x38], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov ecx, dword [esp + 0x38]
push ecx
push eax
push 0x5a2176
lea edx, [esp + 0x40]
push str.not_a_date_time
push edx
mov byte [esp + 0x84], 1
call fcn.0044b060
sub esp, 0x60
mov ecx, esp
mov dword [esp + 0xa8], esp
push 0x5a219c
push 0x5a2198
push 0x5a2194
push 0x5a2190
push 1
mov byte [esp + 0xf8], 2
call fcn.00444110
mov eax, dword [0x7f9710]
push eax
mov ecx, esi
mov dword [esp + 0xe8], 0xffffffff
call fcn.0044a300
mov dword [esi], vtable.boost::date_time::time_facet_class_boost::posix_time::ptime__wchar_t__class_std::ostreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
mov edx, dword [0x7f970c]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], cx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44d7e0
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.0041dac0
mov edx, dword [0x7f9708]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x130]
push ecx
mov byte [esp + 0x58], 4
call fcn.00444f30
add esp, 0xc
cmp dword [esp + 0x38], 8
jb 0x44d82e
mov edx, dword [esp + 0x24]
push edx
call fcn.0045c276
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x40
ret 4
Function at 0x44f4a0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x58bda8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00403420
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
add eax, 4
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x2c], 0
call fcn.0044ecf0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ebx, dword [ebx]
push eax
add ebx, 4
push ebx
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0044f3e0
push SysReAllocString
push edi
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, 0x40000000
jne 0x44f550
cmp eax, 0x80000000
jle 0x44f550
mov edx, edi
lock bts dword [edx], 0x1e
jb 0x44f550
mov ecx, edi
call fcn.00403540
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x4538b0
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 8
jb 0x4538bc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4538fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4538fa
cmp eax, 3
je 0x4538fa
cmp eax, 0x7b
je 0x4538fa
cmp eax, 0xf
je 0x4538fa
cmp eax, 0x15
je 0x4538fa
cmp eax, 0x57
je 0x4538fa
cmp eax, 0xa1
je 0x4538fa
cmp eax, 0x35
je 0x4538fa
xor eax, eax
ret
mov eax, 1
ret

Function at 0x453900
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 8
jb 0x45390c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45394a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45394a
cmp eax, 3
je 0x45394a
cmp eax, 0x7b
je 0x45394a
cmp eax, 0xf
je 0x45394a
cmp eax, 0x15
je 0x45394a
cmp eax, 0x57
je 0x45394a
cmp eax, 0xa1
je 0x45394a
cmp eax, 0x35
je 0x45394a
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4547f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x14], 8
push edi
jb 0x454803
mov eax, dword [ebx]
jmp 0x454805
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45482e
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ebx
push ecx
call fcn.004546d0
mov eax, dword [eax]
add esp, 0xc
pop edi
pop ebx
add esp, 8
ret
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x454845
mov dword [esi], 0
call fcn.004506b0
mov dword [esi + 4], eax
pop esi
test edi, 0x400
je 0x45487e
push ebx
call fcn.00453950
add esp, 4
test al, al
je 0x454873
mov edx, edi
and dl, 0x10
movzx eax, dl
neg eax
sbb eax, eax
and eax, 7
pop edi
add eax, 4
pop ebx
add esp, 8
ret
pop edi
mov eax, 9
pop ebx
add esp, 8
ret
mov eax, edi
and eax, 0x10
or eax, 0x20
pop edi
shr eax, 4
pop ebx
add esp, 8
ret

Function at 0x454890
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x58c5b8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0
mov dword [esp + 0x14], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x4548d3
mov esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422c15
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
push edi
push esi
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x45490c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45490e
xor eax, eax
mov ecx, dword [esp + 0x28]
push str.boost::filesystem::current_path
push ecx
push eax
call fcn.00454360
mov esi, dword [esp + 0x30]
add esp, 0xc
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov eax, edi
mov word [esi], dx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454940
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.0041dac0
push edi
call fcn.0045c241
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x454ff0
Capabilities:
Move file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, 8
cmp dword [edi + 0x14], eax
jb 0x455004
mov ecx, dword [edi]
jmp 0x455006
mov ecx, edi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], eax
jb 0x455013
mov eax, dword [esi]
jmp 0x455015
mov eax, esi
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x45502b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45502d
xor eax, eax
mov ecx, dword [esp + 0x14]
push str.boost::filesystem::rename
push ecx
push edi
push esi
push eax
call fcn.00454530
add esp, 0x14
pop edi
pop esi
ret
Function at 0x455050
Capabilities:
Get disk size

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x455061
mov ecx, dword [eax]
jmp 0x455063
mov ecx, eax
mov edx, dword [esp + 0x24]
push str.boost::filesystem::space
push edx
push eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00454440
add esp, 0x10
xor ecx, ecx
test al, al
mov eax, dword [esp + 0x1c]
jne 0x4550db
mov edx, dword [esp + 4]
push esi
xor esi, esi
add ecx, dword [esp + 4]
push edi
adc edx, esi
mov dword [eax], ecx
xor ecx, ecx
xor edi, edi
add ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
adc edx, edi
mov dword [eax + 8], ecx
xor ecx, ecx
add ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x1c]
adc edx, edi
pop edi
mov dword [eax + 0x14], edx
pop esi
mov dword [eax + 0x10], ecx
add esp, 0x18
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x10], ecx
add esp, 0x18
ret
Function at 0x4550f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x58c690
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
jb 0x45513c
mov eax, dword [edi]
jmp 0x45513e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45515c
push esi
push edi
push ebp
call fcn.004546d0
add esp, 0xc
jmp 0x4552af
test ebx, 0x400
je 0x45526b
cmp dword [edi + 0x14], 8
jb 0x455172
mov edx, dword [edi]
jmp 0x455174
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455190
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.0041dac0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0x4551c1
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0x4551f6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0045c276
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, 0xffffffff
jne 0x455226
mov eax, dword [esp + 0x1c]
push eax
push edi
push ebp
call fcn.004546d0
add esp, 0xc
jmp 0x4552af
push edi
call fcn.00453950
add esp, 4
test al, al
jne 0x455258
push ebx
push edi
call fcn.00453a60
add esp, 8
push esi
mov dword [ebp], 9
mov dword [ebp + 4], eax
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4552af
push esi
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x45527d
mov dword [esi], 0
call fcn.004506b0
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x1c], 3
test bl, 0x10
jne 0x455294
mov dword [esp + 0x1c], 2
call fcn.00453a60
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x38
ret
Function at 0x455d90
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x58c8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x7fa2d0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x90]
jb 0x455dda
mov eax, dword [edi]
jmp 0x455ddc
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x455dff
cmp esi, ebx
je 0x455df8
mov dword [esi], ebx
call fcn.004506b0
mov dword [esi + 4], eax
mov al, 1
jmp 0x455e97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.004506b0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.004550f0
add esp, 0xc
cmp dword [esp + 0x1c], 3
jne 0x455e3b
cmp esi, ebx
je 0x455e95
mov dword [esi], ebx
call fcn.004506b0
jmp 0x455e92
cmp esi, ebx
jne 0x455e8b
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00405210
mov dword [esp + 0x84], ebx
call fcn.004506b0
push eax
push ebp
push edi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x50]
call fcn.00447af0
push 0x7dfcfc
lea eax, [esp + 0x44]
push eax
call fcn.0045ccb1
call fcn.004506b0
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0045a5ed
add esp, 0x74
ret

Function at 0x458370
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [0x7f9a68]
push esi
cmp eax, 0xffffffff
je 0x4583b7
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4583b7
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0x14]
call fcn.00457a30
mov eax, dword [esp + 4]
cmp eax, dword [esi + 0x18]
je 0x4583b7
add eax, 0x10
je 0x4583b7
mov eax, dword [eax + 8]
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x458540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x589a28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7fa2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0045a7a8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.004067f0
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4586c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58cdf0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7fa2d0]
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.0045a7a8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.004067f0
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x458754
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_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