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

Disassembly:
sub esp, 0xc0
mov ecx, str.BIBCacheAddRemoveClientPurgeProcV2
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov eax, 0x1001934b
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
movzx eax, byte [esp + 0xc4]
push eax
push 0x10023d38
push str.BIBCacheInterface
lea ecx, [esp + 0xc]
push 0x17
push ecx
mov dword [esp + 0x14], str.NewCacheID
mov dword [esp + 0x18], str.BIBCacheNewCacheIDProc
mov dword [esp + 0x1c], str.AddRef
mov dword [esp + 0x20], str.BIBCacheAddRefProc
mov dword [esp + 0x24], str.Release
mov dword [esp + 0x28], str.BIBCacheReleaseProc
mov dword [esp + 0x2c], str.Attach
mov dword [esp + 0x30], str.BIBCacheAttachProcV2
mov dword [esp + 0x34], 0x100196ac
mov dword [esp + 0x38], str.BIBCacheAddProc
mov dword [esp + 0x3c], str.UpdateCost
mov dword [esp + 0x40], str.BIBCacheUpdateCostProc
mov dword [esp + 0x44], str.ReturnCost
mov dword [esp + 0x48], str.BIBCacheReturnCostProc
mov dword [esp + 0x4c], str.MarkNoPurge
mov dword [esp + 0x50], str.BIBCacheMarkNoPurgeProcV2
mov dword [esp + 0x54], str.MarkPurge
mov dword [esp + 0x58], str.BIBCacheMarkPurgeProc
mov dword [esp + 0x5c], str.GetCacheTime
mov dword [esp + 0x60], str.BIBCacheGetCacheTimeProc
mov dword [esp + 0x64], str.CurrentCacheSize
mov dword [esp + 0x68], str.BIBCurrentCacheSizeProc
mov dword [esp + 0x6c], str.NewCachePurge
mov dword [esp + 0x70], str.BIBCacheNewCachePurgeProc
mov dword [esp + 0x74], str.PurgeNextBlock
mov dword [esp + 0x78], str.BIBCachePurgeNextBlockProc
mov dword [esp + 0x7c], str.DeleteCachePurge
mov dword [esp + 0x80], str.BIBCacheDeleteCachePurgeProc
mov dword [esp + 0x84], str.PurgeAllStaticCaches
mov dword [esp + 0x88], str.BIBCachePurgeAllStaticCachesProc
mov dword [esp + 0x8c], str.AddClientPurge
mov dword [esp + 0x94], str.RemoveClientPurge
mov dword [esp + 0x9c], str.NewCacheSet
mov dword [esp + 0xa0], str.BIBCacheNewCacheSetProc
mov dword [esp + 0xa4], str.AddRefCacheSet
mov dword [esp + 0xa8], str.BIBCacheAddRefCacheSetProc
mov dword [esp + 0xac], str.DeleteCacheSet
mov dword [esp + 0xb0], str.BIBCacheDeleteCacheSetProc
mov dword [esp + 0xb4], str.SearchForID
mov dword [esp + 0xb8], str.BIBCacheSearchForIDProc
mov dword [esp + 0xbc], str.RemoveID
mov dword [esp + 0xc0], str.BIBCacheRemoveIDProc
mov dword [esp + 0xc4], str.RemoveIDs
mov dword [esp + 0xc8], str.BIBCacheRemoveIDsProc
call fcn.10001cb0
neg eax
sbb eax, eax
neg eax
sub esp, 0xffffff2c
ret
Function at 0x100021d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov ecx, 0x1001934b
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
movzx eax, byte [esp + 0x8c]
push eax
push 0x10023c20
push str.BIBContainerInterface
lea ecx, [esp + 0xc]
push 0x10
push ecx
mov dword [esp + 0x14], str.NewFullContainer
mov dword [esp + 0x18], str.BIBNewFullContainerV5Proc
mov dword [esp + 0x1c], str.NewContainer
mov dword [esp + 0x20], str.BIBNewContainerV2Proc
mov dword [esp + 0x24], str.CloneContainer
mov dword [esp + 0x28], str.BIBCloneContainerProc
mov dword [esp + 0x2c], str.AddRef
mov dword [esp + 0x30], str.BIBAddRefContainerV2Proc
mov dword [esp + 0x34], str.Release
mov dword [esp + 0x38], str.BIBReleaseContainerProc
mov dword [esp + 0x3c], str.DecrementWithoutDelete
mov dword [esp + 0x40], str.BIBDecrementWithoutDeleteProc
mov dword [esp + 0x44], str.DeleteUnownedContainer
mov dword [esp + 0x48], str.BIBDeleteUnownedContainerProc
mov dword [esp + 0x4c], str.RegisterInterface
mov dword [esp + 0x50], str.BIBRegisterInterfaceV2Proc
mov dword [esp + 0x54], str.RegisterInstance
mov dword [esp + 0x58], str.BIBRegisterInstanceV2Proc
mov dword [esp + 0x5c], str.GetMethod
mov dword [esp + 0x60], str.BIBGetMethodV3Proc
mov dword [esp + 0x64], str.GetParentMethod
mov dword [esp + 0x68], str.BIBGetParentMethodV2Proc
mov dword [esp + 0x6c], str.GetInstance
mov dword [esp + 0x70], str.BIBGetInstanceProc
mov dword [esp + 0x74], str.NGetInstance
mov dword [esp + 0x78], str.BIBNGetInstanceProc
mov dword [esp + 0x7c], str.GetSignature
mov dword [esp + 0x80], str.BIBGetSignatureProc
mov dword [esp + 0x84], str.DebugGetRefCountAddr
mov dword [esp + 0x88], str.BIBGetRefCountAddrProc
mov dword [esp + 0x8c], str.GetOffsetToPrimaryInstance
mov dword [esp + 0x90], str.BIBGetOffsetToPrimaryInstProc
call fcn.10001cb0
neg eax
sbb eax, eax
neg eax
add esp, 0x9c
ret

