Function at 0x436210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push esi
push edi
mov edi, ecx
call fcn.00486adc
lea ecx, [esp + 0x78]
call fcn.004451e0
mov eax, dword [edi + 0x94]
push 0
push eax
mov dword [esp + 0xe4], 0
call fcn.004446d0
push eax
lea ecx, [esp + 0x7c]
call fcn.00445930
test eax, eax
je 0x436292
mov edx, dword [edi + 0x370]
lea esi, [edi + 0x36c]
push edx
lea eax, [edi + 0x458]
mov edx, dword [esi]
lea ecx, [edi + 0x3fc]
push edx
push eax
push ecx
lea ecx, [esp + 0x88]
call fcn.0044c1c0
test eax, eax
jne 0x4362cd
push 0
push 0
push str.Template_operation_mistake
mov ecx, edi
call fcn.00484da0
lea ecx, [esp + 0x78]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004453d0
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
add esp, 0xd8
ret
mov eax, dword [edi + 0x94]
push ebx
push ebp
push eax
call dword [0x4a91f8]
mov ecx, dword [esp + 0x80]
push 0
push ecx
call fcn.00444800
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x94], eax
push edx
call dword [0x4a9738]
push eax
call fcn.0048a350
lea ecx, [esp + 0x3c]
mov ebp, eax
call fcn.0048a2ae
test ebp, ebp
mov byte [esp + 0xe4], 1
jne 0x43631c
xor eax, eax
jmp 0x43631f
mov eax, dword [ebp + 4]
push eax
call dword [0x4a91e0]
push eax
lea ecx, [esp + 0x40]
call fcn.0048a365
mov eax, dword [edi + 0x94]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call dword [0x4a91e4]
mov ecx, dword [edi + 0x78]
mov edx, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x74]
neg eax
push eax
lea eax, [esp + 0x14]
neg ecx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov edx, esi
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [edi + 0x80]
fcomp qword [0x4aa6f8]
fnstsw ax
test ah, 1
mov eax, dword [edx]
jne 0x4363bc
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [edi + 0x80]
fadd qword [0x4aa708]
jmp 0x4363e3
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [edi + 0x80]
fsub qword [0x4aa708]
call fcn.00470a50
mov edx, esi
mov dword [esp + 0x38], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
sub eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [edx + 0xc]
fild dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, esi
fmul qword [edi + 0x80]
mov ecx, dword [edx]
fcomp qword [0x4aa6f8]
fnstsw ax
test ah, 1
mov eax, dword [edx + 4]
jne 0x43644b
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
sub eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x2c], edx
fmul qword [edi + 0x80]
fadd qword [0x4aa708]
jmp 0x43646f
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
sub eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x2c], edx
fmul qword [edi + 0x80]
fsub qword [0x4aa708]
call fcn.00470a50
mov dword [esp + 0x34], eax
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
fmul qword [edi + 0x80]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fcomp qword [0x4aa6f8]
fnstsw ax
test ah, 1
mov eax, esi
mov ecx, dword [eax]
jne 0x4364db
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
fmul qword [edi + 0x80]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fadd qword [0x4aa708]
jmp 0x436504
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
fmul qword [edi + 0x80]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fsub qword [0x4aa708]
call fcn.00470a50
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
fmul qword [edi + 0x80]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
fcomp qword [0x4aa6f8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fnstsw ax
test ah, 1
mov eax, esi
mov ecx, dword [eax]
jne 0x436570
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
fmul qword [edi + 0x80]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fadd qword [0x4aa708]
jmp 0x436599
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
fmul qword [edi + 0x80]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
fsub qword [0x4aa708]
call fcn.00470a50
mov dword [esp + 0x10], eax
mov eax, esi
push 0xcc0020
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x70], eax
mov eax, esi
mov ebx, dword [eax]
mov dword [esp + 0x54], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ebx
mov ebx, dword [esi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x78]
sub ecx, esi
mov dword [esp + 0x2c], ebx
mov esi, ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
sub edx, ecx
lea ecx, [esp + 0x40]
push esi
neg ecx
push edx
mov edx, dword [esp + 0x60]
sbb ecx, ecx
push edx
mov edx, dword [esp + 0x40]
and ecx, ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [0x4a91c4]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push edx
push eax
call dword [0x4a91e4]
lea ecx, [esp + 0x3c]
call fcn.0048a3cd
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x1c]
push ecx
push edx
call dword [0x4a9740]
lea ecx, [edi + 0x3fc]
call fcn.004458a0
lea ecx, [edi + 0x458]
call fcn.004458a0
mov ecx, edi
call fcn.00486af1
mov byte [esp + 0xe4], 0
lea ecx, [esp + 0x3c]
call fcn.0048a3e3
lea ecx, [esp + 0x80]
mov dword [esp + 0xe4], 0xffffffff
call fcn.004453d0
mov ecx, dword [esp + 0xdc]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xd8
ret