Function at 0x10076ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10203960
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1044501c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.name
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call edx
test eax, eax
je 0x10076f26
lea ebx, [edi + 0x18]
mov edi, eax
call fcn.101f1dc0
mov eax, dword [0x104450ec]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0x102386f4
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call eax
test eax, eax
je 0x10076f8f
mov edi, eax
lea ebx, [esp + 0x28]
call fcn.101f1dc0
mov ecx, ebx
push ecx
push str.ST_CaptionPos
push 0xc000000
call fcn.10142ec0
push eax
call fcn.10142f50
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x1c], 0
mov ebx, eax
jne 0x10076f8a
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x1c], eax
mov edx, dword [edi + 0x1c]
mov dword [edx], ebx
mov eax, dword [0x104450ec]
mov dword [esp + 0x24], eax
mov byte [esp + 0x38], 1
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push str.chapNum
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call eax
test eax, eax
je 0x10076ff5
mov edi, eax
lea ebx, [esp + 0x24]
call fcn.101f1dc0
mov ecx, ebx
push ecx
push str.ST_OnOff
push 0xc000000
call fcn.10142ec0
push eax
call fcn.10142f50
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x20], 0
mov ebx, eax
jne 0x10076ff0
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x20], eax
mov edx, dword [edi + 0x20]
mov dword [edx], ebx
mov eax, dword [0x104450ec]
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 2
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push str.heading
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call eax
test eax, eax
je 0x10077031
mov edi, eax
lea ebx, [esp + 0x20]
call fcn.101f1dc0
mov ecx, ebx
push ecx
mov ecx, dword [esp + 0x14]
call sym.OOXMLDocument.dll_public:_void___thiscall_OOXML::SPREADSHEET::CDataBinding::SetFileBindingName_class_CHncStringW_const__
mov edx, dword [0x104450ec]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x38], 3
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.noLabel
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call edx
test eax, eax
je 0x10077098
mov edi, eax
lea ebx, [esp + 0x1c]
call fcn.101f1dc0
mov eax, ebx
push eax
push str.ST_OnOff
push 0xc000000
call fcn.10142ec0
push eax
call fcn.10142f50
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x28], 0
mov ebx, eax
jne 0x10077093
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x28], eax
mov ecx, dword [edi + 0x28]
mov dword [ecx], ebx
mov edx, dword [0x104450ec]
mov dword [esp + 0x18], edx
mov byte [esp + 0x38], 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.numFmt
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call edx
test eax, eax
je 0x100770ff
mov edi, eax
lea ebx, [esp + 0x18]
call fcn.101f1dc0
mov eax, ebx
push eax
push str.ST_NumberFormat
push 0xc000000
call fcn.10142ec0
push eax
call fcn.10142f50
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x2c], 0
mov ebx, eax
jne 0x100770fa
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x2c]
mov dword [ecx], ebx
mov edx, dword [0x104450ec]
mov dword [esp + 0x14], edx
mov byte [esp + 0x38], 5
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0x10237f8c
push str.http:__schemas.openxmlformats.org_wordprocessingml_2006_main
mov ecx, esi
call edx
test eax, eax
je 0x10077166
mov edi, eax
lea ebx, [esp + 0x14]
call fcn.101f1dc0
mov eax, ebx
push eax
push str.ST_ChapterSep
push 0xc000000
call fcn.10142ec0
push eax
call fcn.10142f50
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x30], 0
mov edi, eax
jne 0x10077161
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x30]
mov dword [ecx], edi
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x10077188
push esi
call edi
test eax, eax
jg 0x10077188
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x18]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x100771a4
push esi
call edi
test eax, eax
jg 0x100771a4
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x100771c0
push esi
call edi
test eax, eax
jg 0x100771c0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x20]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x100771dc
push esi
call edi
test eax, eax
jg 0x100771dc
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x24]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x100771f8
push esi
call edi
test eax, eax
jg 0x100771f8
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x28]
add esi, 0xfffffff4
cmp dword [esi], 0xfffffffe
je 0x10077214
push esi
call edi
test eax, eax
jg 0x10077214
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4