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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4a1060]
xor eax, esp
mov dword [esp + 0x78], eax
cmp dword [esp + 0x88], 4
push ebx
mov ebx, dword [esp + 0x98]
push esi
push edi
mov edi, dword [esp + 0x9c]
mov esi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
jl 0x452e4d
mov edi, str.Unrecognized_equation_type_for_pCAL_chunk
call fcn.00445fe0
push esi
lea edx, [esp + 0x38]
call fcn.004516c0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x452e6a
mov edi, str.pCAL:_invalid_keyword
call fcn.00445fe0
inc ecx
mov eax, edi
mov dword [esp + 0x1c], ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452e74
sub eax, edi
push ebp
mov ebp, dword [esp + 0x9c]
xor edx, edx
test ebp, ebp
setne dl
add eax, edx
mov dword [esp + 0x28], eax
lea eax, [eax + ecx + 0xa]
mov dword [esp + 0x10], eax
lea ecx, [ebp*4]
mov eax, esi
call fcn.00450cd0
xor ecx, ecx
mov dword [esp + 0x18], eax
test ebp, ebp
jle 0x452ef4
mov edx, ebx
sub edx, eax
mov edi, eax
mov dword [esp + 0x24], edx
jmp 0x452ec4
mov edx, dword [esp + 0x24]
mov eax, dword [edx + edi]
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452ed0
sub eax, ebx
xor ebx, ebx
lea edx, [ebp - 1]
cmp ecx, edx
setne bl
inc ecx
add edi, 4
add eax, ebx
add dword [esp + 0x10], eax
cmp ecx, ebp
mov dword [edi - 4], eax
jl 0x452ec0
mov ecx, dword [esp + 0x10]
push ecx
mov ebx, 0x7043414c
mov ecx, esi
call fcn.00450e10
add esp, 4
test esi, esi
je 0x452f37
mov edi, dword [esp + 0x20]
test edi, edi
jbe 0x452f37
mov eax, dword [esi + 0x58]
test eax, eax
je 0x453072
push edi
lea edx, [esp + 0x3c]
push edx
push esi
call eax
push esi
mov eax, edi
lea ecx, [esp + 0x48]
call fcn.00443380
add esp, 0x10
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x9c]
mov ecx, eax
sar ecx, 0x18
mov byte [esp + 0x2c], cl
mov edx, eax
sar edx, 0x10
mov ecx, eax
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x94]
sar ecx, 8
mov edx, eax
sar edx, 0x18
mov byte [esp + 0x2e], cl
mov byte [esp + 0x30], dl
mov ecx, eax
mov edx, eax
sar ecx, 0x10
sar edx, 8
mov byte [esp + 0x33], al
mov al, byte [esp + 0x98]
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x34], al
mov byte [esp + 0x35], bl
test esi, esi
je 0x452ff1
mov eax, dword [esi + 0x58]
test eax, eax
je 0x453072
push 0xa
lea ecx, [esp + 0x30]
push ecx
push esi
call eax
push esi
mov eax, 0xa
lea ecx, [esp + 0x3c]
call fcn.00443380
mov ebp, dword [esp + 0x2c]
add esp, 0x10
test ebp, ebp
je 0x452ff1
mov edi, dword [esp + 0x28]
test edi, edi
jbe 0x452ff1
mov eax, dword [esi + 0x58]
test eax, eax
je 0x453072
push edi
push ebp
push esi
call eax
push esi
mov eax, edi
mov ecx, ebp
call fcn.00443380
add esp, 0x10
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x453053
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x14], eax
jmp 0x453010
mov ebp, dword [eax + edi]
mov ebx, dword [edi]
test esi, esi
je 0x45303e
test ebx, ebx
je 0x45303e
test ebp, ebp
jbe 0x45303e
mov eax, dword [esi + 0x58]
test eax, eax
je 0x453072
push ebp
push ebx
push esi
call eax
push esi
mov eax, ebp
mov ecx, ebx
call fcn.00443380
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [esp + 0x10]
inc ecx
add edi, 4
cmp ecx, dword [esp + 0x9c]
mov dword [esp + 0x10], ecx
jl 0x453010
test esi, esi
je 0x4530c7
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x453084
mov eax, dword [esi + 0x258]
push ecx
test eax, eax
je 0x45307c
push esi
call eax
add esp, 8
jmp 0x453084
mov edi, str.Call_to_NULL_write_function
call fcn.00445fe0
call fcn.0045aabf
add esp, 4
mov eax, dword [esi + 0x138]
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x10], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x13], al
mov eax, dword [esi + 0x58]
shr ecx, 0x10
shr edx, 8
mov dword [esi + 0x2a4], 0x82
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], dl
test eax, eax
je 0x453072
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x88]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045a985
add esp, 0x7c
ret