Function at 0x10008be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001666b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x10020008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
push 0x104
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x10008f4c
test edi, edi
je 0x10008f4c
cmp dword [ebp + 0x20], 0
je 0x10008c4f
or byte [esi + 0x7e], 1
mov eax, dword [ebx + 2]
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x20], 0
movzx edx, word [ebx + 6]
test edx, edx
je 0x10008c7e
lea ecx, [ebx + 8]
nop dword [eax]
cmp word [ecx], 0
jne 0x10008c7e
inc eax
add ecx, 2
cmp eax, edx
jl 0x10008c70
sub edx, eax
mov ecx, 0xff
cmp edx, ecx
push 0x104
cmovg edx, ecx
add eax, 4
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebx + eax*2]
call fcn.10008a70
lea ecx, [ebp - 0x11c]
add esp, 8
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008cb0
sub ecx, edx
push 0x10021b20
lea eax, [ecx + 1]
push eax
call fcn.100143d7
mov ecx, eax
add esp, 8
mov dword [esi + 0x64], ecx
test ecx, ecx
je 0x10008f4c
lea edx, [ebp - 0x11c]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10008ce0
movsx eax, word [edi]
sub eax, 1
je 0x10008da3
sub eax, 1
jne 0x10008dfc
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], eax
test byte [edi + 0x29], 0x20
je 0x10008d40
or byte [esi + 0x7e], 4
lea ecx, [edi + 0xa8]
mov edx, dword [ecx]
mov eax, edx
mov ebx, dword [ecx + 4]
or eax, ebx
je 0x10008d72
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], ebx
push ecx
jmp 0x10008d62
mov ecx, dword [edi + 0x58]
lea ebx, [edi + 0x58]
mov edx, dword [ebx + 4]
mov eax, ecx
or eax, edx
jne 0x10008d5b
mov eax, dword [edi + 0x64]
mov ecx, 0x1000
mul ecx
mov ecx, eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
push ebx
push dword [ebp - 0x120]
mov ecx, esi
call fcn.10009030
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x78], eax
movzx eax, word [ebp + 0x14]
mov dword [esi + 0x5c], eax
mov eax, 0x20
mov word [esi + 0x7c], ax
cmp dword [edi + 0x30], 0x66647270
jne 0x10008dfc
or byte [esi + 0x7e], 2
jmp 0x10008df3
or byte [esi + 0x7e], 2
mov eax, dword [edi + 8]
cmp eax, 1
je 0x10008dfc
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov eax, dword [edi + 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x78], eax
movzx eax, word [ebp + 0x14]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], eax
mov eax, 0x10
mov word [esi + 0x7c], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test eax, eax
je 0x10008e10
mov eax, 0x800
or word [esi + 0x7c], ax
push 0x60
call fcn.10014070
mov edi, eax
add esp, 4
mov dword [ebp - 0x128], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.IFileProperties.0
mov byte [edi + 8], 0
mov dword [edi + 4], 1
mov byte [ebp - 4], 1
mov dword [edi], vtable.HFSPlusFileProperties.0
mov dword [edi + 0xc], esi
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov byte [edi + 0x10], 0
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [edi + 0x54], 0
mov eax, dword [esi]
call dword [eax + 0x38]
neg eax
mov ecx, esi
sbb eax, eax
neg eax
mov word [edi + 0x50], ax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
lea edx, [eax + 1]
mov dword [ebp - 0x120], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10008e87
sub eax, dword [ebp - 0x120]
push eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1000a390
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov dword [edi + 0x28], eax
mov ecx, esi
mov dword [edi + 0x2c], edx
mov eax, dword [esi]
call dword [eax + 0x24]
mov word [edi + 0x30], ax
lea ecx, [ebp - 0x130]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [eax]
mov dword [edi + 0x34], ecx
lea ecx, [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [edi + 0x38], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [eax]
mov dword [edi + 0x3c], ecx
lea ecx, [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [edi + 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x10008f35
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
lea edx, [ebp - 0x14c]
movlpd qword [ebp - 0x124], xmm0
call fcn.10011d60
mov dword [edi + 0x4c], eax
add esp, 4
mov eax, dword [edi + 0xc]
jmp 0x10008f3c
mov dword [edi + 0x4c], 0
mov al, byte [eax + 0x7e]
mov byte [edi + 0x58], al
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10013d1c
mov esp, ebp
pop ebp
ret 0x1c