Function at 0x10049f80
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164aff
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
lea esi, [edi + 0xc]
mov dword [edi], vtable.Datafile.0
mov dword [edi + 8], eax
push ebx
mov dword [esi], ebx
call fcn.100163a0
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x10], ebx
mov eax, dword [ecx]
mov dword [edi + 0x10], eax
inc dword [eax - 0xc]
mov dword [edi + 0x14], ebx
mov edx, dword [0x10196680]
mov dword [edi + 0x18], edx
mov eax, dword [0x10196684]
mov dword [edi + 0x1c], eax
mov ecx, dword [0x10196688]
mov dword [edi + 0x20], ecx
mov edx, dword [0x1019668c]
mov dword [edi + 0x24], edx
mov word [edi + 0x28], bx
mov dword [edi + 0x2c], ebx
or esi, 0xffffffff
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], ebx
mov byte [edi + 0x3c], bl
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
fld qword [0x10448f30]
fstp qword [edi + 0x48]
fldz
fst qword [edi + 0x50]
fst qword [edi + 0x58]
fstp qword [edi + 0x60]
mov byte [edi + 0x68], bl
fld qword [0x10448f30]
fstp qword [edi + 0x70]
fld qword [0x10448f30]
fstp qword [edi + 0x78]
mov byte [edi + 0x80], bl
fld qword [0x10448f30]
fstp qword [edi + 0x88]
fld qword [0x10448f30]
fstp qword [edi + 0x90]
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], esi
mov ecx, dword [eax]
cmp dword [ecx - 4], ebx
je 0x1004a18b
push ebx
push ebx
push ebx
lea esi, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
call fcn.100163a0
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 8]
add eax, 0xfffffff4
dec dword [eax]
jne 0x1004a0b3
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esi + 0xc]
inc dword [eax - 0xc]
inc dword [eax - 0xc]
lea esi, [eax - 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.10017430
mov eax, dword [edi + 0xc]
sub eax, 0xc
dec dword [eax]
jne 0x1004a0e9
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
inc dword [eax - 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1004a111
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1004a111
add eax, 0xfffffff4
dec dword [eax]
jne 0x1004a111
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1004a12f
add eax, 0xfffffff4
je 0x1004a12f
dec dword [esi]
jne 0x1004a12f
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [edi + 0xc]
mov edx, dword [eax - 4]
movzx eax, word [eax + edx*2 - 2]
lea ecx, [edi + 0xc]
cmp eax, 0x5c
je 0x1004a152
cmp eax, 0x2f
je 0x1004a152
push ecx
mov eax, 0x10197e18
call fcn.10016730
lea eax, [edi + 0xc]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
call fcn.10016730
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1004a20d
add eax, 0xfffffff4
je 0x1004a20d
dec dword [esi]
jne 0x1004a20d
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1004a20d
lea ecx, [ebp + 0xc]
push ecx
mov edx, str.gdbtable
mov ecx, 0x10414ac0
call fcn.10023c10
add esp, 4
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 8
call fcn.10017430
mov eax, dword [edi + 0xc]
sub eax, 0xc
add dword [eax], esi
jne 0x1004a1c2
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
inc dword [eax - 0xc]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1004a1ea
lea edx, [eax - 0xc]
test edx, edx
je 0x1004a1ea
add eax, 0xfffffff4
add dword [eax], esi
jne 0x1004a1ea
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1004a209
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1004a209
add eax, 0xfffffff4
add dword [eax], esi
jne 0x1004a209
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov byte [edi + 0x28], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10