Function at 0x100048f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10015311
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push esi
push edi
mov eax, dword [0x10023a8c]
mov edi, ecx
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.10001560
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
push ecx
mov ecx, edi
push eax
push esi
mov dword [esp + 0x2c], 1
call fcn.10004660
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], 0
test eax, eax
je 0x10004966
push eax
call dword [0x10023c64]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
Function at 0x10004a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10015391
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.10001560
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
push ecx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x2c], 1
call fcn.10004770
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], 0
je 0x10004a86
push eax
call dword [0x10023c64]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc

Function at 0x10004aa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10015410
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.POSObjectImpl
call fcn.10001560
push str.POSObjectInterface
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0
call fcn.10001560
push str.POSDictIteratorImpl
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
call fcn.10001560
push str.POSDictIteratorInterface
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
call fcn.10001560
push str.POSStreamerImpl
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call fcn.10001560
push str.POSStreamerInterface
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 4
call fcn.10001560
push str.POSValidatorImpl
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 5
call fcn.10001560
push str.POSValidatorInterface
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.10001560
push str.BIBUtilsDir
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 7
call fcn.10001560
push str.BIBUtilsDirInterface
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 8
call fcn.10001560
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
sub esp, 0xfffffff0
ret
Function at 0x1000c4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10016693
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push ebp
push edi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor ebx, ebx
mov byte [edi + 4], bl
mov byte [edi + 5], bl
mov dword [edi + 8], 0x1001b1c4
mov byte [edi + 0xc], 1
mov ebp, dword [esp + 0x28]
lea esi, [edi + 0x10]
push ebp
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [edi], vtable.NPOSStreamerImpl::NTypeAImpl::OCharStream.0
call fcn.10002360
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], edx
push ebx
push ebx
push ebx
push 0x200
mov byte [esp + 0x30], 1
call fcn.10003390
push eax
mov dword [edi + 0x20], eax
call dword [0x10023db4]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x200
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x2c], ecx
sub esp, 0xffffffec
mov dword [edi + 0x30], ebx
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop esi
pop ebx
sub esp, 0xfffffff0
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x100166ce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], vtable.NPOSStreamerImpl::NTypeAImpl::OCharStream.0
mov edx, dword [edi + 0x30]
or edx, edx
mov dword [esp + 0x18], 2
je 0x1000c613
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x2c]
push edx
push eax
mov eax, dword [esi + 4]
push ecx
call eax
add esp, 0xc
or eax, eax
je 0x1000c60c
push eax
call fcn.100020b0
mov dword [edi + 0x30], 0
mov eax, dword [edi + 0x20]
or eax, eax
mov byte [esp + 0x18], 1
je 0x1000c62f
mov ecx, dword [0x10023db0]
or ecx, ecx
je 0x1000c62f
push eax
call ecx
sub esp, 0xfffffffc
mov byte [esp + 0x18], 0
lea ecx, [edi + 0x10]
call fcn.100017c0
mov dword [edi], vtable.NPOSStreamerImpl::NTypeAImpl::CharStream.0
mov esi, dword [esp + 0x10]
mov dword fs:[0], esi
pop ecx
pop edi
pop esi
sub esp, 0xfffffff0
ret
Function at 0x1000c680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10016703
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], 0x1001b1c4
mov byte [esi + 0xc], 1
mov edi, dword [esp + 0x28]
lea ebp, [esi + 0x10]
push edi
mov ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.NPOSStreamerImpl::NTypeAImpl::ICharStream.0
call fcn.10002360
mov eax, dword [edi + 4]
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [ebp + 0xc], edx
push ebx
push ebx
push ebx
push 0x200
mov byte [esp + 0x30], 1
call fcn.10003390
push eax
mov dword [esi + 0x20], eax
call dword [0x10023db4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x200
add esp, 0x14
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, esi
mov ebx, dword [esp + 0x18]
mov dword fs:[0], ebx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x1000de20
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10016a80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
push esi
push ebp
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebx + 0xc]
mov ebp, dword [esi]
push ebp
mov eax, dword [0x10023ecc]
mov ecx, dword [eax + 0xc]
xor ebp, ebp
call ecx
add esp, 4
test eax, eax
jbe 0x1000df64
lea esp, [esp]
mov ecx, esi
push 0
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.1000b140
mov edi, eax
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.10002360
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
call fcn.10003e90
or eax, eax
mov dword [0x10023ebc], eax
je 0x1000df77
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 4]
push ecx
call edx
sub esp, 0xfffffffc
test eax, eax
je 0x1000df77
mov eax, dword [esp + 0x14]
mov ecx, dword [0x10023ebc]
mov edx, dword [ecx + 8]
push eax
mov byte [esp + 0x3c], 2
call edx
mov ecx, dword [0x10023ebc]
mov edx, dword [ecx + 8]
mov edi, eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
push eax
call edx
push edi
push eax
lea eax, [esp + 0x2c]
push str._s__s
push eax
call fcn.1000dd20
mov eax, dword [eax]
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
mov edx, dword [0x10023ecc]
push eax
mov eax, dword [edx + 0x14]
push ecx
mov byte [esp + 0x58], 3
call eax
sub esp, 0xffffffe0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.100017c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.100017c0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.100017c0
mov eax, dword [esi]
mov ecx, dword [0x10023ecc]
mov edx, dword [ecx + 0xc]
push eax
sub ebp, 0xffffffff
call edx
add esp, 4
cmp ebp, eax
jb 0x1000de70
mov esi, dword [esp + 0x30]
mov dword fs:[0], esi
pop ecx
pop ebp
pop esi
pop edi
mov esp, ebx
pop ebx
ret
push str.downcast_from_CPOSObject_to_CPOSString_failed
call fcn.100037d0
int3
Function at 0x100111b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10017320
mov eax, dword fs:[0]
push eax
add esp, 0xffffffd8
push ebx
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
mov esi, ecx
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x10]
call fcn.10001590
lea ecx, [esp + 0xc]
push ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10001590
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x40], 1
call fcn.10011120
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x10011241
push eax
call dword [0x10023c64]
add esp, 4
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
je 0x1001125b
push eax
call dword [0x10023c64]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
sub esp, 0xffffffcc
ret 0xc
Function at 0x10013080
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10017a4e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023a8c]
xor eax, esp
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 4]
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x28]
push ebp
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.TempFileStream.0
call fcn.10012150
lea ecx, [esi + 8]
mov edi, dword [esp + 0x2c]
push edi
mov byte [esp + 0x24], 1
call fcn.10001590
mov ecx, ebp
mov eax, dword [esp + 0x30]
push eax
push edi
lea edi, [esi + 0x10]
push edi
mov byte [esp + 0x2c], 2
call fcn.10012490
mov dl, byte [esp + 0x34]
mov byte [esi + 0x20], dl
lea eax, [esi + 0x24]
mov byte [esi + 0x21], bl
mov dword [eax], vtable.double_linked_list_element_class_BIB_T_MT::LazyTerminate__class_BIBDLLEParent_.0
mov dword [eax + 0xc], 0x10023bac
mov edi, dword [0x10023bac]
mov dword [eax + 4], edi
cmp edi, ebx
je 0x10013116
mov dword [edi + 8], eax
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], ebx
mov dword [ecx], eax
mov ecx, dword [eax + 0xc]
sub dword [ecx + 4], 0xffffffff
mov dword [eax], vtable.BIB_T_MT::TBIBLazyObjectPointer_class_BRVMutualExclusion_.0
mov dword [eax + 0x10], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x100138b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10017c60
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10023a8c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
xor ebx, ebx
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
push 0x104
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub eax, 1
cmp eax, 0x102
ja 0x100139bf
push 8
call dword [0x10023d94]
mov esi, eax
sub esp, 0xfffffffc
or esi, esi
jne 0x10013923
call fcn.10001130
mov dword [esp + 0x1c], esi
mov dword [esp + 0x140], 0
or esi, esi
je 0x10013973
lea ebx, [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
call fcn.10001560
mov eax, dword [eax]
mov ebx, 1
sub esp, 8
mov dword [esp + 0x18], esp
mov ecx, esp
push 0
push eax
mov byte [esp + 0x150], 1
mov dword [esp + 0x1c], ebx
call fcn.100015c0
mov ecx, esi
call fcn.100122b0
mov esi, eax
jmp 0x10013975
xor esi, esi
mov dword [esp + 0x140], 0xffffffff
test bl, 1
je 0x10013997
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10013997
push eax
call dword [0x10023c64]
add esp, 4
mov ebx, dword [esp + 0x138]
mov dword fs:[0], ebx
mov eax, esi
pop esi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10014282
sub esp, 0xfffffec8
ret
call dword [sym.imp.MSVCR80.dll__errno]
mov edx, dword [eax]
push 0
push 0
push edx
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::GetTempDir:_Cannot_get_temp_dir
lea ecx, [esp + 0x34]
call fcn.10001660
push 0x1001db9c
lea eax, [esp + 0x24]
push eax
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x100139f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10017cc0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffed4
mov eax, dword [0x10023a8c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
xor ebx, ebx
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
push 0x104
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
ja 0x10013a77
cmp eax, 0x104
jb 0x10013a77
call dword [sym.imp.MSVCR80.dll__errno]
mov esi, dword [eax]
push ebx
push ebx
push esi
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::GetCurrent:_Cannot_get_current_dir
lea ecx, [esp + 0x34]
call fcn.10001660
push 0x1001db9c
lea edx, [esp + 0x24]
push edx
call sub.MSVCR80.dll__CxxThrowException
push 8
call dword [0x10023d94]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10013a8d
call fcn.10001130
mov dword [esp + 0x1c], esi
mov dword [esp + 0x140], 0
or esi, esi
je 0x10013add
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.10001560
mov eax, dword [eax]
mov ebx, 1
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
push eax
mov byte [esp + 0x150], 1
mov dword [esp + 0x1c], ebx
call fcn.100015c0
mov ecx, esi
call fcn.100122b0
mov esi, eax
jmp 0x10013adf
xor esi, esi
test bl, 1
mov dword [esp + 0x140], 0xffffffff
je 0x10013b01
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10013b01
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10014282
add esp, 0x138
ret
Function at 0x10013cf0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10017d80
mov eax, dword fs:[0]
push eax
add esp, 0xffffffb0
push esi
mov eax, dword [0x10023a8c]
mov esi, ecx
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.10013890
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x6c], 0
call fcn.10013b30
sub esp, 0xfffffff4
mov eax, dword [esp + 8]
mov byte [esp + 0x60], 2
test eax, eax
je 0x10013d56
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.10013890
mov edx, dword [esp + 0x6c]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x6c], 3
call fcn.10013b30
sub esp, 0xfffffff4
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x60], 5
je 0x10013d95
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.MSVCR80.dll_rename]
sub esp, 0xfffffff8
or eax, eax
je 0x10013e45
mov esi, dword [sym.imp.MSVCR80.dll__errno]
call esi
mov eax, dword [eax]
sub eax, 2
je 0x10013e1a
sub eax, 0xb
je 0x10013def
call esi
mov ecx, dword [eax]
push 0
push 0
push ecx
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Rename:_Unknown_error
lea ecx, [esp + 0x3c]
call fcn.10001660
push 0x1001db9c
lea edx, [esp + 0x2c]
push edx
call sub.MSVCR80.dll__CxxThrowException
call esi
mov eax, dword [eax]
push 0
push 0
push eax
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Rename:_Permission_denied
lea ecx, [esp + 0x4c]
call fcn.10001660
push 0x1001db9c
lea ecx, [esp + 0x3c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
call esi
mov edx, dword [eax]
push 0
push 0
push edx
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Rename:_Invalid_filename
lea ecx, [esp + 0x5c]
call fcn.10001660
push 0x1001db9c
lea eax, [esp + 0x4c]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x60], 2
je 0x10013e5c
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], 0xffffffff
test eax, eax
je 0x10013e76
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov esi, dword [esp + 0x58]
mov dword fs:[0], esi
pop ecx
pop esi
sub esp, 0xffffffa4
ret 8
Function at 0x10013e90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10017db0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.10013890
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x5c], 0
call fcn.10013b30
sub esp, 0xfffffff4
mov eax, dword [esp + 8]
mov byte [esp + 0x50], 2
test eax, eax
je 0x10013ef4
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR80.dll_remove]
add esp, 4
or eax, eax
je 0x10013f9f
mov esi, dword [sym.imp.MSVCR80.dll__errno]
call esi
mov eax, dword [eax]
sub eax, 2
je 0x10013f74
sub eax, 0xb
je 0x10013f49
call esi
mov edx, dword [eax]
push 0
push 0
push edx
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Delete:_Unknown_error
lea ecx, [esp + 0x2c]
call fcn.10001660
push 0x1001db9c
lea eax, [esp + 0x1c]
push eax
call sub.MSVCR80.dll__CxxThrowException
call esi
mov ecx, dword [eax]
push 0
push 0
push ecx
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Delete:_Permission_denied
lea ecx, [esp + 0x3c]
call fcn.10001660
push 0x1001db9c
lea edx, [esp + 0x2c]
push edx
call sub.MSVCR80.dll__CxxThrowException
call esi
mov eax, dword [eax]
push 0
push 0
push eax
push str.BIBUtilsDir
push str.BIBUtilsDirImpl::Delete:_Invalid_filename
lea ecx, [esp + 0x4c]
call fcn.10001660
push 0x1001db9c
lea ecx, [esp + 0x3c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x10]
or eax, eax
mov dword [esp + 0x50], 0xffffffff
je 0x10013fb9
push eax
call dword [0x10023c64]
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
sub esp, 0xffffffb4
ret 4

Function at 0x10013fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10017df9
mov eax, dword fs:[0]
push eax
add esp, 0xffffffec
push esi
mov eax, dword [0x10023a8c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.10013890
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], 1
call fcn.10013b30
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
mov byte [esp + 0x24], 3
je 0x1001403c
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, esi
call fcn.100015c0
mov eax, dword [esp + 0x14]
or eax, eax
mov dword [esp + 8], 1
mov byte [esp + 0x24], 0
je 0x1001406d
push eax
call dword [0x10023c64]
sub esp, 0xfffffffc
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword fs:[0], esi
pop ecx
pop esi
add esp, 0x20
ret 8

Function at 0x10014282
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10023a8c]
jne 0x1001428c
repz ret
jmp fcn.100147ff